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

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: Updated comments from self 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
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..44e26373b1d54dc75a3a2f359d6d21194b3cfc91 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 an particular code path during a page
Charlie Harrison 2016/04/06 14:24:51 s/an/a/
+ // 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') | third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698