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

Side by Side Diff: android_webview/native/aw_contents.h

Issue 23449027: Stop sending long press events twice (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed header include Created 7 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 ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ 5 #ifndef ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_
6 #define ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ 6 #define ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 #include <list> 9 #include <list>
10 #include <string> 10 #include <string>
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 // render_process_id and render_view_id, or NULL. 57 // render_process_id and render_view_id, or NULL.
58 static AwContents* FromID(int render_process_id, int render_view_id); 58 static AwContents* FromID(int render_process_id, int render_view_id);
59 59
60 AwContents(scoped_ptr<content::WebContents> web_contents); 60 AwContents(scoped_ptr<content::WebContents> web_contents);
61 virtual ~AwContents(); 61 virtual ~AwContents();
62 62
63 AwRenderViewHostExt* render_view_host_ext() { 63 AwRenderViewHostExt* render_view_host_ext() {
64 return render_view_host_ext_.get(); 64 return render_view_host_ext_.get();
65 } 65 }
66 66
67 void PerformLongClick();
68
69 // |handler| is an instance of 67 // |handler| is an instance of
70 // org.chromium.android_webview.AwHttpAuthHandler. 68 // org.chromium.android_webview.AwHttpAuthHandler.
71 bool OnReceivedHttpAuthRequest(const base::android::JavaRef<jobject>& handler, 69 bool OnReceivedHttpAuthRequest(const base::android::JavaRef<jobject>& handler,
72 const std::string& host, 70 const std::string& host,
73 const std::string& realm); 71 const std::string& realm);
74 72
75 // Methods called from Java. 73 // Methods called from Java.
76 void SetJavaPeers(JNIEnv* env, 74 void SetJavaPeers(JNIEnv* env,
77 jobject obj, 75 jobject obj,
78 jobject aw_contents, 76 jobject aw_contents,
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 std::list<OriginCallback> pending_geolocation_prompts_; 196 std::list<OriginCallback> pending_geolocation_prompts_;
199 197
200 DISALLOW_COPY_AND_ASSIGN(AwContents); 198 DISALLOW_COPY_AND_ASSIGN(AwContents);
201 }; 199 };
202 200
203 bool RegisterAwContents(JNIEnv* env); 201 bool RegisterAwContents(JNIEnv* env);
204 202
205 } // namespace android_webview 203 } // namespace android_webview
206 204
207 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ 205 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_
OLDNEW
« no previous file with comments | « android_webview/java/src/org/chromium/android_webview/AwContents.java ('k') | android_webview/native/aw_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698