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

Unified Diff: Source/web/DevToolsEmulator.h

Issue 1003243002: [DevTools] Cleanup after reversing emulation flow. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased 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 | « Source/devtools/protocol.json ('k') | Source/web/DevToolsEmulator.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/DevToolsEmulator.h
diff --git a/Source/web/DevToolsEmulator.h b/Source/web/DevToolsEmulator.h
index 94f03155fd3e9bc034c3eece21e6da331a8a78c0..0180b340359353ae501eb5d429e1fe01f709ccaf 100644
--- a/Source/web/DevToolsEmulator.h
+++ b/Source/web/DevToolsEmulator.h
@@ -11,7 +11,6 @@
namespace blink {
class IntPoint;
-class WebDevToolsAgentImpl;
class WebInputEvent;
class WebViewImpl;
@@ -22,19 +21,12 @@ public:
explicit DevToolsEmulator(WebViewImpl*);
~DevToolsEmulator();
- // FIXME(dgozman): remove this after reversing emulation flow.
- void setDevToolsAgent(WebDevToolsAgentImpl*);
-
// Settings overrides.
void setTextAutosizingEnabled(bool);
void setDeviceScaleAdjustment(float);
void setPreferCompositingToLCDTextEnabled(bool);
void setUseMobileViewportStyle(bool);
- // FIXME(dgozman): remove this after reversing emulation flow.
- void setDeviceMetricsOverride(int width, int height, float deviceScaleFactor, bool mobile, bool fitWindow, float scale, float offsetX, float offsetY);
- void clearDeviceMetricsOverride();
-
// Emulation.
void enableDeviceEmulation(const WebDeviceEmulationParams&);
void disableDeviceEmulation();
@@ -46,12 +38,7 @@ private:
void enableMobileEmulation();
void disableMobileEmulation();
- // FIXME(dgozman): remove this after reversing emulation flow.
- void enableDeviceEmulationInner(const WebDeviceEmulationParams&);
- void disableDeviceEmulationInner();
-
WebViewImpl* m_webViewImpl;
- WebDevToolsAgentImpl* m_devToolsAgent;
bool m_deviceMetricsEnabled;
bool m_emulateMobileEnabled;
bool m_originalViewportEnabled;
@@ -70,9 +57,6 @@ private:
int m_originalMaxTouchPoints;
OwnPtr<IntPoint> m_lastPinchAnchorCss;
OwnPtr<IntPoint> m_lastPinchAnchorDip;
-
- // FIXME(dgozman): remove this after reversing emulation flow.
- bool m_ignoreSetOverrides;
};
} // namespace blink
« no previous file with comments | « Source/devtools/protocol.json ('k') | Source/web/DevToolsEmulator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698