R.java revision 7d4cd473f85ac64c3747c96c277f9e506a0d2246
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 5package 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 */ 17public 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 selected_color_view; 31 public static int title; 32 public static int more_colors_button; 33 public static int color_picker_advanced; 34 public static int color_picker_simple; 35 public static int more_colors_button_border; 36 public static int color_picker_simple_border; 37 public static int gradient; 38 public static int text; 39 public static int seek_bar; 40 } 41 public static final class layout { 42 public static int color_picker_dialog_title; 43 public static int color_picker_dialog_content; 44 public static int color_picker_advanced_component; 45 } 46 public static final class drawable { 47 public static int color_picker_advanced_select_handle; 48 } 49} 50