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

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

Issue 2438023003: devtools: Adds Page.getLayoutMetrics. (Closed)
Patch Set: address comments. Created 4 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
Index: third_party/WebKit/Source/core/inspector/InspectorPageAgent.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorPageAgent.h b/third_party/WebKit/Source/core/inspector/InspectorPageAgent.h
index 99c77e635ea23f71d1df154f3371eaac09c94d0c..d437084d10e2b224b5aa5c02596e68528d03092b 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorPageAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorPageAgent.h
@@ -144,6 +144,10 @@ class CORE_EXPORT InspectorPageAgent final
const Maybe<String>& message) override;
void setBlockedEventsWarningThreshold(ErrorString*,
double threshold) override;
+ void getLayoutMetrics(
+ ErrorString*,
+ std::unique_ptr<protocol::Page::LayoutViewport>*,
+ std::unique_ptr<protocol::Page::VisualViewport>*) override;
// InspectorInstrumentation API
void didClearDocumentOfWindowObject(LocalFrame*);

Powered by Google App Engine
This is Rietveld 408576698