Index: components/html_viewer/html_frame.h |
diff --git a/components/html_viewer/html_frame.h b/components/html_viewer/html_frame.h |
index b354becb0cf6dee6c17de21d98b067e7590e58a7..e51083f144568e501486b4afa3a97730b7824513 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; |
@@ -238,10 +240,12 @@ class HTMLFrame : public blink::WebFrameClient, |
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::WebGeolocationClient* geolocationClient(); |
virtual blink::WebEncryptedMediaClient* encryptedMediaClient(); |
virtual void didStartLoading(bool to_different_document); |
@@ -305,6 +309,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); |