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

Unified Diff: Source/web/WebDevToolsAgentImpl.h

Issue 23187005: [DevTools] Use device metrics emulation implemented in content. (Closed) Base URL: svn://svn.chromium.org/blink/trunk/
Patch Set: Another rebase Created 7 years, 2 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 | « Source/web/InspectorClientImpl.cpp ('k') | Source/web/WebDevToolsAgentImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebDevToolsAgentImpl.h
diff --git a/Source/web/WebDevToolsAgentImpl.h b/Source/web/WebDevToolsAgentImpl.h
index afa0b9f3412946bb74ed9ec8bcb1236f6263e3cb..001590df11bb4258e4d4a7fffd2283f2e38ffe00 100644
--- a/Source/web/WebDevToolsAgentImpl.h
+++ b/Source/web/WebDevToolsAgentImpl.h
@@ -54,7 +54,6 @@ class PlatformKeyboardEvent;
namespace WebKit {
-class DeviceMetricsSupport;
class WebDevToolsAgentClient;
class WebFrame;
class WebFrameImpl;
@@ -77,8 +76,6 @@ public:
// WebDevToolsAgentPrivate implementation.
virtual void didCreateScriptContext(WebFrameImpl*, int worldId);
- virtual void mainFrameViewCreated(WebFrameImpl*);
- virtual bool metricsOverridden();
virtual void webViewResized(const WebSize&);
virtual bool handleInputEvent(WebCore::Page*, const WebInputEvent&);
@@ -107,7 +104,6 @@ public:
virtual void clearBrowserCookies();
virtual void overrideDeviceMetrics(int width, int height, float fontScaleFactor, bool fitWindow);
- virtual void autoZoomPageToFitWidth();
virtual void getAllocatedObjects(HashSet<const void*>&);
virtual void dumpUncountedAllocatedObjects(const HashMap<const void*, size_t>&);
@@ -133,7 +129,8 @@ private:
WebDevToolsAgentClient* m_client;
WebViewImpl* m_webViewImpl;
bool m_attached;
- OwnPtr<DeviceMetricsSupport> m_metricsSupport;
+ bool m_deviceMetricsEnabled;
+ bool m_isOverlayScrollbarsEnabled;
};
} // namespace WebKit
« no previous file with comments | « Source/web/InspectorClientImpl.cpp ('k') | Source/web/WebDevToolsAgentImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698