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

Unified Diff: content/renderer/devtools/devtools_agent.cc

Issue 1003113003: [DevTools] Handle emulation in embedder, call into web API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix tests and mac popups compilation Created 5 years, 9 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.h ('k') | content/renderer/external_popup_menu.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/devtools/devtools_agent.cc
diff --git a/content/renderer/devtools/devtools_agent.cc b/content/renderer/devtools/devtools_agent.cc
index 57f4337919356cecb1d7eba7c24b831f0af23270..dca9b863cdd5ec42adb8fe858455618bfd1dcf2b 100644
--- a/content/renderer/devtools/devtools_agent.cc
+++ b/content/renderer/devtools/devtools_agent.cc
@@ -201,15 +201,6 @@ void DevToolsAgent::TraceEventCallbackWrapper(
}
}
-void DevToolsAgent::enableDeviceEmulation(
- const blink::WebDeviceEmulationParams& params) {
- GetRenderViewImpl()->EnableScreenMetricsEmulation(params);
-}
-
-void DevToolsAgent::disableDeviceEmulation() {
- GetRenderViewImpl()->DisableScreenMetricsEmulation();
-}
-
// static
DevToolsAgent* DevToolsAgent::FromRoutingId(int routing_id) {
IdToAgentMap::iterator it = g_agent_for_routing_id.Get().find(routing_id);
« no previous file with comments | « content/renderer/devtools/devtools_agent.h ('k') | content/renderer/external_popup_menu.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698