OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 COMPONENTS_NAVIGATION_INTERCEPTION_INTERCEPT_NAVIGATION_DELEGATE_H_ | 5 #ifndef COMPONENTS_NAVIGATION_INTERCEPTION_INTERCEPT_NAVIGATION_DELEGATE_H_ |
6 #define COMPONENTS_NAVIGATION_INTERCEPTION_INTERCEPT_NAVIGATION_DELEGATE_H_ | 6 #define COMPONENTS_NAVIGATION_INTERCEPTION_INTERCEPT_NAVIGATION_DELEGATE_H_ |
7 | 7 |
8 #include "base/android/jni_weak_ref.h" | 8 #include "base/android/jni_weak_ref.h" |
| 9 #include "base/macros.h" |
9 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
10 #include "base/supports_user_data.h" | 11 #include "base/supports_user_data.h" |
11 | 12 |
12 class GURL; | 13 class GURL; |
13 | 14 |
14 namespace content { | 15 namespace content { |
15 class NavigationHandle; | 16 class NavigationHandle; |
16 class NavigationThrottle; | 17 class NavigationThrottle; |
17 class WebContents; | 18 class WebContents; |
18 } | 19 } |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 base::TimeTicks last_user_gesture_carryover_timestamp_; | 72 base::TimeTicks last_user_gesture_carryover_timestamp_; |
72 | 73 |
73 DISALLOW_COPY_AND_ASSIGN(InterceptNavigationDelegate); | 74 DISALLOW_COPY_AND_ASSIGN(InterceptNavigationDelegate); |
74 }; | 75 }; |
75 | 76 |
76 bool RegisterInterceptNavigationDelegate(JNIEnv* env); | 77 bool RegisterInterceptNavigationDelegate(JNIEnv* env); |
77 | 78 |
78 } // namespace navigation_interception | 79 } // namespace navigation_interception |
79 | 80 |
80 #endif // COMPONENTS_NAVIGATION_INTERCEPTION_INTERCEPT_NAVIGATION_DELEGATE_H_ | 81 #endif // COMPONENTS_NAVIGATION_INTERCEPTION_INTERCEPT_NAVIGATION_DELEGATE_H_ |
OLD | NEW |