Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(773)

Unified Diff: content/renderer/devtools/devtools_client.h

Issue 1144393004: [DevTools] Load DevTools frontend without iframe (chromium part). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove-test
Patch Set: Addressed review comments Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/devtools/devtools_agent.cc ('k') | content/renderer/devtools/devtools_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/devtools/devtools_client.h
diff --git a/content/renderer/devtools/devtools_client.h b/content/renderer/devtools/devtools_client.h
index 6460ca83c7303a72f192bef56df5cda2281079f6..764714c1fe2aa37b6ce160de747a5ea0c28148ae 100644
--- a/content/renderer/devtools/devtools_client.h
+++ b/content/renderer/devtools/devtools_client.h
@@ -29,10 +29,14 @@ class CONTENT_EXPORT DevToolsClient
: public RenderFrameObserver,
NON_EXPORTED_BASE(public blink::WebDevToolsFrontendClient) {
public:
- explicit DevToolsClient(RenderFrame* main_render_frame);
+ DevToolsClient(RenderFrame* main_render_frame,
+ const std::string& compatibility_script);
virtual ~DevToolsClient();
private:
+ // RenderFrameObserver overrides.
+ void DidClearWindowObject() override;
+
// WebDevToolsFrontendClient implementation.
virtual void sendMessageToBackend(const blink::WebString&) override;
virtual void sendMessageToEmbedder(const blink::WebString&) override;
@@ -43,6 +47,7 @@ class CONTENT_EXPORT DevToolsClient
uint32 total_size);
scoped_ptr<blink::WebDevToolsFrontend> web_tools_frontend_;
+ std::string compatibility_script_;
DISALLOW_COPY_AND_ASSIGN(DevToolsClient);
};
« no previous file with comments | « content/renderer/devtools/devtools_agent.cc ('k') | content/renderer/devtools/devtools_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698