diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-12 23:04:27 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-12 23:04:27 +0000 |
commit | 0790a8416ddd02e55d18717e1bd422cb2561c530 (patch) | |
tree | 425e7349f0873c803e432f27199820b0e99be89b /app/resources | |
parent | dbdde8f24205b7931388b7880cd525a0e1057df9 (diff) | |
download | chromium_src-0790a8416ddd02e55d18717e1bd422cb2561c530.zip chromium_src-0790a8416ddd02e55d18717e1bd422cb2561c530.tar.gz chromium_src-0790a8416ddd02e55d18717e1bd422cb2561c530.tar.bz2 |
Clean up app_resources.grd:
* Alphabetize a couple entries
* Move things to theme_resources.grd where possible
* Scope things only used by views under an appropriate conditional
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/2953005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52144 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app/resources')
30 files changed, 13 insertions, 41 deletions
diff --git a/app/resources/app_resources.grd b/app/resources/app_resources.grd index 3887a67..e45ac78 100644 --- a/app/resources/app_resources.grd +++ b/app/resources/app_resources.grd @@ -10,8 +10,6 @@ <release seq="1"> <includes> <include name="IDR_APP_TOP_CENTER" file="app_top_center.png" type="BINDATA" /> - <include name="IDR_APP_TOP_LEFT" file="app_top_left.png" type="BINDATA" /> - <include name="IDR_APP_TOP_RIGHT" file="app_top_right.png" type="BINDATA" /> <include name="IDR_BROWSER_ACTION_BADGE_CENTER" file="browser_action_badge_center.png" type="BINDATA" /> <include name="IDR_BROWSER_ACTION_BADGE_LEFT" file="browser_action_badge_left.png" type="BINDATA" /> <include name="IDR_BROWSER_ACTION_BADGE_RIGHT" file="browser_action_badge_right.png" type="BINDATA" /> @@ -19,17 +17,11 @@ <include name="IDR_CLOSE" file="close.png" type="BINDATA" /> <include name="IDR_CLOSE_H" file="close_h.png" type="BINDATA" /> <include name="IDR_CLOSE_P" file="close_p.png" type="BINDATA" /> - <include name="IDR_CLOSE_SA" file="close_sa.png" type="BINDATA" /> - <include name="IDR_CLOSE_SA_H" file="close_sa_h.png" type="BINDATA" /> - <include name="IDR_CLOSE_SA_P" file="close_sa_p.png" type="BINDATA" /> </if> <if expr="not pp_ifdef('toolkit_views') and (os == 'linux2' or os.find('bsd') != -1)"> <include name="IDR_CLOSE" file="linux_close.png" type="BINDATA" /> <include name="IDR_CLOSE_H" file="linux_close_h.png" type="BINDATA" /> <include name="IDR_CLOSE_P" file="linux_close_p.png" type="BINDATA" /> - <include name="IDR_CLOSE_SA" file="linux_close.png" type="BINDATA" /> - <include name="IDR_CLOSE_SA_H" file="linux_close_h.png" type="BINDATA" /> - <include name="IDR_CLOSE_SA_P" file="linux_close_p.png" type="BINDATA" /> </if> <include name="IDR_CONTENT_BOTTOM_CENTER" file="content_bottom_center.png" type="BINDATA" /> <include name="IDR_CONTENT_BOTTOM_LEFT_CORNER" file="content_bottom_left_corner.png" type="BINDATA" /> @@ -44,35 +36,6 @@ <include name="IDR_FRAME" file="frame_default.png" type="BINDATA" /> <include name="IDR_FRAME_APP_PANEL" file="frame_app_panel_default.png" type="BINDATA" /> <include name="IDR_FRAME_INACTIVE" file="frame_default_inactive.png" type="BINDATA" /> - <include name="IDR_INFOBARBUTTON_BOTTOM_LEFT_H" file="infobarbutton_bl_h.png" type="BINDATA" /> - <include name="IDR_INFOBARBUTTON_BOTTOM_LEFT_N" file="infobarbutton_bl_n.png" type="BINDATA" /> - <include name="IDR_INFOBARBUTTON_BOTTOM_LEFT_P" file="infobarbutton_bl_p.png" type="BINDATA" /> - <include name="IDR_INFOBARBUTTON_BOTTOM_H" file="infobarbutton_b_h.png" type="BINDATA" /> - <include name="IDR_INFOBARBUTTON_BOTTOM_N" file="infobarbutton_b_n.png" type="BINDATA" /> - <include name="IDR_INFOBARBUTTON_BOTTOM_P" file="infobarbutton_b_p.png" type="BINDATA" /> - <include name="IDR_INFOBARBUTTON_BOTTOM_RIGHT_H" file="infobarbutton_br_h.png" type="BINDATA" /> - <include name="IDR_INFOBARBUTTON_BOTTOM_RIGHT_N" file="infobarbutton_br_n.png" type="BINDATA" /> - <include name="IDR_INFOBARBUTTON_BOTTOM_RIGHT_P" file="infobarbutton_br_p.png" type="BINDATA" /> - <include name="IDR_INFOBARBUTTON_CENTER_H" file="infobarbutton_c_h.png" type="BINDATA" /> - <include name="IDR_INFOBARBUTTON_CENTER_N" file="infobarbutton_c_n.png" type="BINDATA" /> - <include name="IDR_INFOBARBUTTON_CENTER_P" file="infobarbutton_c_p.png" type="BINDATA" /> - <include name="IDR_INFOBARBUTTON_LEFT_H" file="infobarbutton_l_h.png" type="BINDATA" /> - <include name="IDR_INFOBARBUTTON_LEFT_N" file="infobarbutton_l_n.png" type="BINDATA" /> - <include name="IDR_INFOBARBUTTON_LEFT_P" file="infobarbutton_l_p.png" type="BINDATA" /> - <include name="IDR_INFOBARBUTTON_MENU_DROPARROW" file="infobarbutton_menu_droparrow.png" type="BINDATA" /> - <include name="IDR_INFOBARBUTTON_RIGHT_H" file="infobarbutton_r_h.png" type="BINDATA" /> - <include name="IDR_INFOBARBUTTON_RIGHT_N" file="infobarbutton_r_n.png" type="BINDATA" /> - <include name="IDR_INFOBARBUTTON_RIGHT_P" file="infobarbutton_r_p.png" type="BINDATA" /> - <include name="IDR_INFOBARBUTTON_TOP_H" file="infobarbutton_t_h.png" type="BINDATA" /> - <include name="IDR_INFOBARBUTTON_TOP_LEFT_H" file="infobarbutton_tl_h.png" type="BINDATA" /> - <include name="IDR_INFOBARBUTTON_TOP_LEFT_N" file="infobarbutton_tl_n.png" type="BINDATA" /> - <include name="IDR_INFOBARBUTTON_TOP_LEFT_P" file="infobarbutton_tl_p.png" type="BINDATA" /> - <include name="IDR_INFOBARBUTTON_TOP_N" file="infobarbutton_t_n.png" type="BINDATA" /> - <include name="IDR_INFOBARBUTTON_TOP_P" file="infobarbutton_t_p.png" type="BINDATA" /> - <include name="IDR_INFOBARBUTTON_TOP_RIGHT_H" file="infobarbutton_tr_h.png" type="BINDATA" /> - <include name="IDR_INFOBARBUTTON_TOP_RIGHT_N" file="infobarbutton_tr_n.png" type="BINDATA" /> - <include name="IDR_INFOBARBUTTON_TOP_RIGHT_P" file="infobarbutton_tr_p.png" type="BINDATA" /> - <include name="IDR_INPUT_ALERT" file="input_alert.png" type="BINDATA" /> <include name="IDR_INPUT_GOOD" file="input_good.png" type="BINDATA" /> <if expr="pp_ifdef('toolkit_views')"> <include name="IDR_MAXIMIZE" file="maximize.png" type="BINDATA" /> @@ -84,8 +47,6 @@ <include name="IDR_MAXIMIZE_H" file="linux_maximize_h.png" type="BINDATA" /> <include name="IDR_MAXIMIZE_P" file="linux_maximize_p.png" type="BINDATA" /> </if> - <include name="IDR_MENU_ARROW" file="menu_arrow.png" type="BINDATA" /> - <include name="IDR_MENU_CHECK" file="menu_check.png" type="BINDATA" /> <include name="IDR_MENU_DROPARROW" file="menu_droparrow.png" type="BINDATA" /> <if expr="pp_ifdef('toolkit_views')"> <include name="IDR_MINIMIZE" file="minimize.png" type="BINDATA" /> @@ -108,9 +69,9 @@ <include name="IDR_RESTORE_H" file="linux_restore_h.png" type="BINDATA" /> <include name="IDR_RESTORE_P" file="linux_restore_p.png" type="BINDATA" /> </if> + <include name="IDR_TEXTBUTTON_BOTTOM_H" file="textbutton_b_h.png" type="BINDATA" /> <include name="IDR_TEXTBUTTON_BOTTOM_LEFT_H" file="textbutton_bl_h.png" type="BINDATA" /> <include name="IDR_TEXTBUTTON_BOTTOM_LEFT_P" file="textbutton_bl_p.png" type="BINDATA" /> - <include name="IDR_TEXTBUTTON_BOTTOM_H" file="textbutton_b_h.png" type="BINDATA" /> <include name="IDR_TEXTBUTTON_BOTTOM_P" file="textbutton_b_p.png" type="BINDATA" /> <include name="IDR_TEXTBUTTON_BOTTOM_RIGHT_H" file="textbutton_br_h.png" type="BINDATA" /> <include name="IDR_TEXTBUTTON_BOTTOM_RIGHT_P" file="textbutton_br_p.png" type="BINDATA" /> @@ -120,9 +81,9 @@ <include name="IDR_TEXTBUTTON_LEFT_P" file="textbutton_l_p.png" type="BINDATA" /> <include name="IDR_TEXTBUTTON_RIGHT_H" file="textbutton_r_h.png" type="BINDATA" /> <include name="IDR_TEXTBUTTON_RIGHT_P" file="textbutton_r_p.png" type="BINDATA" /> + <include name="IDR_TEXTBUTTON_TOP_H" file="textbutton_t_h.png" type="BINDATA" /> <include name="IDR_TEXTBUTTON_TOP_LEFT_H" file="textbutton_tl_h.png" type="BINDATA" /> <include name="IDR_TEXTBUTTON_TOP_LEFT_P" file="textbutton_tl_p.png" type="BINDATA" /> - <include name="IDR_TEXTBUTTON_TOP_H" file="textbutton_t_h.png" type="BINDATA" /> <include name="IDR_TEXTBUTTON_TOP_P" file="textbutton_t_p.png" type="BINDATA" /> <include name="IDR_TEXTBUTTON_TOP_RIGHT_H" file="textbutton_tr_h.png" type="BINDATA" /> <include name="IDR_TEXTBUTTON_TOP_RIGHT_P" file="textbutton_tr_p.png" type="BINDATA" /> @@ -135,6 +96,17 @@ <include name="IDR_WINDOW_TOP_CENTER" file="window_top_center.png" type="BINDATA" /> <include name="IDR_WINDOW_TOP_LEFT_CORNER" file="window_top_left_corner.png" type="BINDATA" /> <include name="IDR_WINDOW_TOP_RIGHT_CORNER" file="window_top_right_corner.png" type="BINDATA" /> + + <!-- Images only used by the Views toolkit. --> + <if expr="pp_ifdef('toolkit_views')"> + <include name="IDR_APP_TOP_LEFT" file="app_top_left.png" type="BINDATA" /> + <include name="IDR_APP_TOP_RIGHT" file="app_top_right.png" type="BINDATA" /> + <include name="IDR_CLOSE_SA" file="close_sa.png" type="BINDATA" /> + <include name="IDR_CLOSE_SA_H" file="close_sa_h.png" type="BINDATA" /> + <include name="IDR_CLOSE_SA_P" file="close_sa_p.png" type="BINDATA" /> + <include name="IDR_MENU_ARROW" file="menu_arrow.png" type="BINDATA" /> + <include name="IDR_MENU_CHECK" file="menu_check.png" type="BINDATA" /> + </if> </includes> </release> </grit> diff --git a/app/resources/infobarbutton_b_h.png b/app/resources/infobarbutton_b_h.png Binary files differdeleted file mode 100644 index dbca1b9..0000000 --- a/app/resources/infobarbutton_b_h.png +++ /dev/null diff --git a/app/resources/infobarbutton_b_n.png b/app/resources/infobarbutton_b_n.png Binary files differdeleted file mode 100644 index 9c83bde..0000000 --- a/app/resources/infobarbutton_b_n.png +++ /dev/null diff --git a/app/resources/infobarbutton_b_p.png b/app/resources/infobarbutton_b_p.png Binary files differdeleted file mode 100644 index e8337a7..0000000 --- a/app/resources/infobarbutton_b_p.png +++ /dev/null diff --git a/app/resources/infobarbutton_bl_h.png b/app/resources/infobarbutton_bl_h.png Binary files differdeleted file mode 100644 index b621248..0000000 --- a/app/resources/infobarbutton_bl_h.png +++ /dev/null diff --git a/app/resources/infobarbutton_bl_n.png b/app/resources/infobarbutton_bl_n.png Binary files differdeleted file mode 100644 index b151024..0000000 --- a/app/resources/infobarbutton_bl_n.png +++ /dev/null diff --git a/app/resources/infobarbutton_bl_p.png b/app/resources/infobarbutton_bl_p.png Binary files differdeleted file mode 100644 index 382bb94..0000000 --- a/app/resources/infobarbutton_bl_p.png +++ /dev/null diff --git a/app/resources/infobarbutton_br_h.png b/app/resources/infobarbutton_br_h.png Binary files differdeleted file mode 100644 index 202e335..0000000 --- a/app/resources/infobarbutton_br_h.png +++ /dev/null diff --git a/app/resources/infobarbutton_br_n.png b/app/resources/infobarbutton_br_n.png Binary files differdeleted file mode 100644 index 1b89dd6..0000000 --- a/app/resources/infobarbutton_br_n.png +++ /dev/null diff --git a/app/resources/infobarbutton_br_p.png b/app/resources/infobarbutton_br_p.png Binary files differdeleted file mode 100644 index e6eaf529..0000000 --- a/app/resources/infobarbutton_br_p.png +++ /dev/null diff --git a/app/resources/infobarbutton_c_h.png b/app/resources/infobarbutton_c_h.png Binary files differdeleted file mode 100644 index f43ea7f..0000000 --- a/app/resources/infobarbutton_c_h.png +++ /dev/null diff --git a/app/resources/infobarbutton_c_n.png b/app/resources/infobarbutton_c_n.png Binary files differdeleted file mode 100644 index 17b9b6d..0000000 --- a/app/resources/infobarbutton_c_n.png +++ /dev/null diff --git a/app/resources/infobarbutton_c_p.png b/app/resources/infobarbutton_c_p.png Binary files differdeleted file mode 100644 index 7e1a1fcf..0000000 --- a/app/resources/infobarbutton_c_p.png +++ /dev/null diff --git a/app/resources/infobarbutton_l_h.png b/app/resources/infobarbutton_l_h.png Binary files differdeleted file mode 100644 index b41b437..0000000 --- a/app/resources/infobarbutton_l_h.png +++ /dev/null diff --git a/app/resources/infobarbutton_l_n.png b/app/resources/infobarbutton_l_n.png Binary files differdeleted file mode 100644 index 9209c58..0000000 --- a/app/resources/infobarbutton_l_n.png +++ /dev/null diff --git a/app/resources/infobarbutton_l_p.png b/app/resources/infobarbutton_l_p.png Binary files differdeleted file mode 100644 index efbd771..0000000 --- a/app/resources/infobarbutton_l_p.png +++ /dev/null diff --git a/app/resources/infobarbutton_menu_droparrow.png b/app/resources/infobarbutton_menu_droparrow.png Binary files differdeleted file mode 100644 index c9b183a..0000000 --- a/app/resources/infobarbutton_menu_droparrow.png +++ /dev/null diff --git a/app/resources/infobarbutton_r_h.png b/app/resources/infobarbutton_r_h.png Binary files differdeleted file mode 100644 index 85634d7..0000000 --- a/app/resources/infobarbutton_r_h.png +++ /dev/null diff --git a/app/resources/infobarbutton_r_n.png b/app/resources/infobarbutton_r_n.png Binary files differdeleted file mode 100644 index 03d6e18..0000000 --- a/app/resources/infobarbutton_r_n.png +++ /dev/null diff --git a/app/resources/infobarbutton_r_p.png b/app/resources/infobarbutton_r_p.png Binary files differdeleted file mode 100644 index 75b7e56..0000000 --- a/app/resources/infobarbutton_r_p.png +++ /dev/null diff --git a/app/resources/infobarbutton_t_h.png b/app/resources/infobarbutton_t_h.png Binary files differdeleted file mode 100644 index 1016c6d..0000000 --- a/app/resources/infobarbutton_t_h.png +++ /dev/null diff --git a/app/resources/infobarbutton_t_n.png b/app/resources/infobarbutton_t_n.png Binary files differdeleted file mode 100644 index 268186b..0000000 --- a/app/resources/infobarbutton_t_n.png +++ /dev/null diff --git a/app/resources/infobarbutton_t_p.png b/app/resources/infobarbutton_t_p.png Binary files differdeleted file mode 100644 index bc91279..0000000 --- a/app/resources/infobarbutton_t_p.png +++ /dev/null diff --git a/app/resources/infobarbutton_tl_h.png b/app/resources/infobarbutton_tl_h.png Binary files differdeleted file mode 100644 index 587b10c..0000000 --- a/app/resources/infobarbutton_tl_h.png +++ /dev/null diff --git a/app/resources/infobarbutton_tl_n.png b/app/resources/infobarbutton_tl_n.png Binary files differdeleted file mode 100644 index 1a65a95..0000000 --- a/app/resources/infobarbutton_tl_n.png +++ /dev/null diff --git a/app/resources/infobarbutton_tl_p.png b/app/resources/infobarbutton_tl_p.png Binary files differdeleted file mode 100644 index 374f3a0..0000000 --- a/app/resources/infobarbutton_tl_p.png +++ /dev/null diff --git a/app/resources/infobarbutton_tr_h.png b/app/resources/infobarbutton_tr_h.png Binary files differdeleted file mode 100644 index b6d88ed..0000000 --- a/app/resources/infobarbutton_tr_h.png +++ /dev/null diff --git a/app/resources/infobarbutton_tr_n.png b/app/resources/infobarbutton_tr_n.png Binary files differdeleted file mode 100644 index 08598d3..0000000 --- a/app/resources/infobarbutton_tr_n.png +++ /dev/null diff --git a/app/resources/infobarbutton_tr_p.png b/app/resources/infobarbutton_tr_p.png Binary files differdeleted file mode 100644 index d4d6278..0000000 --- a/app/resources/infobarbutton_tr_p.png +++ /dev/null diff --git a/app/resources/input_alert.png b/app/resources/input_alert.png Binary files differdeleted file mode 100644 index 503a545..0000000 --- a/app/resources/input_alert.png +++ /dev/null |