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

Unified Diff: components/html_viewer/html_frame.h

Issue 1278673002: Add stats collection for telemetry startup.warm.blank_page test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update comment. Created 5 years, 4 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 | « components/html_viewer/html_document_oopif.cc ('k') | components/html_viewer/html_frame.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/html_viewer/html_frame.h
diff --git a/components/html_viewer/html_frame.h b/components/html_viewer/html_frame.h
index d1e4e6c5097ed76bea371ddff830e03183958356..a293ba31d74d31382fcb526efa77123bbf5f1bce 100644
--- a/components/html_viewer/html_frame.h
+++ b/components/html_viewer/html_frame.h
@@ -13,6 +13,7 @@
#include "components/html_viewer/replicated_frame_state.h"
#include "components/view_manager/public/cpp/view_observer.h"
#include "mandoline/tab/public/interfaces/frame_tree.mojom.h"
+#include "mojo/services/tracing/public/interfaces/tracing.mojom.h"
#include "third_party/WebKit/public/platform/WebURLRequest.h"
#include "third_party/WebKit/public/web/WebFrameClient.h"
#include "third_party/WebKit/public/web/WebRemoteFrameClient.h"
@@ -25,6 +26,7 @@ class WebFrame;
}
namespace mojo {
+class ApplicationImpl;
class Rect;
class ScopedViewPtr;
class View;
@@ -167,6 +169,7 @@ class HTMLFrame : public blink::WebFrameClient,
virtual blink::WebCookieJar* cookieJar(blink::WebLocalFrame* frame);
virtual blink::WebNavigationPolicy decidePolicyForNavigation(
const NavigationPolicyInfo& info);
+ virtual void didHandleOnloadEvents(blink::WebLocalFrame* frame);
virtual void didAddMessageToConsole(const blink::WebConsoleMessage& message,
const blink::WebString& source_name,
unsigned source_line,
@@ -175,6 +178,7 @@ class HTMLFrame : public blink::WebFrameClient,
virtual void didNavigateWithinPage(blink::WebLocalFrame* frame,
const blink::WebHistoryItem& history_item,
blink::WebHistoryCommitType commit_type);
+ virtual void didFirstVisuallyNonEmptyLayout(blink::WebLocalFrame* frame);
virtual blink::WebGeolocationClient* geolocationClient();
virtual blink::WebEncryptedMediaClient* encryptedMediaClient();
virtual void didStartLoading(bool to_different_document);
@@ -325,6 +329,10 @@ class HTMLFrame : public blink::WebFrameClient,
blink::WebTextInputInfo text_input_info_;
+ // This object is only valid in the context of performance tests.
+ tracing::StartupPerformanceDataCollectorPtr
+ startup_performance_data_collector_;
+
base::WeakPtrFactory<HTMLFrame> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(HTMLFrame);
« no previous file with comments | « components/html_viewer/html_document_oopif.cc ('k') | components/html_viewer/html_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698