Home | History | Annotate | Download | only in content
      1 // Copyright 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.content;
      6 
      7 /**
      8  * Provide Android internal resources to Chrome's content layer.  This allows
      9  * classes that access resources via org.chromium.content.R to function properly
     10  * in webview.  In a normal Chrome build, content resources live in a res folder
     11  * in the content layer and the org.chromium.content.R class is generated at
     12  * build time based on these resources.  In webview, resources live in the
     13  * Android framework and can't be accessed directly from the content layer.
     14  * Instead, we copy resources needed by content into the Android framework and
     15  * use this R class to map resources IDs from org.chromium.content.R to
     16  * com.android.internal.R.
     17  */
     18 public final class R {
     19     /** Attributes */
     20     public static final class attr {
     21         public static int select_dialog_multichoice;
     22         public static int select_dialog_singlechoice;
     23     }
     24     /** Dimensions */
     25     public static final class dimen {
     26         public static int link_preview_overlay_radius;
     27     }
     28     /** Drawables */
     29     public static final class drawable {
     30         public static int ondemand_overlay;
     31     }
     32     /** id */
     33     public static final class id {
     34         public static int ampm;
     35         public static int arrow_image;
     36         public static int date_picker;
     37         public static int date_time_suggestion_value;
     38         public static int date_time_suggestion_label;
     39         public static int hour;
     40         public static int main_text;
     41         public static int milli;
     42         public static int minute;
     43         public static int pickers;
     44         public static int position_in_year;
     45         public static int second;
     46         public static int second_colon;
     47         public static int second_dot;
     48         public static int select_action_menu_select_all;
     49         public static int select_action_menu_cut;
     50         public static int select_action_menu_copy;
     51         public static int select_action_menu_paste;
     52         public static int select_action_menu_share;
     53         public static int select_action_menu_web_search;
     54         public static int sub_text;
     55         public static int time_picker;
     56         public static int year;
     57     }
     58     /** layouts */
     59     public static final class layout {
     60         public static int date_time_picker_dialog;
     61         public static int date_time_suggestion;
     62         public static int two_field_date_picker;
     63         public static int multi_field_time_picker_dialog;
     64         public static int validation_message_bubble;
     65     }
     66     /** menus */
     67     public static final class menu {
     68         public static int select_action_menu;
     69     }
     70     /** strings */
     71     public static final class string {
     72         public static int accessibility_content_view;
     73         public static int accessibility_date_picker_month;
     74         public static int accessibility_date_picker_week;
     75         public static int accessibility_date_picker_year;
     76         public static int accessibility_datetime_picker_date;
     77         public static int accessibility_datetime_picker_time;
     78         public static int actionbar_share;
     79         public static int actionbar_web_search;
     80         public static int date_picker_dialog_clear;
     81         public static int date_picker_dialog_set;
     82         public static int date_picker_dialog_title;
     83         public static int date_picker_dialog_other_button_label;
     84         public static int date_time_picker_dialog_title;
     85         public static int media_player_error_button;
     86         public static int media_player_error_text_invalid_progressive_playback;
     87         public static int media_player_error_text_unknown;
     88         public static int media_player_error_title;
     89         public static int media_player_loading_video;
     90         public static int month_picker_dialog_title;
     91         public static int profiler_error_toast;
     92         public static int profiler_no_storage_toast;
     93         public static int profiler_started_toast;
     94         public static int profiler_stopped_toast;
     95         public static int time_picker_dialog_am;
     96         public static int time_picker_dialog_hour_minute_separator;
     97         public static int time_picker_dialog_minute_second_separator;
     98         public static int time_picker_dialog_second_subsecond_separator;
     99         public static int time_picker_dialog_pm;
    100         public static int time_picker_dialog_title;
    101         public static int week_picker_dialog_title;
    102     }
    103     /** styles */
    104     public static final class style {
    105         public static int SelectPopupDialog;
    106     }
    107 }
    108