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

Unified Diff: Source/core/inspector/InspectorPageAgent.h

Issue 351303003: [DevTools] Switch from DIP to CSS pixels in device mode. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed comments Created 6 years, 6 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/core/inspector/InspectorController.cpp ('k') | 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 bbcc100ecf8882935e05cdf04bdf1adc6e500176..b7f689cb8d404fcc8729d9bca34074a7d542c18a 100644
--- a/Source/core/inspector/InspectorPageAgent.h
+++ b/Source/core/inspector/InspectorPageAgent.h
@@ -162,6 +162,7 @@ public:
String scriptPreprocessorSource() { return m_scriptPreprocessorSource; }
const AtomicString& resourceSourceMapURL(const String& url);
bool deviceMetricsOverrideEnabled();
+ void deviceOrPageScaleFactorChanged();
static DocumentLoader* assertDocumentLoader(ErrorString*, LocalFrame*);
InspectorResourceContentLoader* resourceContentLoader() { return m_inspectorResourceContentLoader.get(); }
void clearEditedResourcesContent();
@@ -182,6 +183,8 @@ private:
static bool dataContent(const char* data, unsigned size, const String& textEncodingName, bool withBase64Encode, String* result);
+ void viewportChanged();
+
PassRefPtr<TypeBuilder::Page::Frame> buildObjectForFrame(LocalFrame*);
PassRefPtr<TypeBuilder::Page::FrameResourceTree> buildObjectForFrameTree(LocalFrame*);
Page* m_page;
« no previous file with comments | « Source/core/inspector/InspectorController.cpp ('k') | Source/core/inspector/InspectorPageAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698