DevTools: Selectively apply devtools_compatibility.js for remote version
DevTools: Selectively apply devtools_compatibility.js for remote version

This patch uses the remoteVersion of the devtools being run to apply
only the fixes that are needed.

Additionally, use of the /deep/ selector is swapped out for injecting
a stylesheet in every shadow root.

Bug: 898245
Change-Id: I311ab48d88434d821fedb279d81b2ab9a7f8c94d
Reviewed-on: https://chromium-review.googlesource.com/c/1299914
Reviewed-by: Dmitry Gozman <0ca14b32cbb359a30ac562af27dd84cc2813eacb@chromium.org>
Commit-Queue: Joel Einbinder <bab755abe9fee48fe544272e55f73517d4e4a725@chromium.org>
Cr-Original-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#603733}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 89ed1da2c8dde2a5c415fb5688c05b7bcfc7cf94
ChromeDevTools/devtools-frontend,dart-archive/devtools-frontend,dart-archive/devtools-frontend,dart-archive/devtools-frontend,dart-archive/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,dart-archive/devtools-frontend,dart-archive/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend