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

Unified Diff: components/html_viewer/html_document.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/DEPS ('k') | components/html_viewer/html_document.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/html_viewer/html_document.h
diff --git a/components/html_viewer/html_document.h b/components/html_viewer/html_document.h
index 926e503cfcbdad67da868f85cb1c7d4ff084e2a3..eb20f46eeb89a291d4060df4f914a387cfec9772 100644
--- a/components/html_viewer/html_document.h
+++ b/components/html_viewer/html_document.h
@@ -22,6 +22,7 @@
#include "mojo/application/public/interfaces/application.mojom.h"
#include "mojo/application/public/interfaces/content_handler.mojom.h"
#include "mojo/services/network/public/interfaces/url_loader.mojom.h"
+#include "mojo/services/tracing/public/interfaces/tracing.mojom.h"
#include "third_party/WebKit/public/web/WebFrameClient.h"
#include "third_party/WebKit/public/web/WebSandboxFlags.h"
#include "third_party/WebKit/public/web/WebViewClient.h"
@@ -114,10 +115,12 @@ class HTMLDocument : public blink::WebViewClient,
const blink::WebString& source_name,
unsigned source_line,
const blink::WebString& stack_trace);
+ virtual void didHandleOnloadEvents(blink::WebLocalFrame* frame);
virtual void didFinishLoad(blink::WebLocalFrame* frame);
virtual void didNavigateWithinPage(blink::WebLocalFrame* frame,
const blink::WebHistoryItem& history_item,
blink::WebHistoryCommitType commit_type);
+ virtual void didFirstVisuallyNonEmptyLayout(blink::WebLocalFrame* frame);
virtual blink::WebEncryptedMediaClient* encryptedMediaClient();
private:
@@ -189,6 +192,10 @@ class HTMLDocument : public blink::WebViewClient,
DeleteCallback delete_callback_;
+ // This object is only valid in the context of performance tests.
+ tracing::StartupPerformanceDataCollectorPtr
+ startup_performance_data_collector_;
+
DISALLOW_COPY_AND_ASSIGN(HTMLDocument);
};
« no previous file with comments | « components/html_viewer/DEPS ('k') | components/html_viewer/html_document.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698