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

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

Issue 1003113003: [DevTools] Handle emulation in embedder, call into web API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: content/renderer/devtools/devtools_agent.h
diff --git a/content/renderer/devtools/devtools_agent.h b/content/renderer/devtools/devtools_agent.h
index 8e0502fd96e90acf3f9d79df6319b274d992158a..931e643ce7c7a8a306a23d86f7be1d4fa4c2e106 100644
--- a/content/renderer/devtools/devtools_agent.h
+++ b/content/renderer/devtools/devtools_agent.h
@@ -13,6 +13,7 @@
#include "content/public/common/console_message_level.h"
#include "content/public/renderer/render_frame_observer.h"
#include "third_party/WebKit/public/web/WebDevToolsAgentClient.h"
+#include "third_party/WebKit/public/web/WebDeviceEmulationParams.h"
namespace blink {
class WebDevToolsAgent;
@@ -86,6 +87,8 @@ class DevToolsAgent : public RenderFrameObserver,
const std::string& message);
void ContinueProgram();
void OnSetupDevToolsClient();
+ void OnEnableDeviceEmulation(const blink::WebDeviceEmulationParams& params);
+ void OnDisableDeviceEmulation();
RenderViewImpl* GetRenderViewImpl();

Powered by Google App Engine
This is Rietveld 408576698