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

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

Issue 11471040: [Android WebView] Convert context menu callback to long press (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: forward declare Created 8 years 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
« no previous file with comments | « android_webview/lib/main/aw_main_delegate.cc ('k') | android_webview/native/aw_contents.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <string> 9 #include <string>
10 10
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 const GURL& origin_url, 56 const GURL& origin_url,
57 const string16& message_text, 57 const string16& message_text,
58 const string16& default_prompt_text, 58 const string16& default_prompt_text,
59 const base::android::ScopedJavaLocalRef<jobject>& js_result); 59 const base::android::ScopedJavaLocalRef<jobject>& js_result);
60 60
61 void RunBeforeUnloadDialog( 61 void RunBeforeUnloadDialog(
62 const GURL& origin_url, 62 const GURL& origin_url,
63 const string16& message_text, 63 const string16& message_text,
64 const base::android::ScopedJavaLocalRef<jobject>& js_result); 64 const base::android::ScopedJavaLocalRef<jobject>& js_result);
65 65
66 void PerformLongClick();
67
66 // |handler| is an instance of 68 // |handler| is an instance of
67 // org.chromium.android_webview.AwHttpAuthHandler. 69 // org.chromium.android_webview.AwHttpAuthHandler.
68 void onReceivedHttpAuthRequest(const base::android::JavaRef<jobject>& handler, 70 void onReceivedHttpAuthRequest(const base::android::JavaRef<jobject>& handler,
69 const std::string& host, 71 const std::string& host,
70 const std::string& realm); 72 const std::string& realm);
71 73
72 // Methods called from Java. 74 // Methods called from Java.
73 jint GetWebContents(JNIEnv* env, jobject obj); 75 jint GetWebContents(JNIEnv* env, jobject obj);
74 void SetWebContents(JNIEnv* env, jobject obj, jint web_contents); 76 void SetWebContents(JNIEnv* env, jobject obj, jint web_contents);
75 77
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 scoped_ptr<content::WebContents> pending_contents_; 135 scoped_ptr<content::WebContents> pending_contents_;
134 136
135 DISALLOW_COPY_AND_ASSIGN(AwContents); 137 DISALLOW_COPY_AND_ASSIGN(AwContents);
136 }; 138 };
137 139
138 bool RegisterAwContents(JNIEnv* env); 140 bool RegisterAwContents(JNIEnv* env);
139 141
140 } // namespace android_webview 142 } // namespace android_webview
141 143
142 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ 144 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_
OLDNEW
« no previous file with comments | « android_webview/lib/main/aw_main_delegate.cc ('k') | android_webview/native/aw_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698