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

Side by Side Diff: components/web_contents_delegate_android/web_contents_delegate_android.cc

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 #include "components/web_contents_delegate_android/web_contents_delegate_android .h" 5 #include "components/web_contents_delegate_android/web_contents_delegate_android .h"
6 6
7 #include <android/keycodes.h> 7 #include <android/keycodes.h>
8 8
9 #include "base/android/jni_android.h" 9 #include "base/android/jni_android.h"
10 #include "base/android/jni_array.h" 10 #include "base/android/jni_array.h"
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 if (rwhv) { 418 if (rwhv) {
419 validation_message_bubble_->SetPositionRelativeToAnchor( 419 validation_message_bubble_->SetPositionRelativeToAnchor(
420 rwhv->GetRenderWidgetHost(), anchor_in_root_view); 420 rwhv->GetRenderWidgetHost(), anchor_in_root_view);
421 } 421 }
422 } 422 }
423 423
424 void WebContentsDelegateAndroid::RequestAppBannerFromDevTools( 424 void WebContentsDelegateAndroid::RequestAppBannerFromDevTools(
425 content::WebContents* web_contents) { 425 content::WebContents* web_contents) {
426 } 426 }
427 427
428 // ----------------------------------------------------------------------------
429 // Native JNI methods
430 // ----------------------------------------------------------------------------
431
432 // Register native methods
433
434 bool RegisterWebContentsDelegateAndroid(JNIEnv* env) {
435 return RegisterNativesImpl(env);
436 }
437
438 } // namespace web_contents_delegate_android 428 } // namespace web_contents_delegate_android
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698