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

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

Issue 2497033002: Break apart WebGestureEvent from WebInputEvent. (Closed)
Patch Set: Rebase Created 4 years, 1 month 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
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_PAGE_LOAD_METRICS_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_PAGE_LOAD_METRICS_PAGE_LOAD_METRICS_OBSERVER_H_
6 #define CHROME_BROWSER_PAGE_LOAD_METRICS_PAGE_LOAD_METRICS_OBSERVER_H_ 6 #define CHROME_BROWSER_PAGE_LOAD_METRICS_PAGE_LOAD_METRICS_OBSERVER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/optional.h" 9 #include "base/optional.h"
10 #include "chrome/common/page_load_metrics/page_load_timing.h" 10 #include "chrome/common/page_load_metrics/page_load_timing.h"
11 #include "content/public/browser/navigation_handle.h" 11 #include "content/public/browser/navigation_handle.h"
12 #include "third_party/WebKit/public/web/WebInputEvent.h" 12 #include "third_party/WebKit/public/platform/WebInputEvent.h"
13 #include "url/gurl.h" 13 #include "url/gurl.h"
14 14
15 namespace page_load_metrics { 15 namespace page_load_metrics {
16 16
17 // This enum represents how a page load ends. If the action occurs before the 17 // This enum represents how a page load ends. If the action occurs before the
18 // page load finishes (or reaches some point like first paint), then we consider 18 // page load finishes (or reaches some point like first paint), then we consider
19 // the load to be aborted. 19 // the load to be aborted.
20 enum UserAbortType { 20 enum UserAbortType {
21 // Represents no abort. 21 // Represents no abort.
22 ABORT_NONE, 22 ABORT_NONE,
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 // OnFailedProvisionalLoad is invoked for tracked page loads that did not 270 // OnFailedProvisionalLoad is invoked for tracked page loads that did not
271 // commit, immediately before the observer is deleted. 271 // commit, immediately before the observer is deleted.
272 virtual void OnFailedProvisionalLoad( 272 virtual void OnFailedProvisionalLoad(
273 const FailedProvisionalLoadInfo& failed_provisional_load_info, 273 const FailedProvisionalLoadInfo& failed_provisional_load_info,
274 const PageLoadExtraInfo& extra_info) {} 274 const PageLoadExtraInfo& extra_info) {}
275 }; 275 };
276 276
277 } // namespace page_load_metrics 277 } // namespace page_load_metrics
278 278
279 #endif // CHROME_BROWSER_PAGE_LOAD_METRICS_PAGE_LOAD_METRICS_OBSERVER_H_ 279 #endif // CHROME_BROWSER_PAGE_LOAD_METRICS_PAGE_LOAD_METRICS_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698