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

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

Issue 2590293003: [DevTools] Rework DevToolsSession interaction with domain handlers. (Closed)
Patch Set: addressed comments 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.cc
diff --git a/content/browser/devtools/protocol/emulation_handler.cc b/content/browser/devtools/protocol/emulation_handler.cc
index 7718aadb3f2b5e9d549e75c4b36dca83303cbeb5..764dc5edbbee6fbc846b271b0060645062f932b3 100644
--- a/content/browser/devtools/protocol/emulation_handler.cc
+++ b/content/browser/devtools/protocol/emulation_handler.cc
@@ -55,7 +55,8 @@ ui::GestureProviderConfigType TouchEmulationConfigurationToType(
} // namespace
EmulationHandler::EmulationHandler()
- : touch_emulation_enabled_(false),
+ : DevToolsDomainHandler(Emulation::Metainfo::domainName),
+ touch_emulation_enabled_(false),
device_emulation_enabled_(false),
host_(nullptr) {
}

Powered by Google App Engine
This is Rietveld 408576698