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

Side by Side Diff: content/browser/android/content_view_client.h

Issue 10905058: Upstream the Android port find-in-page feature. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nit fixes. Created 8 years, 3 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 | Annotate | Revision Log
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 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
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_
OLDNEW
« no previous file with comments | « chrome/common/chrome_notification_types.h ('k') | content/browser/renderer_host/render_view_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698