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

Side by Side 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: Created 7 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 virtual void didNavigate(); 89 virtual void didNavigate();
90 virtual void didBeginFrame(); 90 virtual void didBeginFrame();
91 virtual void didCancelFrame(); 91 virtual void didCancelFrame();
92 virtual void willComposite(); 92 virtual void willComposite();
93 virtual void didComposite(); 93 virtual void didComposite();
94 virtual void dispatchOnInspectorBackend(const WebString& message); 94 virtual void dispatchOnInspectorBackend(const WebString& message);
95 virtual void inspectElementAt(const WebPoint& point); 95 virtual void inspectElementAt(const WebPoint& point);
96 virtual void evaluateInWebInspector(long callId, const WebString& script); 96 virtual void evaluateInWebInspector(long callId, const WebString& script);
97 virtual void setProcessId(long); 97 virtual void setProcessId(long);
98 virtual void setLayerTreeId(int); 98 virtual void setLayerTreeId(int);
99 virtual void setDeviceEmulationScales(bool enabled, float deviceScaleFactor, float rootLayerScale);
99 100
100 // InspectorClient implementation. 101 // InspectorClient implementation.
101 virtual void highlight(); 102 virtual void highlight();
102 virtual void hideHighlight(); 103 virtual void hideHighlight();
103 virtual void updateInspectorStateCookie(const WTF::String&); 104 virtual void updateInspectorStateCookie(const WTF::String&);
104 virtual bool sendMessageToFrontend(const WTF::String&); 105 virtual bool sendMessageToFrontend(const WTF::String&);
105 106
106 virtual void clearBrowserCache(); 107 virtual void clearBrowserCache();
107 virtual void clearBrowserCookies(); 108 virtual void clearBrowserCookies();
108 109
(...skipping 17 matching lines...) Expand all
126 virtual void willProcessTask(); 127 virtual void willProcessTask();
127 virtual void didProcessTask(); 128 virtual void didProcessTask();
128 129
129 WebCore::InspectorController* inspectorController(); 130 WebCore::InspectorController* inspectorController();
130 WebCore::Frame* mainFrame(); 131 WebCore::Frame* mainFrame();
131 132
132 int m_hostId; 133 int m_hostId;
133 WebDevToolsAgentClient* m_client; 134 WebDevToolsAgentClient* m_client;
134 WebViewImpl* m_webViewImpl; 135 WebViewImpl* m_webViewImpl;
135 bool m_attached; 136 bool m_attached;
137 bool m_isCSSViewportEnabled;
138 bool m_isOverlayScrollbarsEnabled;
139 bool m_deviceMetricsEnabled;
136 OwnPtr<DeviceMetricsSupport> m_metricsSupport; 140 OwnPtr<DeviceMetricsSupport> m_metricsSupport;
137 }; 141 };
138 142
139 } // namespace WebKit 143 } // namespace WebKit
140 144
141 #endif 145 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698