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 #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 Loading... |
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 |
OLD | NEW |