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

Unified Diff: Source/core/inspector/InspectorPageAgent.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 | « no previous file | Source/core/inspector/InspectorPageAgent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorPageAgent.h
diff --git a/Source/core/inspector/InspectorPageAgent.h b/Source/core/inspector/InspectorPageAgent.h
index c0e69744ca5bb8e590ac9691f151badb6f4f63c2..b5b81c61410a86b13aeda54cad1bb1674a8979e1 100644
--- a/Source/core/inspector/InspectorPageAgent.h
+++ b/Source/core/inspector/InspectorPageAgent.h
@@ -78,8 +78,6 @@ public:
virtual void setContinuousPaintingEnabled(bool) { }
virtual void setShowScrollBottleneckRects(bool) { }
virtual bool overridesShowPaintRects() { return false; }
- virtual void setDeviceMetricsOverride(int /*width*/, int /*height*/, float /*deviceScaleFactor*/, bool /*mobile*/, bool /*fitWindow*/, float /* scale */, float /* offsetX */, float /* offsetY */) { }
- virtual void clearDeviceMetricsOverride() { }
virtual void setTouchEventEmulationEnabled(bool) { }
};
@@ -125,8 +123,6 @@ public:
void getResourceContent(ErrorString*, const String& frameId, const String& url, PassRefPtrWillBeRawPtr<GetResourceContentCallback>) override;
void searchInResource(ErrorString*, const String& frameId, const String& url, const String& query, const bool* optionalCaseSensitive, const bool* optionalIsRegex, RefPtr<TypeBuilder::Array<TypeBuilder::Debugger::SearchMatch>>&) override;
void setDocumentContent(ErrorString*, const String& frameId, const String& html) override;
- void setDeviceMetricsOverride(ErrorString*, int width, int height, double deviceScaleFactor, bool mobile, bool fitWindow, const double* optionalScale, const double* optionalOffsetX, const double* optionalOffsetY) override;
- void clearDeviceMetricsOverride(ErrorString*) override;
void resetScrollAndPageScaleFactor(ErrorString*) override;
void setPageScaleFactor(ErrorString*, double pageScaleFactor) override;
void setShowPaintRects(ErrorString*, bool show) override;
@@ -190,9 +186,6 @@ private:
class GetResourceContentLoadListener;
InspectorPageAgent(Page*, InjectedScriptManager*, Client*, InspectorOverlay*);
- bool deviceMetricsChanged(bool enabled, int width, int height, double deviceScaleFactor, bool mobile, bool fitWindow, double scale, double offsetX, double offsetY);
- void updateViewMetricsFromState();
- void updateViewMetrics(bool enabled, int width, int height, double deviceScaleFactor, bool mobile, bool fitWindow, double scale, double offsetX, double offsetY);
void updateTouchEventEmulationInPage(bool);
bool compositingEnabled(ErrorString*);
« no previous file with comments | « no previous file | Source/core/inspector/InspectorPageAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698