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 ANDROID_WEBVIEW_NATIVE_AW_WEB_CONTENTS_DELEGATE_H_ | 5 #ifndef ANDROID_WEBVIEW_BROWSER_AW_WEB_CONTENTS_DELEGATE_H_ |
6 #define ANDROID_WEBVIEW_NATIVE_AW_WEB_CONTENTS_DELEGATE_H_ | 6 #define ANDROID_WEBVIEW_BROWSER_AW_WEB_CONTENTS_DELEGATE_H_ |
7 | 7 |
8 #include <jni.h> | 8 #include <jni.h> |
9 | 9 |
10 #include "components/web_contents_delegate_android/web_contents_delegate_android
.h" | 10 #include "components/web_contents_delegate_android/web_contents_delegate_android
.h" |
11 | 11 |
12 namespace android_webview { | 12 namespace android_webview { |
13 | 13 |
14 // WebView specific WebContentsDelegate. | 14 // WebView specific WebContentsDelegate. |
15 // Should contain WebContentsDelegate code required by WebView that should not | 15 // Should contain WebContentsDelegate code required by WebView that should not |
16 // be part of the Chromium Android port. | 16 // be part of the Chromium Android port. |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 const content::WebContents* web_contents) const override; | 64 const content::WebContents* web_contents) const override; |
65 | 65 |
66 private: | 66 private: |
67 bool is_fullscreen_; | 67 bool is_fullscreen_; |
68 }; | 68 }; |
69 | 69 |
70 bool RegisterAwWebContentsDelegate(JNIEnv* env); | 70 bool RegisterAwWebContentsDelegate(JNIEnv* env); |
71 | 71 |
72 } // namespace android_webview | 72 } // namespace android_webview |
73 | 73 |
74 #endif // ANDROID_WEBVIEW_NATIVE_AW_WEB_CONTENTS_DELEGATE_H_ | 74 #endif // ANDROID_WEBVIEW_BROWSER_AW_WEB_CONTENTS_DELEGATE_H_ |
OLD | NEW |