summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-13 22:57:27 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-13 22:57:27 +0000
commit903e37906e0e0ad6c7627dabeaac1a87e6e31552 (patch)
treefdeb7050028649b5223e2cb1ce562306816f4944 /chrome
parent3cdf37690c508a8251f0893e0a757b2fa50f7f2a (diff)
downloadchromium_src-903e37906e0e0ad6c7627dabeaac1a87e6e31552.zip
chromium_src-903e37906e0e0ad6c7627dabeaac1a87e6e31552.tar.gz
chromium_src-903e37906e0e0ad6c7627dabeaac1a87e6e31552.tar.bz2
Clean up app_resources.grd:
* Alphabetize a couple entries * Move things to theme_resources.grd where possible; also fixes problems in chrome.gyp and theme_resources.grd that were causing "toolkit_views" to not be properly handled here, so this won't cause problems * Scope things only used by views under an appropriate conditional BUG=none TEST=none Review URL: http://codereview.chromium.org/2987003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52238 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/app/theme/infobarbutton_b_h.pngbin0 -> 124 bytes
-rw-r--r--chrome/app/theme/infobarbutton_b_n.pngbin0 -> 124 bytes
-rw-r--r--chrome/app/theme/infobarbutton_b_p.pngbin0 -> 127 bytes
-rw-r--r--chrome/app/theme/infobarbutton_bl_h.pngbin0 -> 159 bytes
-rw-r--r--chrome/app/theme/infobarbutton_bl_n.pngbin0 -> 156 bytes
-rw-r--r--chrome/app/theme/infobarbutton_bl_p.pngbin0 -> 156 bytes
-rw-r--r--chrome/app/theme/infobarbutton_br_h.pngbin0 -> 156 bytes
-rw-r--r--chrome/app/theme/infobarbutton_br_n.pngbin0 -> 152 bytes
-rw-r--r--chrome/app/theme/infobarbutton_br_p.pngbin0 -> 156 bytes
-rw-r--r--chrome/app/theme/infobarbutton_c_h.pngbin0 -> 150 bytes
-rw-r--r--chrome/app/theme/infobarbutton_c_n.pngbin0 -> 134 bytes
-rw-r--r--chrome/app/theme/infobarbutton_c_p.pngbin0 -> 133 bytes
-rw-r--r--chrome/app/theme/infobarbutton_l_h.pngbin0 -> 137 bytes
-rw-r--r--chrome/app/theme/infobarbutton_l_n.pngbin0 -> 138 bytes
-rw-r--r--chrome/app/theme/infobarbutton_l_p.pngbin0 -> 137 bytes
-rw-r--r--chrome/app/theme/infobarbutton_menu_droparrow.pngbin0 -> 153 bytes
-rw-r--r--chrome/app/theme/infobarbutton_r_h.pngbin0 -> 160 bytes
-rw-r--r--chrome/app/theme/infobarbutton_r_n.pngbin0 -> 147 bytes
-rw-r--r--chrome/app/theme/infobarbutton_r_p.pngbin0 -> 142 bytes
-rw-r--r--chrome/app/theme/infobarbutton_t_h.pngbin0 -> 127 bytes
-rw-r--r--chrome/app/theme/infobarbutton_t_n.pngbin0 -> 126 bytes
-rw-r--r--chrome/app/theme/infobarbutton_t_p.pngbin0 -> 128 bytes
-rw-r--r--chrome/app/theme/infobarbutton_tl_h.pngbin0 -> 153 bytes
-rw-r--r--chrome/app/theme/infobarbutton_tl_n.pngbin0 -> 155 bytes
-rw-r--r--chrome/app/theme/infobarbutton_tl_p.pngbin0 -> 149 bytes
-rw-r--r--chrome/app/theme/infobarbutton_tr_h.pngbin0 -> 159 bytes
-rw-r--r--chrome/app/theme/infobarbutton_tr_n.pngbin0 -> 159 bytes
-rw-r--r--chrome/app/theme/infobarbutton_tr_p.pngbin0 -> 158 bytes
-rw-r--r--chrome/app/theme/input_alert.pngbin0 -> 845 bytes
-rw-r--r--chrome/app/theme/theme_resources.grd48
-rw-r--r--chrome/browser/autofill/autofill_dialog_controller_mac.mm1
-rw-r--r--chrome/browser/cocoa/edit_search_engine_cocoa_controller.mm3
-rw-r--r--chrome/browser/gtk/options/content_exception_editor.cc1
-rw-r--r--chrome/browser/views/autofill_profiles_view_win.cc1
-rw-r--r--chrome/browser/views/infobars/infobar_button_border.cc2
-rw-r--r--chrome/browser/views/infobars/translate_infobar_base.cc2
-rw-r--r--chrome/browser/views/options/exception_editor_view.cc1
-rw-r--r--chrome/chrome.gyp3
38 files changed, 51 insertions, 11 deletions
diff --git a/chrome/app/theme/infobarbutton_b_h.png b/chrome/app/theme/infobarbutton_b_h.png
new file mode 100644
index 0000000..dbca1b9
--- /dev/null
+++ b/chrome/app/theme/infobarbutton_b_h.png
Binary files differ
diff --git a/chrome/app/theme/infobarbutton_b_n.png b/chrome/app/theme/infobarbutton_b_n.png
new file mode 100644
index 0000000..9c83bde
--- /dev/null
+++ b/chrome/app/theme/infobarbutton_b_n.png
Binary files differ
diff --git a/chrome/app/theme/infobarbutton_b_p.png b/chrome/app/theme/infobarbutton_b_p.png
new file mode 100644
index 0000000..e8337a7
--- /dev/null
+++ b/chrome/app/theme/infobarbutton_b_p.png
Binary files differ
diff --git a/chrome/app/theme/infobarbutton_bl_h.png b/chrome/app/theme/infobarbutton_bl_h.png
new file mode 100644
index 0000000..b621248
--- /dev/null
+++ b/chrome/app/theme/infobarbutton_bl_h.png
Binary files differ
diff --git a/chrome/app/theme/infobarbutton_bl_n.png b/chrome/app/theme/infobarbutton_bl_n.png
new file mode 100644
index 0000000..b151024
--- /dev/null
+++ b/chrome/app/theme/infobarbutton_bl_n.png
Binary files differ
diff --git a/chrome/app/theme/infobarbutton_bl_p.png b/chrome/app/theme/infobarbutton_bl_p.png
new file mode 100644
index 0000000..382bb94
--- /dev/null
+++ b/chrome/app/theme/infobarbutton_bl_p.png
Binary files differ
diff --git a/chrome/app/theme/infobarbutton_br_h.png b/chrome/app/theme/infobarbutton_br_h.png
new file mode 100644
index 0000000..202e335
--- /dev/null
+++ b/chrome/app/theme/infobarbutton_br_h.png
Binary files differ
diff --git a/chrome/app/theme/infobarbutton_br_n.png b/chrome/app/theme/infobarbutton_br_n.png
new file mode 100644
index 0000000..1b89dd6
--- /dev/null
+++ b/chrome/app/theme/infobarbutton_br_n.png
Binary files differ
diff --git a/chrome/app/theme/infobarbutton_br_p.png b/chrome/app/theme/infobarbutton_br_p.png
new file mode 100644
index 0000000..e6eaf529
--- /dev/null
+++ b/chrome/app/theme/infobarbutton_br_p.png
Binary files differ
diff --git a/chrome/app/theme/infobarbutton_c_h.png b/chrome/app/theme/infobarbutton_c_h.png
new file mode 100644
index 0000000..f43ea7f
--- /dev/null
+++ b/chrome/app/theme/infobarbutton_c_h.png
Binary files differ
diff --git a/chrome/app/theme/infobarbutton_c_n.png b/chrome/app/theme/infobarbutton_c_n.png
new file mode 100644
index 0000000..17b9b6d
--- /dev/null
+++ b/chrome/app/theme/infobarbutton_c_n.png
Binary files differ
diff --git a/chrome/app/theme/infobarbutton_c_p.png b/chrome/app/theme/infobarbutton_c_p.png
new file mode 100644
index 0000000..7e1a1fcf
--- /dev/null
+++ b/chrome/app/theme/infobarbutton_c_p.png
Binary files differ
diff --git a/chrome/app/theme/infobarbutton_l_h.png b/chrome/app/theme/infobarbutton_l_h.png
new file mode 100644
index 0000000..b41b437
--- /dev/null
+++ b/chrome/app/theme/infobarbutton_l_h.png
Binary files differ
diff --git a/chrome/app/theme/infobarbutton_l_n.png b/chrome/app/theme/infobarbutton_l_n.png
new file mode 100644
index 0000000..9209c58
--- /dev/null
+++ b/chrome/app/theme/infobarbutton_l_n.png
Binary files differ
diff --git a/chrome/app/theme/infobarbutton_l_p.png b/chrome/app/theme/infobarbutton_l_p.png
new file mode 100644
index 0000000..efbd771
--- /dev/null
+++ b/chrome/app/theme/infobarbutton_l_p.png
Binary files differ
diff --git a/chrome/app/theme/infobarbutton_menu_droparrow.png b/chrome/app/theme/infobarbutton_menu_droparrow.png
new file mode 100644
index 0000000..c9b183a
--- /dev/null
+++ b/chrome/app/theme/infobarbutton_menu_droparrow.png
Binary files differ
diff --git a/chrome/app/theme/infobarbutton_r_h.png b/chrome/app/theme/infobarbutton_r_h.png
new file mode 100644
index 0000000..85634d7
--- /dev/null
+++ b/chrome/app/theme/infobarbutton_r_h.png
Binary files differ
diff --git a/chrome/app/theme/infobarbutton_r_n.png b/chrome/app/theme/infobarbutton_r_n.png
new file mode 100644
index 0000000..03d6e18
--- /dev/null
+++ b/chrome/app/theme/infobarbutton_r_n.png
Binary files differ
diff --git a/chrome/app/theme/infobarbutton_r_p.png b/chrome/app/theme/infobarbutton_r_p.png
new file mode 100644
index 0000000..75b7e56
--- /dev/null
+++ b/chrome/app/theme/infobarbutton_r_p.png
Binary files differ
diff --git a/chrome/app/theme/infobarbutton_t_h.png b/chrome/app/theme/infobarbutton_t_h.png
new file mode 100644
index 0000000..1016c6d
--- /dev/null
+++ b/chrome/app/theme/infobarbutton_t_h.png
Binary files differ
diff --git a/chrome/app/theme/infobarbutton_t_n.png b/chrome/app/theme/infobarbutton_t_n.png
new file mode 100644
index 0000000..268186b
--- /dev/null
+++ b/chrome/app/theme/infobarbutton_t_n.png
Binary files differ
diff --git a/chrome/app/theme/infobarbutton_t_p.png b/chrome/app/theme/infobarbutton_t_p.png
new file mode 100644
index 0000000..bc91279
--- /dev/null
+++ b/chrome/app/theme/infobarbutton_t_p.png
Binary files differ
diff --git a/chrome/app/theme/infobarbutton_tl_h.png b/chrome/app/theme/infobarbutton_tl_h.png
new file mode 100644
index 0000000..587b10c
--- /dev/null
+++ b/chrome/app/theme/infobarbutton_tl_h.png
Binary files differ
diff --git a/chrome/app/theme/infobarbutton_tl_n.png b/chrome/app/theme/infobarbutton_tl_n.png
new file mode 100644
index 0000000..1a65a95
--- /dev/null
+++ b/chrome/app/theme/infobarbutton_tl_n.png
Binary files differ
diff --git a/chrome/app/theme/infobarbutton_tl_p.png b/chrome/app/theme/infobarbutton_tl_p.png
new file mode 100644
index 0000000..374f3a0
--- /dev/null
+++ b/chrome/app/theme/infobarbutton_tl_p.png
Binary files differ
diff --git a/chrome/app/theme/infobarbutton_tr_h.png b/chrome/app/theme/infobarbutton_tr_h.png
new file mode 100644
index 0000000..b6d88ed
--- /dev/null
+++ b/chrome/app/theme/infobarbutton_tr_h.png
Binary files differ
diff --git a/chrome/app/theme/infobarbutton_tr_n.png b/chrome/app/theme/infobarbutton_tr_n.png
new file mode 100644
index 0000000..08598d3
--- /dev/null
+++ b/chrome/app/theme/infobarbutton_tr_n.png
Binary files differ
diff --git a/chrome/app/theme/infobarbutton_tr_p.png b/chrome/app/theme/infobarbutton_tr_p.png
new file mode 100644
index 0000000..d4d6278
--- /dev/null
+++ b/chrome/app/theme/infobarbutton_tr_p.png
Binary files differ
diff --git a/chrome/app/theme/input_alert.png b/chrome/app/theme/input_alert.png
new file mode 100644
index 0000000..503a545
--- /dev/null
+++ b/chrome/app/theme/input_alert.png
Binary files differ
diff --git a/chrome/app/theme/theme_resources.grd b/chrome/app/theme/theme_resources.grd
index e1e690c..20b8924 100644
--- a/chrome/app/theme/theme_resources.grd
+++ b/chrome/app/theme/theme_resources.grd
@@ -198,6 +198,7 @@
<include name="IDR_INFOBAR_TRANSLATE" file="chromium/infobar_translate.png" type="BINDATA" />
</if>
<include name="IDR_INFO_BUBBLE_CLOSE" file="bubble_close.png" type="BINDATA" />
+ <include name="IDR_INPUT_ALERT" file="input_alert.png" type="BINDATA" />
<include name="IDR_LOCATIONBG_C" file="locationbg_c.png" type="BINDATA" />
<include name="IDR_LOCATIONBG_L" file="locationbg_l.png" type="BINDATA" />
<include name="IDR_LOCATIONBG_POPUPMODE_CENTER" file="locationbg_readonly_center.png" type="BINDATA" />
@@ -380,13 +381,13 @@
<include name="IDR_TAB_INACTIVE_NANO_RIGHT" file="tab_inactive_nano_right.png" type="BINDATA" />
<include name="IDR_TAB_INACTIVE_RIGHT" file="tab_inactive_right.png" type="BINDATA" />
<include name="IDR_THEME_BUTTON_BACKGROUND" file="notused.png" type="BINDATA" />
- <if expr="pp_ifdef('chromeos') or pp_ifdef('toolkit_views')">
+ <if expr="pp_ifdef('chromeos')">
<include name="IDR_THEME_FRAME" file="theme_frame_default2.png" type="BINDATA" />
<include name="IDR_THEME_FRAME_INACTIVE" file="theme_frame_default_inactive2.png" type="BINDATA" />
<include name="IDR_THEME_FRAME_INCOGNITO" file="theme_frame_default_incognito2.png" type="BINDATA" />
<include name="IDR_THEME_FRAME_INCOGNITO_INACTIVE" file="theme_frame_default_incognito_inactive2.png" type="BINDATA" />
</if>
- <if expr="not pp_ifdef('chromeos') and not pp_ifdef('toolkit_views')">
+ <if expr="not pp_ifdef('chromeos')">
<include name="IDR_THEME_FRAME" file="theme_frame_default.png" type="BINDATA" />
<include name="IDR_THEME_FRAME_INACTIVE" file="theme_frame_default_inactive.png" type="BINDATA" />
<include name="IDR_THEME_FRAME_INCOGNITO" file="theme_frame_default_incognito.png" type="BINDATA" />
@@ -396,18 +397,18 @@
<include name="IDR_THEME_FRAME_OVERLAY_INACTIVE" file="notused.png" type="BINDATA" />
<include name="IDR_THEME_NTP_ATTRIBUTION" file="notused.png" type="BINDATA" />
<include name="IDR_THEME_NTP_BACKGROUND" file="ntp_background.png" type="BINDATA" />
- <if expr="pp_ifdef('chromeos') or pp_ifdef('toolkit_views')">
+ <if expr="pp_ifdef('chromeos')">
<include name="IDR_THEME_TAB_BACKGROUND" file="theme_tab_background2.png" type="BINDATA" />
</if>
- <if expr="not pp_ifdef('chromeos') and not pp_ifdef('toolkit_views')">
+ <if expr="not pp_ifdef('chromeos')">
<include name="IDR_THEME_TAB_BACKGROUND" file="theme_tab_background.png" type="BINDATA" />
</if>
<include name="IDR_THEME_TAB_BACKGROUND_INCOGNITO" file="theme_tab_background_incognito.png" type="BINDATA" />
<include name="IDR_THEME_TAB_BACKGROUND_V" file="theme_tab_background_glass.png" type="BINDATA" />
- <if expr="pp_ifdef('chromeos') or pp_ifdef('toolkit_views')">
+ <if expr="pp_ifdef('chromeos')">
<include name="IDR_THEME_TOOLBAR" file="theme_toolbar_default2.png" type="BINDATA" />
</if>
- <if expr="not pp_ifdef('chromeos') and not pp_ifdef('toolkit_views')">
+ <if expr="not pp_ifdef('chromeos')">
<include name="IDR_THEME_TOOLBAR" file="theme_toolbar_default.png" type="BINDATA" />
</if>
<include name="IDR_THEME_WINDOW_CONTROL_BACKGROUND" file="notused.png" type="BINDATA" />
@@ -429,11 +430,43 @@
<include name="IDR_WIZARD_ICON_RTL" file="chromium/wizard_icon_rtl.png" type="BINDATA" />
</if>
+ <!-- Images only used by the Views toolkit. -->
+ <if expr="pp_ifdef('toolkit_views')">
+ <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_P" file="infobarbutton_l_p.png" type="BINDATA" />
+ <include name="IDR_INFOBARBUTTON_LEFT_N" file="infobarbutton_l_n.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" />
+ </if>
+
<if expr="pp_ifdef('chromeos')">
<include name="IDR_NOTIFICATION_MENU" file="notification_menu.png" type="BINDATA" />
</if>
- <if expr="pp_ifdef('chromeos') or pp_ifdef('toolkit_views')">
+ <if expr="pp_ifdef('chromeos')">
<include name="IDR_COMPACTNAV_BACK" file="compactnav_back.png" type="BINDATA" />
<include name="IDR_COMPACTNAV_FORWARD" file="compactnav_forward.png" type="BINDATA" />
<include name="IDR_COMPACTNAV_SEPARATOR" file="compactnav_separator.png" type="BINDATA" />
@@ -524,7 +557,6 @@
<include name="IDR_STATUSBAR_NETWORK_WIRED_PRESSED" file="statusbar_network_wired_pressed.png" type="BINDATA" />
<include name="IDR_STATUSBAR_WIRED" file="statusbar_wired.png" type="BINDATA" />
<include name="IDR_STATUSBAR_WIRED_BLACK" file="statusbar_wiredb.png" type="BINDATA" />
- <include name="IDR_STATUSBAR_WIRED_BLACK" file="statusbar_wiredb.png" type="BINDATA" />
<include name="IDR_USER_IMAGE_NO_VIDEO" file="login_other.png" type="BINDATA" />
<include name="IDR_VOLUMEBUBBLE_ICON" file="volume_icon.png" type="BINDATA" />
</if>
diff --git a/chrome/browser/autofill/autofill_dialog_controller_mac.mm b/chrome/browser/autofill/autofill_dialog_controller_mac.mm
index 941eab9..b0feb24 100644
--- a/chrome/browser/autofill/autofill_dialog_controller_mac.mm
+++ b/chrome/browser/autofill/autofill_dialog_controller_mac.mm
@@ -21,6 +21,7 @@
#include "chrome/common/pref_names.h"
#include "grit/generated_resources.h"
#include "grit/app_resources.h"
+#include "grit/theme_resources.h"
// Delegate protocol that needs to be in place for the AutoFillTableView's
// handling of delete and backspace keys.
diff --git a/chrome/browser/cocoa/edit_search_engine_cocoa_controller.mm b/chrome/browser/cocoa/edit_search_engine_cocoa_controller.mm
index 7bd5219..dcb97ed 100644
--- a/chrome/browser/cocoa/edit_search_engine_cocoa_controller.mm
+++ b/chrome/browser/cocoa/edit_search_engine_cocoa_controller.mm
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -11,6 +11,7 @@
#include "chrome/browser/search_engines/template_url_model.h"
#include "grit/app_resources.h"
#include "grit/generated_resources.h"
+#include "grit/theme_resources.h"
#include "third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.h"
namespace {
diff --git a/chrome/browser/gtk/options/content_exception_editor.cc b/chrome/browser/gtk/options/content_exception_editor.cc
index 002dfb3..10b786a 100644
--- a/chrome/browser/gtk/options/content_exception_editor.cc
+++ b/chrome/browser/gtk/options/content_exception_editor.cc
@@ -13,6 +13,7 @@
#include "chrome/browser/host_content_settings_map.h"
#include "grit/app_resources.h"
#include "grit/generated_resources.h"
+#include "grit/theme_resources.h"
ContentExceptionEditor::ContentExceptionEditor(
GtkWindow* parent,
diff --git a/chrome/browser/views/autofill_profiles_view_win.cc b/chrome/browser/views/autofill_profiles_view_win.cc
index fcc732ce..7900250 100644
--- a/chrome/browser/views/autofill_profiles_view_win.cc
+++ b/chrome/browser/views/autofill_profiles_view_win.cc
@@ -28,6 +28,7 @@
#include "grit/generated_resources.h"
#include "grit/theme_resources.h"
#include "grit/locale_settings.h"
+#include "grit/theme_resources.h"
#include "views/border.h"
#include "views/controls/button/image_button.h"
#include "views/controls/button/native_button.h"
diff --git a/chrome/browser/views/infobars/infobar_button_border.cc b/chrome/browser/views/infobars/infobar_button_border.cc
index c52a2bb..7a0ad9d 100644
--- a/chrome/browser/views/infobars/infobar_button_border.cc
+++ b/chrome/browser/views/infobars/infobar_button_border.cc
@@ -7,7 +7,7 @@
#include "app/l10n_util.h"
#include "app/resource_bundle.h"
#include "gfx/canvas.h"
-#include "grit/app_resources.h"
+#include "grit/theme_resources.h"
#include "views/controls/button/text_button.h"
// Preferred padding between text and edge
diff --git a/chrome/browser/views/infobars/translate_infobar_base.cc b/chrome/browser/views/infobars/translate_infobar_base.cc
index e80910b..1527c0b 100644
--- a/chrome/browser/views/infobars/translate_infobar_base.cc
+++ b/chrome/browser/views/infobars/translate_infobar_base.cc
@@ -13,7 +13,7 @@
#include "chrome/browser/views/infobars/translate_message_infobar.h"
#include "chrome/browser/views/infobars/infobar_button_border.h"
#include "gfx/canvas_skia.h"
-#include "grit/app_resources.h"
+#include "grit/theme_resources.h"
#include "views/controls/button/menu_button.h"
#include "views/controls/image_view.h"
diff --git a/chrome/browser/views/options/exception_editor_view.cc b/chrome/browser/views/options/exception_editor_view.cc
index 2bb8287..88e396b 100644
--- a/chrome/browser/views/options/exception_editor_view.cc
+++ b/chrome/browser/views/options/exception_editor_view.cc
@@ -12,6 +12,7 @@
#include "googleurl/src/url_parse.h"
#include "grit/app_resources.h"
#include "grit/generated_resources.h"
+#include "grit/theme_resources.h"
#include "views/grid_layout.h"
#include "views/controls/image_view.h"
#include "views/controls/label.h"
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp
index b6e961d..f8d27cb 100644
--- a/chrome/chrome.gyp
+++ b/chrome/chrome.gyp
@@ -345,6 +345,9 @@
['chromeos==1', {
'action': ['-D', 'chromeos'],
}],
+ ['toolkit_views==1', {
+ 'action': ['-D', 'toolkit_views'],
+ }],
['use_titlecase_in_grd_files==1', {
'action': ['-D', 'use_titlecase'],
}],