| 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 CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CLIENT_H_ | 5 #ifndef CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CLIENT_H_ |
| 6 #define CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CLIENT_H_ | 6 #define CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CLIENT_H_ |
| 7 | 7 |
| 8 #include "base/android/jni_helper.h" | 8 #include "base/android/jni_helper.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "content/public/browser/native_web_keyboard_event.h" | 10 #include "content/public/browser/native_web_keyboard_event.h" |
| 11 #include "content/public/common/javascript_message_type.h" | 11 #include "content/public/common/javascript_message_type.h" |
| 12 #include "content/public/common/referrer.h" | 12 #include "content/public/common/referrer.h" |
| 13 #include "googleurl/src/gurl.h" | 13 #include "googleurl/src/gurl.h" |
| 14 #include "net/base/net_errors.h" | 14 #include "net/base/net_errors.h" |
| 15 | 15 |
| 16 class FindHelper; | |
| 17 | |
| 18 namespace content { | 16 namespace content { |
| 19 | 17 |
| 20 class DownloadItem; | 18 class DownloadItem; |
| 21 class JavaScriptDialogCreator; | 19 class JavaScriptDialogCreator; |
| 22 struct NativeWebKeyboardEvent; | 20 struct NativeWebKeyboardEvent; |
| 23 class RenderViewHost; | 21 class RenderViewHost; |
| 24 class WebContents; | 22 class WebContents; |
| 25 | 23 |
| 26 // These enums must be kept in sync with ContentViewClient.java | 24 // These enums must be kept in sync with ContentViewClient.java |
| 27 enum ContentViewClientError { | 25 enum ContentViewClientError { |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 // ownership leak (the GC can't collect cycles if part of the cycle is caused | 104 // ownership leak (the GC can't collect cycles if part of the cycle is caused |
| 107 // by native). | 105 // by native). |
| 108 JavaObjectWeakGlobalRef weak_java_client_; | 106 JavaObjectWeakGlobalRef weak_java_client_; |
| 109 }; | 107 }; |
| 110 | 108 |
| 111 bool RegisterContentViewClient(JNIEnv* env); | 109 bool RegisterContentViewClient(JNIEnv* env); |
| 112 | 110 |
| 113 } // namespace content | 111 } // namespace content |
| 114 | 112 |
| 115 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CLIENT_H_ | 113 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CLIENT_H_ |
| OLD | NEW |