OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 package org.chromium.ui; | |
6 | |
7 /** | |
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. | |
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 | |
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 | |
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. | |
16 */ | |
17 public final class R { | |
18 public static final class string { | |
19 public static int low_memory_error; | |
20 public static int opening_file_error; | |
21 public static int color_picker_button_more; | |
22 public static int color_picker_hue; | |
23 public static int color_picker_saturation; | |
24 public static int color_picker_value; | |
25 public static int color_picker_button_set; | |
26 public static int color_picker_button_cancel; | |
27 public static int color_picker_dialog_title; | |
28 } | |
29 public static final class id { | |
30 public static int autofill_label; | |
31 public static int autofill_popup_window; | |
32 public static int autofill_sublabel; | |
33 public static int selected_color_view; | |
34 public static int title; | |
35 public static int more_colors_button; | |
36 public static int color_picker_advanced; | |
37 public static int color_picker_simple; | |
38 public static int more_colors_button_border; | |
39 public static int color_picker_simple_border; | |
40 public static int gradient; | |
41 public static int text; | |
42 public static int seek_bar; | |
43 } | |
44 public static final class layout { | |
45 public static int autofill_text; | |
46 public static int color_picker_dialog_title; | |
47 public static int color_picker_dialog_content; | |
48 public static int color_picker_advanced_component; | |
49 } | |
50 public static final class drawable { | |
51 public static int color_picker_advanced_select_handle; | |
52 } | |
53 public static final class style { | |
54 public static int AutofillPopupWindow; | |
55 } | |
56 public static final class color { | |
57 public static int color_picker_border_color; | |
58 } | |
59 } | |
OLD | NEW |