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

Unified Diff: content/browser/devtools/protocol/emulation_handler.h

Issue 2590293003: [DevTools] Rework DevToolsSession interaction with domain handlers. (Closed)
Patch Set: includes Created 4 years 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
Index: content/browser/devtools/protocol/emulation_handler.h
diff --git a/content/browser/devtools/protocol/emulation_handler.h b/content/browser/devtools/protocol/emulation_handler.h
index b5ff16927cdc0afc258e447084395bf657a4c66c..2cd97be310da367afe7a02a50a7d4278f9fdbeff 100644
--- a/content/browser/devtools/protocol/emulation_handler.h
+++ b/content/browser/devtools/protocol/emulation_handler.h
@@ -6,6 +6,7 @@
#define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_EMULATION_HANDLER_H_
#include "base/macros.h"
+#include "content/browser/devtools/protocol/devtools_domain_handler.h"
#include "content/browser/devtools/protocol/emulation.h"
#include "third_party/WebKit/public/web/WebDeviceEmulationParams.h"
@@ -16,13 +17,14 @@ class WebContentsImpl;
namespace protocol {
-class EmulationHandler : public Emulation::Backend {
+class EmulationHandler : public DevToolsDomainHandler,
+ public Emulation::Backend {
public:
EmulationHandler();
~EmulationHandler() override;
- void SetRenderFrameHost(RenderFrameHostImpl* host);
- void Wire(UberDispatcher*);
+ void Wire(UberDispatcher* dispatcher) override;
+ void SetRenderFrameHost(RenderFrameHostImpl* host) override;
Response Disable() override;
Response SetGeolocationOverride(Maybe<double> latitude,
« no previous file with comments | « content/browser/devtools/protocol/dom_handler.cc ('k') | content/browser/devtools/protocol/emulation_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698