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

Unified Diff: content/public/renderer/render_frame_observer.h

Issue 1846143003: Propogate loading behavior data from Blink to content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: japhet@ review Created 4 years, 8 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 | content/renderer/render_frame_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/renderer/render_frame_observer.h
diff --git a/content/public/renderer/render_frame_observer.h b/content/public/renderer/render_frame_observer.h
index ea2ba2b7035df6252c77e9ba80eb75620c01f59b..bf7c6eee7a7c83761e2b36af34ad002b88bee9e9 100644
--- a/content/public/renderer/render_frame_observer.h
+++ b/content/public/renderer/render_frame_observer.h
@@ -13,6 +13,7 @@
#include "content/common/content_export.h"
#include "ipc/ipc_listener.h"
#include "ipc/ipc_sender.h"
+#include "third_party/WebKit/public/platform/WebLoadingBehaviorFlag.h"
#include "third_party/WebKit/public/platform/WebVector.h"
#include "third_party/WebKit/public/web/WebMeaningfulLayout.h"
#include "v8/include/v8.h"
@@ -112,6 +113,11 @@ class CONTENT_EXPORT RenderFrameObserver : public IPC::Listener,
// Notifications when |PerformanceTiming| data becomes available
virtual void DidChangePerformanceTiming() {}
+ // Notification when the renderer uses a particular code path during a page
+ // load. This is used for metrics collection.
+ virtual void DidObserveLoadingBehavior(
+ blink::WebLoadingBehaviorFlag behavior) {}
+
// Called when the focused node has changed to |node|.
virtual void FocusedNodeChanged(const blink::WebNode& node) {}
« no previous file with comments | « no previous file | content/renderer/render_frame_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698