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

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

Issue 2732643003: DevTools: remove PerformanceMonitor::HandlerCall, migrate to the new scoped probes. (Closed)
Patch Set: Introduce progress monitor Created 3 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
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 e336bfe5609889826d4e56bc111fe16e8bc4c3ce..9a02f3fb1cff7d98ba66797ea9d0375f26b3d201 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorPageAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorPageAgent.h
@@ -44,6 +44,7 @@ namespace blink {
namespace probe {
class RecalculateStyle;
+class UpdateLayout;
}
class Resource;
@@ -157,8 +158,10 @@ class CORE_EXPORT InspectorPageAgent final
void frameClearedScheduledNavigation(LocalFrame*);
void willRunJavaScriptDialog(const String& message, ChromeClient::DialogType);
void didRunJavaScriptDialog(bool result);
- void didUpdateLayout();
void didResizeMainFrame();
+ void didChangeViewport();
+ void will(const probe::UpdateLayout&);
+ void did(const probe::UpdateLayout&);
void will(const probe::RecalculateStyle&);
void did(const probe::RecalculateStyle&);
void windowCreated(LocalFrame*);
@@ -194,6 +197,8 @@ class CORE_EXPORT InspectorPageAgent final
bool withBase64Encode,
String* result);
+ void pageLayoutInvalidated(bool resized);
+
std::unique_ptr<protocol::Page::Frame> buildObjectForFrame(LocalFrame*);
std::unique_ptr<protocol::Page::FrameResourceTree> buildObjectForFrameTree(
LocalFrame*);

Powered by Google App Engine
This is Rietveld 408576698