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

Side by Side Diff: components/navigation_interception/intercept_navigation_delegate.h

Issue 2146753002: Android: Remove unneeded RegisterNatives() calls (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Android: Don't require RegisterNatives if there are none Created 4 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 unified diff | Download patch
OLDNEW
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 <memory> 8 #include <memory>
9 9
10 #include "base/android/jni_weak_ref.h" 10 #include "base/android/jni_weak_ref.h"
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 // carried over. 68 // carried over.
69 void UpdateLastUserGestureCarryoverTimestamp(); 69 void UpdateLastUserGestureCarryoverTimestamp();
70 70
71 private: 71 private:
72 JavaObjectWeakGlobalRef weak_jdelegate_; 72 JavaObjectWeakGlobalRef weak_jdelegate_;
73 base::TimeTicks last_user_gesture_carryover_timestamp_; 73 base::TimeTicks last_user_gesture_carryover_timestamp_;
74 74
75 DISALLOW_COPY_AND_ASSIGN(InterceptNavigationDelegate); 75 DISALLOW_COPY_AND_ASSIGN(InterceptNavigationDelegate);
76 }; 76 };
77 77
78 bool RegisterInterceptNavigationDelegate(JNIEnv* env);
79
80 } // namespace navigation_interception 78 } // namespace navigation_interception
81 79
82 #endif // COMPONENTS_NAVIGATION_INTERCEPTION_INTERCEPT_NAVIGATION_DELEGATE_H_ 80 #endif // COMPONENTS_NAVIGATION_INTERCEPTION_INTERCEPT_NAVIGATION_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698