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

Unified Diff: content/public/android/java/src/org/chromium/content/app/AppResource.java

Issue 10823340: [Android] Upstream Modal Dialogs functionality (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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/public/android/java/src/org/chromium/content/app/AppResource.java
diff --git a/content/public/android/java/src/org/chromium/content/app/AppResource.java b/content/public/android/java/src/org/chromium/content/app/AppResource.java
index fbf0568c643075c76d0b440d3ed7bdb0b285d103..11974f594ed17efce9f047edbc5f0f729ade962c 100644
--- a/content/public/android/java/src/org/chromium/content/app/AppResource.java
+++ b/content/public/android/java/src/org/chromium/content/app/AppResource.java
@@ -30,6 +30,24 @@ public class AppResource {
/** Id of the date picker view. */
public static int ID_DATE_PICKER;
+ /** Id of the cancel button in Javascript modal dialogs. */
+ public static int ID_JS_MODAL_DIALOG_BUTTON_CANCEL;
+
+ /** Id of the confirm button in Javascript modal dialogs. */
+ public static int ID_JS_MODAL_DIALOG_BUTTON_CONFIRM;
+
+ /** Id of the CheckBox to suppress further modal dialogs in Javascript modal dialogs. */
+ public static int ID_JS_MODAL_DIALOG_CHECKBOX_SUPPRESS_DIALOGS;
+
+ /** Id of the message TextView in Javascript modal dialogs. */
+ public static int ID_JS_MODAL_DIALOG_TEXT_MESSAGE;
+
+ /** Id of the prompt EditText in Javascript modal dialogs. */
+ public static int ID_JS_MODAL_DIALOG_TEXT_PROMPT;
+
+ /** Id of the title TextView in Javascript modal dialogs. */
+ public static int ID_JS_MODAL_DIALOG_TEXT_TITLE;
+
/** Id of the month picker view. */
public static int ID_MONTH_PICKER;
@@ -45,6 +63,9 @@ public class AppResource {
/** Layout of the date/time picker dialog. */
public static int LAYOUT_DATE_TIME_PICKER_DIALOG;
+ /** Layout of the Javascript modal dialog. */
+ public static int LAYOUT_JS_MODAL_DIALOG;
+
/** Layout of the month picker. */
public static int LAYOUT_MONTH_PICKER;
@@ -69,6 +90,18 @@ public class AppResource {
/** String for the title of the date/time picker dialog. */
public static int STRING_DATE_TIME_PICKER_DIALOG_TITLE;
+ /** String for 'Don't reload this page' in Javascript modal dialogs. */
+ public static int STRING_JS_MODAL_DIALOG_DONT_RELOAD_THIS_PAGE;
+
+ /** String for 'Leave this page' in Javascript modal dialogs. */
+ public static int STRING_JS_MODAL_DIALOG_LEAVE_THIS_PAGE;
+
+ /** String for 'Reload this page' in Javascript modal dialogs. */
+ public static int STRING_JS_MODAL_DIALOG_RELOAD_THIS_PAGE;
+
+ /** String for 'Stay on this page' in Javascript modal dialogs. */
+ public static int STRING_JS_MODAL_DIALOG_STAY_ON_THIS_PAGE;
+
/** String for the title of the month picker dialog. */
public static int STRING_MONTH_PICKER_DIALOG_TITLE;
« no previous file with comments | « content/browser/android/content_view_core_impl.cc ('k') | content/public/browser/android/content_view_core.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698