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

Side by Side Diff: chrome/browser/page_load_metrics/metrics_web_contents_observer.h

Issue 2901383002: Buffer cross frame paint timing updates. (Closed)
Patch Set: address comment Created 3 years, 6 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/page_load_metrics/metrics_web_contents_observer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_PAGE_LOAD_METRICS_METRICS_WEB_CONTENTS_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_PAGE_LOAD_METRICS_METRICS_WEB_CONTENTS_OBSERVER_H_
6 #define CHROME_BROWSER_PAGE_LOAD_METRICS_METRICS_WEB_CONTENTS_OBSERVER_H_ 6 #define CHROME_BROWSER_PAGE_LOAD_METRICS_METRICS_WEB_CONTENTS_OBSERVER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <vector> 10 #include <vector>
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 void NavigationStopped() override; 90 void NavigationStopped() override;
91 void OnInputEvent(const blink::WebInputEvent& event) override; 91 void OnInputEvent(const blink::WebInputEvent& event) override;
92 void WasShown() override; 92 void WasShown() override;
93 void WasHidden() override; 93 void WasHidden() override;
94 void RenderProcessGone(base::TerminationStatus status) override; 94 void RenderProcessGone(base::TerminationStatus status) override;
95 void RenderViewHostChanged(content::RenderViewHost* old_host, 95 void RenderViewHostChanged(content::RenderViewHost* old_host,
96 content::RenderViewHost* new_host) override; 96 content::RenderViewHost* new_host) override;
97 void MediaStartedPlaying( 97 void MediaStartedPlaying(
98 const content::WebContentsObserver::MediaPlayerInfo& video_type, 98 const content::WebContentsObserver::MediaPlayerInfo& video_type,
99 const content::WebContentsObserver::MediaPlayerId& id) override; 99 const content::WebContentsObserver::MediaPlayerId& id) override;
100 void WebContentsDestroyed() override;
100 101
101 // These methods are forwarded from the MetricsNavigationThrottle. 102 // These methods are forwarded from the MetricsNavigationThrottle.
102 void WillStartNavigationRequest(content::NavigationHandle* navigation_handle); 103 void WillStartNavigationRequest(content::NavigationHandle* navigation_handle);
103 void WillProcessNavigationResponse( 104 void WillProcessNavigationResponse(
104 content::NavigationHandle* navigation_handle); 105 content::NavigationHandle* navigation_handle);
105 106
106 // A resource request started on the IO thread. This method is invoked on 107 // A resource request started on the IO thread. This method is invoked on
107 // the UI thread. 108 // the UI thread.
108 void OnRequestStarted(const content::GlobalRequestID& request_id, 109 void OnRequestStarted(const content::GlobalRequestID& request_id,
109 content::ResourceType resource_type, 110 content::ResourceType resource_type,
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 base::ObserverList<TestingObserver> testing_observers_; 230 base::ObserverList<TestingObserver> testing_observers_;
230 content::WebContentsFrameBindingSet<mojom::PageLoadMetrics> 231 content::WebContentsFrameBindingSet<mojom::PageLoadMetrics>
231 page_load_metrics_binding_; 232 page_load_metrics_binding_;
232 233
233 DISALLOW_COPY_AND_ASSIGN(MetricsWebContentsObserver); 234 DISALLOW_COPY_AND_ASSIGN(MetricsWebContentsObserver);
234 }; 235 };
235 236
236 } // namespace page_load_metrics 237 } // namespace page_load_metrics
237 238
238 #endif // CHROME_BROWSER_PAGE_LOAD_METRICS_METRICS_WEB_CONTENTS_OBSERVER_H_ 239 #endif // CHROME_BROWSER_PAGE_LOAD_METRICS_METRICS_WEB_CONTENTS_OBSERVER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/page_load_metrics/metrics_web_contents_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698