| OLD | NEW |
| 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 package org.chromium.ui; | 5 package org.chromium.ui; |
| 6 | 6 |
| 7 /** | 7 /** |
| 8 * Provide Android internal resources to Chrome's ui layer. This allows classes | 8 * Provide Android internal resources to Chrome's ui layer. This allows classes |
| 9 * that access resources via org.chromium.ui.R to function properly in webview. | 9 * that access resources via org.chromium.ui.R to function properly in webview. |
| 10 * In a normal Chrome build, ui resources live in a res folder in the ui layer | 10 * In a normal Chrome build, ui resources live in a res folder in the ui layer |
| 11 * and the org.chromium.ui.R class is generated at build time based on these | 11 * and the org.chromium.ui.R class is generated at build time based on these |
| 12 * resources. In webview, resources live in the Android framework and can't be | 12 * resources. In webview, resources live in the Android framework and can't be |
| 13 * accessed directly from the ui layer. Instead, we copy resources needed by ui | 13 * accessed directly from the ui layer. Instead, we copy resources needed by ui |
| 14 * into the Android framework and use this R class to map resources IDs from | 14 * into the Android framework and use this R class to map resources IDs from |
| 15 * org.chromium.ui.R to com.android.internal.R. | 15 * org.chromium.ui.R to com.android.internal.R. |
| 16 */ | 16 */ |
| 17 public final class R { | 17 public final class R { |
| 18 public static final class string { | 18 public static final class string { |
| 19 public static int low_memory_error; | 19 public static int low_memory_error; |
| 20 public static int opening_file_error; | 20 public static int opening_file_error; |
| 21 public static int color_picker_button_more; | 21 public static int color_picker_button_more; |
| 22 public static int color_picker_hue; | 22 public static int color_picker_hue; |
| 23 public static int color_picker_saturation; | 23 public static int color_picker_saturation; |
| 24 public static int color_picker_value; | 24 public static int color_picker_value; |
| 25 public static int color_picker_button_set; | 25 public static int color_picker_button_set; |
| 26 public static int color_picker_button_cancel; | 26 public static int color_picker_button_cancel; |
| 27 public static int color_picker_dialog_title; | 27 public static int color_picker_dialog_title; |
| 28 public static int color_picker_button_red; |
| 29 public static int color_picker_button_cyan; |
| 30 public static int color_picker_button_blue; |
| 31 public static int color_picker_button_green; |
| 32 public static int color_picker_button_magenta; |
| 33 public static int color_picker_button_yellow; |
| 34 public static int color_picker_button_black; |
| 35 public static int color_picker_button_white; |
| 28 } | 36 } |
| 29 public static final class id { | 37 public static final class id { |
| 30 public static int autofill_label; | 38 public static int autofill_label; |
| 31 public static int autofill_popup_window; | 39 public static int autofill_popup_window; |
| 32 public static int autofill_sublabel; | 40 public static int autofill_sublabel; |
| 33 public static int selected_color_view; | 41 public static int selected_color_view; |
| 34 public static int title; | 42 public static int title; |
| 35 public static int more_colors_button; | 43 public static int more_colors_button; |
| 36 public static int color_picker_advanced; | 44 public static int color_picker_advanced; |
| 37 public static int color_picker_simple; | 45 public static int color_picker_simple; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 50 public static final class drawable { | 58 public static final class drawable { |
| 51 public static int color_picker_advanced_select_handle; | 59 public static int color_picker_advanced_select_handle; |
| 52 } | 60 } |
| 53 public static final class style { | 61 public static final class style { |
| 54 public static int AutofillPopupWindow; | 62 public static int AutofillPopupWindow; |
| 55 } | 63 } |
| 56 public static final class color { | 64 public static final class color { |
| 57 public static int color_picker_border_color; | 65 public static int color_picker_border_color; |
| 58 } | 66 } |
| 59 } | 67 } |
| OLD | NEW |