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

Unified Diff: content/browser/android/content_view_core_impl.h

Issue 10823340: [Android] Upstream Modal Dialogs functionality (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/android/content_view_core_impl.h
diff --git a/content/browser/android/content_view_core_impl.h b/content/browser/android/content_view_core_impl.h
index c0f0b9804dca4f1381fe7da818195f011ffef6e0..4a8547096ab664330929b4ba6698e06fc69e2b65 100644
--- a/content/browser/android/content_view_core_impl.h
+++ b/content/browser/android/content_view_core_impl.h
@@ -113,6 +113,13 @@ class ContentViewCoreImpl : public ContentViewCore,
void ClearHistory(JNIEnv* env, jobject obj);
void SetClient(JNIEnv* env, jobject obj, jobject jclient);
jint EvaluateJavaScript(JNIEnv* env, jobject obj, jstring script);
+ virtual base::android::ScopedJavaLocalRef<jobject> GetJavaObject() OVERRIDE;
+ virtual bool ShouldUseNativeJsModalDialog(
+ content::JavaScriptMessageType type,
+ bool is_before_unload_dialog,
+ const string16& message,
+ const string16& default_value,
+ jobject js_result) OVERRIDE;
void AddJavascriptInterface(JNIEnv* env,
jobject obj,
jobject object,

Powered by Google App Engine
This is Rietveld 408576698