diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-20 23:19:46 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-20 23:19:46 +0000 |
commit | 42ce29d4f464b36ddaebefb6d6c33e7418e93141 (patch) | |
tree | 0d0a4965d61ef1514dee70c9f2507529d8c5b178 /chrome/browser/chromeos | |
parent | 0ffeb598304f119e2d3df70d47a592d2dbc722da (diff) | |
download | chromium_src-42ce29d4f464b36ddaebefb6d6c33e7418e93141.zip chromium_src-42ce29d4f464b36ddaebefb6d6c33e7418e93141.tar.gz chromium_src-42ce29d4f464b36ddaebefb6d6c33e7418e93141.tar.bz2 |
Move ResourceBundle, DataPack to ui/base
BUG=none
TEST=none
TBR=brettw
Review URL: http://codereview.chromium.org/6263008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72038 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos')
54 files changed, 57 insertions, 56 deletions
diff --git a/chrome/browser/chromeos/brightness_bubble.cc b/chrome/browser/chromeos/brightness_bubble.cc index 5299e4b..11664e5 100644 --- a/chrome/browser/chromeos/brightness_bubble.cc +++ b/chrome/browser/chromeos/brightness_bubble.cc @@ -4,9 +4,9 @@ #include "chrome/browser/chromeos/brightness_bubble.h" -#include "app/resource_bundle.h" #include "base/singleton.h" #include "grit/theme_resources.h" +#include "ui/base/resource/resource_bundle.h" namespace chromeos { diff --git a/chrome/browser/chromeos/dom_ui/imageburner_ui.cc b/chrome/browser/chromeos/dom_ui/imageburner_ui.cc index bd08dd3..5a5da77 100644 --- a/chrome/browser/chromeos/dom_ui/imageburner_ui.cc +++ b/chrome/browser/chromeos/dom_ui/imageburner_ui.cc @@ -7,7 +7,6 @@ #include <algorithm> #include "app/l10n_util.h" -#include "app/resource_bundle.h" #include "base/i18n/rtl.h" #include "base/message_loop.h" #include "base/path_service.h" @@ -27,7 +26,7 @@ #include "grit/browser_resources.h" #include "grit/generated_resources.h" #include "grit/locale_settings.h" - +#include "ui/base/resource/resource_bundle.h" //////////////////////////////////////////////////////////////////////////////// // diff --git a/chrome/browser/chromeos/dom_ui/internet_options_handler.cc b/chrome/browser/chromeos/dom_ui/internet_options_handler.cc index 1b37cea..d992ba4 100644 --- a/chrome/browser/chromeos/dom_ui/internet_options_handler.cc +++ b/chrome/browser/chromeos/dom_ui/internet_options_handler.cc @@ -10,7 +10,6 @@ #include <vector> #include "app/l10n_util.h" -#include "app/resource_bundle.h" #include "base/base64.h" #include "base/basictypes.h" #include "base/callback.h" @@ -34,8 +33,9 @@ #include "grit/generated_resources.h" #include "grit/locale_settings.h" #include "grit/theme_resources.h" -#include "views/window/window.h" #include "third_party/skia/include/core/SkBitmap.h" +#include "ui/base/resource/resource_bundle.h" +#include "views/window/window.h" static const char kOtherNetworksFakePath[] = "?"; diff --git a/chrome/browser/chromeos/dom_ui/keyboard_overlay_ui.cc b/chrome/browser/chromeos/dom_ui/keyboard_overlay_ui.cc index d168190..2630d4c 100644 --- a/chrome/browser/chromeos/dom_ui/keyboard_overlay_ui.cc +++ b/chrome/browser/chromeos/dom_ui/keyboard_overlay_ui.cc @@ -5,7 +5,6 @@ #include "chrome/browser/chromeos/dom_ui/keyboard_overlay_ui.h" #include "app/l10n_util.h" -#include "app/resource_bundle.h" #include "base/callback.h" #include "base/values.h" #include "base/weak_ptr.h" @@ -19,6 +18,7 @@ #include "grit/browser_resources.h" #include "grit/generated_resources.h" #include "third_party/cros/chromeos_input_method.h" +#include "ui/base/resource/resource_bundle.h" class KeyboardOverlayUIHTMLSource : public ChromeURLDataManager::DataSource { diff --git a/chrome/browser/chromeos/dom_ui/login/login_ui_helpers.cc b/chrome/browser/chromeos/dom_ui/login/login_ui_helpers.cc index c0d05d0..3cf1d52 100644 --- a/chrome/browser/chromeos/dom_ui/login/login_ui_helpers.cc +++ b/chrome/browser/chromeos/dom_ui/login/login_ui_helpers.cc @@ -5,7 +5,6 @@ #include <algorithm> -#include "app/resource_bundle.h" #include "base/file_path.h" #include "base/path_service.h" #include "base/values.h" @@ -18,6 +17,7 @@ #include "chrome/common/chrome_paths.h" #include "chrome/common/jstemplate_builder.h" #include "grit/browser_resources.h" +#include "ui/base/resource/resource_bundle.h" namespace chromeos { diff --git a/chrome/browser/chromeos/dom_ui/menu_ui.cc b/chrome/browser/chromeos/dom_ui/menu_ui.cc index 08b6440..2d362d3 100644 --- a/chrome/browser/chromeos/dom_ui/menu_ui.cc +++ b/chrome/browser/chromeos/dom_ui/menu_ui.cc @@ -6,7 +6,6 @@ #include <algorithm> -#include "app/resource_bundle.h" #include "base/callback.h" #include "base/command_line.h" #include "base/json/json_writer.h" @@ -32,6 +31,7 @@ #include "grit/app_resources.h" #include "grit/browser_resources.h" #include "ui/base/models/menu_model.h" +#include "ui/base/resource/resource_bundle.h" #include "views/accelerator.h" #include "views/controls/menu/menu_config.h" #include "views/controls/menu/radio_button_image_gtk.h" diff --git a/chrome/browser/chromeos/dom_ui/mobile_setup_ui.cc b/chrome/browser/chromeos/dom_ui/mobile_setup_ui.cc index e1dbd7a..10ebbcd 100644 --- a/chrome/browser/chromeos/dom_ui/mobile_setup_ui.cc +++ b/chrome/browser/chromeos/dom_ui/mobile_setup_ui.cc @@ -9,7 +9,6 @@ #include <string> #include "app/l10n_util.h" -#include "app/resource_bundle.h" #include "base/callback.h" #include "base/file_util.h" #include "base/json/json_reader.h" @@ -39,6 +38,7 @@ #include "grit/chromium_strings.h" #include "grit/generated_resources.h" #include "grit/locale_settings.h" +#include "ui/base/resource/resource_bundle.h" namespace { diff --git a/chrome/browser/chromeos/dom_ui/proxy_handler.cc b/chrome/browser/chromeos/dom_ui/proxy_handler.cc index 759d8bd..be7f5d8 100644 --- a/chrome/browser/chromeos/dom_ui/proxy_handler.cc +++ b/chrome/browser/chromeos/dom_ui/proxy_handler.cc @@ -5,7 +5,6 @@ #include "chrome/browser/chromeos/dom_ui/proxy_handler.h" #include "app/l10n_util.h" -#include "app/resource_bundle.h" #include "base/basictypes.h" #include "base/callback.h" #include "base/stl_util-inl.h" @@ -18,6 +17,7 @@ #include "grit/generated_resources.h" #include "grit/locale_settings.h" #include "grit/theme_resources.h" +#include "ui/base/resource/resource_bundle.h" namespace chromeos { diff --git a/chrome/browser/chromeos/dom_ui/register_page_ui.cc b/chrome/browser/chromeos/dom_ui/register_page_ui.cc index 1778490..3d863be 100644 --- a/chrome/browser/chromeos/dom_ui/register_page_ui.cc +++ b/chrome/browser/chromeos/dom_ui/register_page_ui.cc @@ -6,7 +6,6 @@ #include <string> -#include "app/resource_bundle.h" #include "base/callback.h" #include "base/logging.h" #include "base/string_piece.h" @@ -26,6 +25,7 @@ #include "chrome/common/url_constants.h" #include "googleurl/src/gurl.h" #include "grit/browser_resources.h" +#include "ui/base/resource/resource_bundle.h" namespace { diff --git a/chrome/browser/chromeos/dom_ui/system_info_ui.cc b/chrome/browser/chromeos/dom_ui/system_info_ui.cc index 71f9865..500e59d 100644 --- a/chrome/browser/chromeos/dom_ui/system_info_ui.cc +++ b/chrome/browser/chromeos/dom_ui/system_info_ui.cc @@ -5,7 +5,6 @@ #include "chrome/browser/chromeos/dom_ui/system_info_ui.h" #include "app/l10n_util.h" -#include "app/resource_bundle.h" #include "base/callback.h" #include "base/message_loop.h" #include "base/path_service.h" @@ -29,6 +28,7 @@ #include "grit/chromium_strings.h" #include "grit/generated_resources.h" #include "grit/locale_settings.h" +#include "ui/base/resource/resource_bundle.h" class SystemInfoUIHTMLSource : public ChromeURLDataManager::DataSource { public: diff --git a/chrome/browser/chromeos/frame/bubble_frame_view.cc b/chrome/browser/chromeos/frame/bubble_frame_view.cc index d12206d..9086c82 100644 --- a/chrome/browser/chromeos/frame/bubble_frame_view.cc +++ b/chrome/browser/chromeos/frame/bubble_frame_view.cc @@ -4,7 +4,6 @@ #include "chrome/browser/chromeos/frame/bubble_frame_view.h" -#include "app/resource_bundle.h" #include "gfx/canvas_skia.h" #include "gfx/font.h" #include "gfx/insets.h" @@ -14,6 +13,7 @@ #include "chrome/browser/chromeos/login/helper.h" #include "chrome/browser/ui/views/bubble_border.h" #include "grit/theme_resources.h" +#include "ui/base/resource/resource_bundle.h" #include "views/controls/button/image_button.h" #include "views/controls/label.h" #include "views/controls/throbber.h" diff --git a/chrome/browser/chromeos/frame/panel_controller.cc b/chrome/browser/chromeos/frame/panel_controller.cc index 5770c87..ac92244 100644 --- a/chrome/browser/chromeos/frame/panel_controller.cc +++ b/chrome/browser/chromeos/frame/panel_controller.cc @@ -6,7 +6,6 @@ #include <vector> -#include "app/resource_bundle.h" #include "base/logging.h" #include "base/scoped_ptr.h" #include "base/singleton.h" @@ -21,6 +20,7 @@ #include "third_party/cros/chromeos_wm_ipc_enums.h" #include "third_party/skia/include/effects/SkBlurMaskFilter.h" #include "third_party/skia/include/effects/SkGradientShader.h" +#include "ui/base/resource/resource_bundle.h" #include "views/controls/button/image_button.h" #include "views/controls/image_view.h" #include "views/controls/label.h" diff --git a/chrome/browser/chromeos/input_method/candidate_window_main.cc b/chrome/browser/chromeos/input_method/candidate_window_main.cc index 1d6ff43..4e54cf0 100644 --- a/chrome/browser/chromeos/input_method/candidate_window_main.cc +++ b/chrome/browser/chromeos/input_method/candidate_window_main.cc @@ -10,7 +10,6 @@ #include "app/app_paths.h" #include "app/l10n_util.h" -#include "app/resource_bundle.h" #include "base/at_exit.h" #include "base/command_line.h" #include "base/message_loop.h" @@ -21,6 +20,8 @@ #include "chrome/common/chrome_switches.h" #include "grit/app_locale_settings.h" #include "third_party/cros/chromeos_cros_api.h" +#include "ui/base/resource/resource_bundle.h" +#include "ui/base/ui_base_paths.h" #include "views/focus/accelerator_handler.h" int main(int argc, char** argv) { @@ -33,6 +34,7 @@ int main(int argc, char** argv) { base::AtExitManager exit_manager; base::EnableTerminationOnHeapCorruption(); app::RegisterPathProvider(); + ui::RegisterPathProvider(); CommandLine::Init(argc, argv); // Check if the UI language code is passed from the command line, diff --git a/chrome/browser/chromeos/login/background_view.cc b/chrome/browser/chromeos/login/background_view.cc index b2da474..4474326 100644 --- a/chrome/browser/chromeos/login/background_view.cc +++ b/chrome/browser/chromeos/login/background_view.cc @@ -8,7 +8,6 @@ #include <vector> #include "app/l10n_util.h" -#include "app/resource_bundle.h" #include "base/string16.h" #include "base/string_util.h" #include "base/stringprintf.h" @@ -34,6 +33,7 @@ #include "grit/generated_resources.h" #include "grit/theme_resources.h" #include "third_party/cros/chromeos_wm_ipc_enums.h" +#include "ui/base/resource/resource_bundle.h" #include "ui/base/x/x11_util.h" #include "views/controls/button/text_button.h" #include "views/controls/label.h" diff --git a/chrome/browser/chromeos/login/eula_view.cc b/chrome/browser/chromeos/login/eula_view.cc index 12e36d3..5cb76ae 100644 --- a/chrome/browser/chromeos/login/eula_view.cc +++ b/chrome/browser/chromeos/login/eula_view.cc @@ -9,7 +9,6 @@ #include <string> #include "app/l10n_util.h" -#include "app/resource_bundle.h" #include "base/basictypes.h" #include "base/message_loop.h" #include "base/task.h" @@ -36,6 +35,7 @@ #include "grit/generated_resources.h" #include "grit/locale_settings.h" #include "grit/theme_resources.h" +#include "ui/base/resource/resource_bundle.h" #include "views/controls/button/checkbox.h" #include "views/controls/label.h" #include "views/controls/throbber.h" diff --git a/chrome/browser/chromeos/login/existing_user_controller.cc b/chrome/browser/chromeos/login/existing_user_controller.cc index 0ec0718..e261b7d 100644 --- a/chrome/browser/chromeos/login/existing_user_controller.cc +++ b/chrome/browser/chromeos/login/existing_user_controller.cc @@ -9,7 +9,6 @@ #include <map> #include "app/l10n_util.h" -#include "app/resource_bundle.h" #include "base/command_line.h" #include "base/message_loop.h" #include "base/stl_util-inl.h" @@ -38,6 +37,7 @@ #include "grit/chromium_strings.h" #include "grit/generated_resources.h" #include "grit/theme_resources.h" +#include "ui/base/resource/resource_bundle.h" #include "views/screen.h" #include "views/widget/widget_gtk.h" #include "views/window/window.h" diff --git a/chrome/browser/chromeos/login/helper.cc b/chrome/browser/chromeos/login/helper.cc index 14fc92b..38813c4 100644 --- a/chrome/browser/chromeos/login/helper.cc +++ b/chrome/browser/chromeos/login/helper.cc @@ -4,12 +4,12 @@ #include "chrome/browser/chromeos/login/helper.h" -#include "app/resource_bundle.h" #include "chrome/browser/google/google_util.h" #include "gfx/canvas_skia.h" #include "googleurl/src/gurl.h" #include "grit/theme_resources.h" #include "third_party/skia/include/effects/SkGradientShader.h" +#include "ui/base/resource/resource_bundle.h" #include "views/controls/button/menu_button.h" #include "views/controls/button/native_button.h" #include "views/controls/label.h" diff --git a/chrome/browser/chromeos/login/language_switch_menu.cc b/chrome/browser/chromeos/login/language_switch_menu.cc index c94182e..c8bd42f 100644 --- a/chrome/browser/chromeos/login/language_switch_menu.cc +++ b/chrome/browser/chromeos/login/language_switch_menu.cc @@ -4,7 +4,6 @@ #include "chrome/browser/chromeos/login/language_switch_menu.h" -#include "app/resource_bundle.h" #include "base/i18n/rtl.h" #include "base/utf_string_conversions.h" #include "chrome/browser/browser_process.h" @@ -16,6 +15,7 @@ #include "chrome/browser/prefs/pref_service.h" #include "chrome/common/pref_names.h" #include "grit/generated_resources.h" +#include "ui/base/resource/resource_bundle.h" #include "views/controls/button/menu_button.h" #include "views/widget/widget_gtk.h" diff --git a/chrome/browser/chromeos/login/login_performer.cc b/chrome/browser/chromeos/login/login_performer.cc index 8105f7a..ad89594 100644 --- a/chrome/browser/chromeos/login/login_performer.cc +++ b/chrome/browser/chromeos/login/login_performer.cc @@ -7,7 +7,6 @@ #include <string> #include "app/l10n_util.h" -#include "app/resource_bundle.h" #include "base/logging.h" #include "base/message_loop.h" #include "base/metrics/histogram.h" @@ -26,6 +25,7 @@ #include "chrome/common/notification_service.h" #include "chrome/common/notification_type.h" #include "grit/generated_resources.h" +#include "ui/base/resource/resource_bundle.h" namespace chromeos { diff --git a/chrome/browser/chromeos/login/login_screen.cc b/chrome/browser/chromeos/login/login_screen.cc index 515b7be..cbc6f35 100644 --- a/chrome/browser/chromeos/login/login_screen.cc +++ b/chrome/browser/chromeos/login/login_screen.cc @@ -5,7 +5,6 @@ #include "chrome/browser/chromeos/login/login_screen.h" #include "app/l10n_util.h" -#include "app/resource_bundle.h" #include "base/callback.h" #include "base/command_line.h" #include "base/logging.h" @@ -25,6 +24,7 @@ #include "chrome/browser/profiles/profile_manager.h" #include "grit/generated_resources.h" #include "grit/theme_resources.h" +#include "ui/base/resource/resource_bundle.h" namespace chromeos { diff --git a/chrome/browser/chromeos/login/message_bubble.cc b/chrome/browser/chromeos/login/message_bubble.cc index da2415a..f3d5cec 100644 --- a/chrome/browser/chromeos/login/message_bubble.cc +++ b/chrome/browser/chromeos/login/message_bubble.cc @@ -4,11 +4,11 @@ #include "chrome/browser/chromeos/login/message_bubble.h" -#include "app/resource_bundle.h" #include "base/logging.h" #include "chrome/browser/chromeos/login/helper.h" #include "grit/generated_resources.h" #include "grit/theme_resources.h" +#include "ui/base/resource/resource_bundle.h" #include "views/controls/button/image_button.h" #include "views/controls/image_view.h" #include "views/controls/label.h" diff --git a/chrome/browser/chromeos/login/network_screen.cc b/chrome/browser/chromeos/login/network_screen.cc index 6c8fcea..45c6bdf 100644 --- a/chrome/browser/chromeos/login/network_screen.cc +++ b/chrome/browser/chromeos/login/network_screen.cc @@ -5,7 +5,6 @@ #include "chrome/browser/chromeos/login/network_screen.h" #include "app/l10n_util.h" -#include "app/resource_bundle.h" #include "base/logging.h" #include "base/string16.h" #include "base/utf_string_conversions.h" @@ -16,6 +15,7 @@ #include "grit/chromium_strings.h" #include "grit/generated_resources.h" #include "grit/theme_resources.h" +#include "ui/base/resource/resource_bundle.h" #include "views/controls/menu/menu_2.h" #include "views/widget/widget.h" #include "views/window/window.h" diff --git a/chrome/browser/chromeos/login/network_selection_view.cc b/chrome/browser/chromeos/login/network_selection_view.cc index f4eb223..a62ce07 100644 --- a/chrome/browser/chromeos/login/network_selection_view.cc +++ b/chrome/browser/chromeos/login/network_selection_view.cc @@ -9,7 +9,6 @@ #include <string> #include "app/l10n_util.h" -#include "app/resource_bundle.h" #include "base/utf_string_conversions.h" #include "chrome/browser/chromeos/login/helper.h" #include "chrome/browser/chromeos/login/keyboard_switch_menu.h" @@ -23,6 +22,7 @@ #include "grit/chromium_strings.h" #include "grit/generated_resources.h" #include "grit/theme_resources.h" +#include "ui/base/resource/resource_bundle.h" #include "views/controls/label.h" #include "views/controls/throbber.h" #include "views/fill_layout.h" diff --git a/chrome/browser/chromeos/login/new_user_view.cc b/chrome/browser/chromeos/login/new_user_view.cc index f458a86..cf803bb 100644 --- a/chrome/browser/chromeos/login/new_user_view.cc +++ b/chrome/browser/chromeos/login/new_user_view.cc @@ -11,7 +11,6 @@ #include <vector> #include "app/l10n_util.h" -#include "app/resource_bundle.h" #include "base/callback.h" #include "base/command_line.h" #include "base/message_loop.h" @@ -29,6 +28,7 @@ #include "grit/chromium_strings.h" #include "grit/generated_resources.h" #include "ui/base/keycodes/keyboard_codes.h" +#include "ui/base/resource/resource_bundle.h" #include "views/controls/label.h" #include "views/controls/throbber.h" #include "views/widget/widget_gtk.h" diff --git a/chrome/browser/chromeos/login/oobe_progress_bar.cc b/chrome/browser/chromeos/login/oobe_progress_bar.cc index 5eafe52..24ab9ee 100644 --- a/chrome/browser/chromeos/login/oobe_progress_bar.cc +++ b/chrome/browser/chromeos/login/oobe_progress_bar.cc @@ -5,12 +5,12 @@ #include "chrome/browser/chromeos/login/oobe_progress_bar.h" #include "app/l10n_util.h" -#include "app/resource_bundle.h" #include "base/logging.h" #include "base/utf_string_conversions.h" #include "gfx/canvas_skia.h" #include "grit/theme_resources.h" #include "third_party/skia/include/core/SkBitmap.h" +#include "ui/base/resource/resource_bundle.h" namespace chromeos { diff --git a/chrome/browser/chromeos/login/password_changed_view.cc b/chrome/browser/chromeos/login/password_changed_view.cc index 8cb01d5..38c4fc8 100644 --- a/chrome/browser/chromeos/login/password_changed_view.cc +++ b/chrome/browser/chromeos/login/password_changed_view.cc @@ -5,13 +5,13 @@ #include "chrome/browser/chromeos/login/password_changed_view.h" #include "app/l10n_util.h" -#include "app/resource_bundle.h" #include "base/utf_string_conversions.h" #include "chrome/browser/chromeos/login/rounded_rect_painter.h" #include "chrome/browser/chromeos/login/wizard_accessibility_helper.h" #include "grit/generated_resources.h" #include "grit/locale_settings.h" #include "ui/base/keycodes/keyboard_codes.h" +#include "ui/base/resource/resource_bundle.h" #include "views/controls/button/radio_button.h" #include "views/controls/label.h" #include "views/grid_layout.h" diff --git a/chrome/browser/chromeos/login/screen_lock_view.cc b/chrome/browser/chromeos/login/screen_lock_view.cc index 4508501..85377c2 100644 --- a/chrome/browser/chromeos/login/screen_lock_view.cc +++ b/chrome/browser/chromeos/login/screen_lock_view.cc @@ -5,7 +5,6 @@ #include "chrome/browser/chromeos/login/screen_lock_view.h" #include "app/l10n_util.h" -#include "app/resource_bundle.h" #include "base/utf_string_conversions.h" #include "chrome/browser/chromeos/login/rounded_rect_painter.h" #include "chrome/browser/chromeos/login/screen_locker.h" @@ -19,6 +18,7 @@ #include "chrome/common/notification_service.h" #include "grit/generated_resources.h" #include "grit/theme_resources.h" +#include "ui/base/resource/resource_bundle.h" #include "views/background.h" #include "views/border.h" #include "views/controls/image_view.h" diff --git a/chrome/browser/chromeos/login/screen_locker.cc b/chrome/browser/chromeos/login/screen_locker.cc index 152f402..d329ba1 100644 --- a/chrome/browser/chromeos/login/screen_locker.cc +++ b/chrome/browser/chromeos/login/screen_locker.cc @@ -13,7 +13,6 @@ #undef Status #include "app/l10n_util.h" -#include "app/resource_bundle.h" #include "base/command_line.h" #include "base/lazy_instance.h" #include "base/metrics/histogram.h" @@ -48,6 +47,7 @@ #include "grit/generated_resources.h" #include "grit/theme_resources.h" #include "third_party/cros/chromeos_wm_ipc_enums.h" +#include "ui/base/resource/resource_bundle.h" #include "ui/base/x/x11_util.h" #include "views/screen.h" #include "views/widget/root_view.h" diff --git a/chrome/browser/chromeos/login/shutdown_button.cc b/chrome/browser/chromeos/login/shutdown_button.cc index 1af583a..168cf60 100644 --- a/chrome/browser/chromeos/login/shutdown_button.cc +++ b/chrome/browser/chromeos/login/shutdown_button.cc @@ -5,7 +5,6 @@ #include "chrome/browser/chromeos/login/shutdown_button.h" #include "app/l10n_util.h" -#include "app/resource_bundle.h" #include "base/utf_string_conversions.h" #include "chrome/browser/chromeos/cros/cros_library.h" #include "chrome/browser/chromeos/cros/power_library.h" @@ -14,6 +13,7 @@ #include "gfx/gtk_util.h" #include "grit/generated_resources.h" #include "grit/theme_resources.h" +#include "ui/base/resource/resource_bundle.h" #include "views/background.h" namespace { diff --git a/chrome/browser/chromeos/login/update_view.cc b/chrome/browser/chromeos/login/update_view.cc index 7a56be2..0e56cec 100644 --- a/chrome/browser/chromeos/login/update_view.cc +++ b/chrome/browser/chromeos/login/update_view.cc @@ -7,7 +7,6 @@ #include <string> #include "app/l10n_util.h" -#include "app/resource_bundle.h" #include "base/utf_string_conversions.h" #include "chrome/browser/chromeos/login/helper.h" #include "chrome/browser/chromeos/login/rounded_rect_painter.h" @@ -15,6 +14,7 @@ #include "chrome/browser/chromeos/login/wizard_accessibility_helper.h" #include "grit/chromium_strings.h" #include "grit/generated_resources.h" +#include "ui/base/resource/resource_bundle.h" #include "views/border.h" #include "views/controls/label.h" #include "views/controls/progress_bar.h" diff --git a/chrome/browser/chromeos/login/user_controller.cc b/chrome/browser/chromeos/login/user_controller.cc index 09f737f..773391d 100644 --- a/chrome/browser/chromeos/login/user_controller.cc +++ b/chrome/browser/chromeos/login/user_controller.cc @@ -8,7 +8,6 @@ #include <vector> #include "app/l10n_util.h" -#include "app/resource_bundle.h" #include "base/stringprintf.h" #include "base/utf_string_conversions.h" #include "chrome/browser/chromeos/user_cros_settings_provider.h" @@ -25,6 +24,7 @@ #include "gfx/canvas.h" #include "grit/generated_resources.h" #include "grit/theme_resources.h" +#include "ui/base/resource/resource_bundle.h" #include "views/background.h" #include "views/controls/button/native_button.h" #include "views/controls/label.h" diff --git a/chrome/browser/chromeos/login/user_image_screen.cc b/chrome/browser/chromeos/login/user_image_screen.cc index 3c0abff..1bd761f 100644 --- a/chrome/browser/chromeos/login/user_image_screen.cc +++ b/chrome/browser/chromeos/login/user_image_screen.cc @@ -4,7 +4,6 @@ #include "chrome/browser/chromeos/login/user_image_screen.h" -#include "app/resource_bundle.h" #include "base/compiler_specific.h" #include "base/time.h" #include "chrome/browser/chromeos/login/login_utils.h" @@ -15,6 +14,7 @@ #include "chrome/common/notification_service.h" #include "chrome/common/notification_type.h" #include "grit/theme_resources.h" +#include "ui/base/resource/resource_bundle.h" namespace chromeos { diff --git a/chrome/browser/chromeos/login/user_image_view.cc b/chrome/browser/chromeos/login/user_image_view.cc index b8545cf..a689c53 100644 --- a/chrome/browser/chromeos/login/user_image_view.cc +++ b/chrome/browser/chromeos/login/user_image_view.cc @@ -7,7 +7,6 @@ #include <algorithm> #include "app/l10n_util.h" -#include "app/resource_bundle.h" #include "base/callback.h" #include "base/utf_string_conversions.h" #include "chrome/browser/chromeos/login/helper.h" @@ -18,6 +17,7 @@ #include "grit/generated_resources.h" #include "grit/theme_resources.h" #include "skia/ext/image_operations.h" +#include "ui/base/resource/resource_bundle.h" #include "views/controls/button/image_button.h" #include "views/controls/button/native_button.h" #include "views/controls/image_view.h" diff --git a/chrome/browser/chromeos/login/user_manager.cc b/chrome/browser/chromeos/login/user_manager.cc index 4c325c2..38de932 100644 --- a/chrome/browser/chromeos/login/user_manager.cc +++ b/chrome/browser/chromeos/login/user_manager.cc @@ -4,7 +4,6 @@ #include "chrome/browser/chromeos/login/user_manager.h" -#include "app/resource_bundle.h" #include "base/compiler_specific.h" #include "base/file_path.h" #include "base/file_util.h" @@ -29,6 +28,7 @@ #include "chrome/common/notification_type.h" #include "gfx/codec/png_codec.h" #include "grit/theme_resources.h" +#include "ui/base/resource/resource_bundle.h" namespace chromeos { diff --git a/chrome/browser/chromeos/login/user_view.cc b/chrome/browser/chromeos/login/user_view.cc index b93eaf3..184da51 100644 --- a/chrome/browser/chromeos/login/user_view.cc +++ b/chrome/browser/chromeos/login/user_view.cc @@ -5,7 +5,6 @@ #include "chrome/browser/chromeos/login/user_view.h" #include "app/l10n_util.h" -#include "app/resource_bundle.h" #include "base/utf_string_conversions.h" #include "chrome/browser/chromeos/login/helper.h" #include "chrome/browser/chromeos/login/rounded_rect_painter.h" @@ -16,6 +15,7 @@ #include "gfx/rect.h" #include "grit/generated_resources.h" #include "grit/theme_resources.h" +#include "ui/base/resource/resource_bundle.h" #include "views/background.h" #include "views/controls/button/text_button.h" #include "views/controls/image_view.h" diff --git a/chrome/browser/chromeos/login/web_page_view.cc b/chrome/browser/chromeos/login/web_page_view.cc index 1bd24ac..e94ff1c 100644 --- a/chrome/browser/chromeos/login/web_page_view.cc +++ b/chrome/browser/chromeos/login/web_page_view.cc @@ -5,7 +5,6 @@ #include "chrome/browser/chromeos/login/web_page_view.h" #include "app/l10n_util.h" -#include "app/resource_bundle.h" #include "base/callback.h" #include "base/logging.h" #include "base/string_util.h" @@ -22,6 +21,7 @@ #include "grit/theme_resources.h" #include "ipc/ipc_message.h" #include "third_party/skia/include/core/SkColor.h" +#include "ui/base/resource/resource_bundle.h" #include "views/background.h" #include "views/border.h" #include "views/controls/label.h" diff --git a/chrome/browser/chromeos/login/wizard_controller.cc b/chrome/browser/chromeos/login/wizard_controller.cc index d784593..8362593 100644 --- a/chrome/browser/chromeos/login/wizard_controller.cc +++ b/chrome/browser/chromeos/login/wizard_controller.cc @@ -11,7 +11,6 @@ #include <string> #include <vector> -#include "app/resource_bundle.h" #include "base/command_line.h" #include "base/file_util.h" #include "base/logging.h" @@ -49,6 +48,7 @@ #include "chrome/common/notification_type.h" #include "chrome/common/pref_names.h" #include "third_party/cros/chromeos_wm_ipc_enums.h" +#include "ui/base/resource/resource_bundle.h" #include "unicode/timezone.h" #include "views/accelerator.h" #include "views/painter.h" diff --git a/chrome/browser/chromeos/native_theme_chromeos.cc b/chrome/browser/chromeos/native_theme_chromeos.cc index ff1d10f..945f3a6 100644 --- a/chrome/browser/chromeos/native_theme_chromeos.cc +++ b/chrome/browser/chromeos/native_theme_chromeos.cc @@ -4,7 +4,6 @@ #include "chrome/browser/chromeos/native_theme_chromeos.h" -#include "app/resource_bundle.h" #include "base/logging.h" #include "gfx/insets.h" #include "gfx/rect.h" @@ -15,6 +14,7 @@ #include "third_party/skia/include/core/SkPaint.h" #include "third_party/skia/include/core/SkPath.h" #include "third_party/skia/include/core/SkShader.h" +#include "ui/base/resource/resource_bundle.h" namespace { diff --git a/chrome/browser/chromeos/notifications/balloon_view.cc b/chrome/browser/chromeos/notifications/balloon_view.cc index 63cc00d..d4c5b1e 100644 --- a/chrome/browser/chromeos/notifications/balloon_view.cc +++ b/chrome/browser/chromeos/notifications/balloon_view.cc @@ -7,7 +7,6 @@ #include <vector> #include "app/l10n_util.h" -#include "app/resource_bundle.h" #include "base/message_loop.h" #include "base/utf_string_conversions.h" #include "chrome/browser/chromeos/notifications/balloon_view_host.h" @@ -25,6 +24,7 @@ #include "grit/generated_resources.h" #include "grit/theme_resources.h" #include "ui/base/models/simple_menu_model.h" +#include "ui/base/resource/resource_bundle.h" #include "views/background.h" #include "views/controls/button/button.h" #include "views/controls/button/image_button.h" diff --git a/chrome/browser/chromeos/notifications/notification_panel.cc b/chrome/browser/chromeos/notifications/notification_panel.cc index a60705b..04f0899 100644 --- a/chrome/browser/chromeos/notifications/notification_panel.cc +++ b/chrome/browser/chromeos/notifications/notification_panel.cc @@ -9,7 +9,6 @@ #include <algorithm> #include "app/l10n_util.h" -#include "app/resource_bundle.h" #include "chrome/browser/chromeos/notifications/balloon_collection_impl.h" #include "chrome/browser/chromeos/notifications/balloon_view.h" #include "chrome/common/notification_details.h" @@ -17,6 +16,7 @@ #include "gfx/canvas.h" #include "grit/generated_resources.h" #include "third_party/cros/chromeos_wm_ipc_enums.h" +#include "ui/base/resource/resource_bundle.h" #include "views/background.h" #include "views/controls/native/native_view_host.h" #include "views/controls/scroll_view.h" diff --git a/chrome/browser/chromeos/offline/offline_load_page.cc b/chrome/browser/chromeos/offline/offline_load_page.cc index e466d75f..6f00786 100644 --- a/chrome/browser/chromeos/offline/offline_load_page.cc +++ b/chrome/browser/chromeos/offline/offline_load_page.cc @@ -5,7 +5,6 @@ #include "chrome/browser/chromeos/offline/offline_load_page.h" #include "app/l10n_util.h" -#include "app/resource_bundle.h" #include "base/i18n/rtl.h" #include "base/metrics/histogram.h" #include "base/string_piece.h" @@ -28,6 +27,7 @@ #include "chrome/common/url_constants.h" #include "grit/browser_resources.h" #include "grit/generated_resources.h" +#include "ui/base/resource/resource_bundle.h" namespace { diff --git a/chrome/browser/chromeos/options/internet_page_view.cc b/chrome/browser/chromeos/options/internet_page_view.cc index 3e56fd0..5601e34 100644 --- a/chrome/browser/chromeos/options/internet_page_view.cc +++ b/chrome/browser/chromeos/options/internet_page_view.cc @@ -7,7 +7,6 @@ #include <string> #include "app/l10n_util.h" -#include "app/resource_bundle.h" #include "base/string_util.h" #include "base/utf_string_conversions.h" #include "chrome/browser/chromeos/cros/cros_library.h" @@ -17,6 +16,7 @@ #include "chrome/browser/ui/views/window.h" #include "grit/generated_resources.h" #include "grit/theme_resources.h" +#include "ui/base/resource/resource_bundle.h" #include "views/controls/button/native_button.h" #include "views/controls/combobox/combobox.h" #include "views/controls/image_view.h" diff --git a/chrome/browser/chromeos/options/settings_page_view.cc b/chrome/browser/chromeos/options/settings_page_view.cc index b4b9d73..15be561 100644 --- a/chrome/browser/chromeos/options/settings_page_view.cc +++ b/chrome/browser/chromeos/options/settings_page_view.cc @@ -5,10 +5,10 @@ #include "chrome/browser/chromeos/options/settings_page_view.h" #include "app/l10n_util.h" -#include "app/resource_bundle.h" #include "base/string_util.h" #include "base/utf_string_conversions.h" #include "gfx/skia_utils_gtk.h" +#include "ui/base/resource/resource_bundle.h" #include "views/controls/label.h" #include "views/fill_layout.h" #include "views/widget/widget_gtk.h" diff --git a/chrome/browser/chromeos/options/wifi_config_view.cc b/chrome/browser/chromeos/options/wifi_config_view.cc index 2f2740e..413b13c 100644 --- a/chrome/browser/chromeos/options/wifi_config_view.cc +++ b/chrome/browser/chromeos/options/wifi_config_view.cc @@ -5,7 +5,6 @@ #include "chrome/browser/chromeos/options/wifi_config_view.h" #include "app/l10n_util.h" -#include "app/resource_bundle.h" #include "base/string_util.h" #include "base/utf_string_conversions.h" #include "chrome/browser/chromeos/cros/cros_library.h" @@ -15,6 +14,7 @@ #include "grit/generated_resources.h" #include "grit/locale_settings.h" #include "grit/theme_resources.h" +#include "ui/base/resource/resource_bundle.h" #include "views/controls/button/image_button.h" #include "views/controls/button/native_button.h" #include "views/controls/label.h" diff --git a/chrome/browser/chromeos/panels/panel_scroller_header.cc b/chrome/browser/chromeos/panels/panel_scroller_header.cc index d4ef8fb..08c9424 100644 --- a/chrome/browser/chromeos/panels/panel_scroller_header.cc +++ b/chrome/browser/chromeos/panels/panel_scroller_header.cc @@ -4,11 +4,11 @@ #include "chrome/browser/chromeos/panels/panel_scroller_header.h" -#include "app/resource_bundle.h" #include "base/utf_string_conversions.h" #include "chrome/browser/chromeos/panels/panel_scroller.h" #include "gfx/canvas.h" #include "gfx/font.h" +#include "ui/base/resource/resource_bundle.h" PanelScrollerHeader::PanelScrollerHeader(PanelScroller* scroller) : views::View(), diff --git a/chrome/browser/chromeos/status/clock_menu_button.cc b/chrome/browser/chromeos/status/clock_menu_button.cc index 44742d8..044c540 100644 --- a/chrome/browser/chromeos/status/clock_menu_button.cc +++ b/chrome/browser/chromeos/status/clock_menu_button.cc @@ -5,7 +5,6 @@ #include "chrome/browser/chromeos/status/clock_menu_button.h" #include "app/l10n_util.h" -#include "app/resource_bundle.h" #include "base/i18n/time_formatting.h" #include "base/string_util.h" #include "base/time.h" @@ -15,6 +14,7 @@ #include "gfx/canvas.h" #include "gfx/font.h" #include "grit/generated_resources.h" +#include "ui/base/resource/resource_bundle.h" namespace chromeos { diff --git a/chrome/browser/chromeos/status/input_method_menu.cc b/chrome/browser/chromeos/status/input_method_menu.cc index aa046ba..7d98b23 100644 --- a/chrome/browser/chromeos/status/input_method_menu.cc +++ b/chrome/browser/chromeos/status/input_method_menu.cc @@ -8,7 +8,6 @@ #include <vector> #include "app/l10n_util.h" -#include "app/resource_bundle.h" #include "base/string_split.h" #include "base/string_util.h" #include "base/time.h" @@ -24,6 +23,7 @@ #include "chrome/common/pref_names.h" #include "grit/generated_resources.h" #include "grit/theme_resources.h" +#include "ui/base/resource/resource_bundle.h" // The language menu consists of 3 parts (in this order): // diff --git a/chrome/browser/chromeos/status/input_method_menu_button.cc b/chrome/browser/chromeos/status/input_method_menu_button.cc index ab5987c..9ad5f4e 100644 --- a/chrome/browser/chromeos/status/input_method_menu_button.cc +++ b/chrome/browser/chromeos/status/input_method_menu_button.cc @@ -6,7 +6,6 @@ #include <string> -#include "app/resource_bundle.h" #include "base/utf_string_conversions.h" #include "chrome/browser/chromeos/cros/cros_library.h" #include "chrome/browser/chromeos/cros/keyboard_library.h" @@ -14,6 +13,7 @@ #include "chrome/browser/chromeos/status/status_area_host.h" #include "chrome/browser/prefs/pref_service.h" #include "chrome/browser/profiles/profile.h" +#include "ui/base/resource/resource_bundle.h" namespace { diff --git a/chrome/browser/chromeos/status/network_dropdown_button.cc b/chrome/browser/chromeos/status/network_dropdown_button.cc index 8244df4..b989e6a 100644 --- a/chrome/browser/chromeos/status/network_dropdown_button.cc +++ b/chrome/browser/chromeos/status/network_dropdown_button.cc @@ -5,7 +5,6 @@ #include "chrome/browser/chromeos/status/network_dropdown_button.h" #include "app/l10n_util.h" -#include "app/resource_bundle.h" #include "base/utf_string_conversions.h" #include "chrome/browser/chromeos/cros/cros_library.h" #include "chrome/browser/chromeos/options/network_config_view.h" @@ -13,6 +12,7 @@ #include "gfx/canvas_skia.h" #include "grit/generated_resources.h" #include "grit/theme_resources.h" +#include "ui/base/resource/resource_bundle.h" #include "views/window/window.h" namespace chromeos { diff --git a/chrome/browser/chromeos/status/network_menu.cc b/chrome/browser/chromeos/status/network_menu.cc index 66ea92f..11d47a9 100644 --- a/chrome/browser/chromeos/status/network_menu.cc +++ b/chrome/browser/chromeos/status/network_menu.cc @@ -7,7 +7,6 @@ #include <algorithm> #include "app/l10n_util.h" -#include "app/resource_bundle.h" #include "base/command_line.h" #include "base/stringprintf.h" #include "base/utf_string_conversions.h" @@ -23,6 +22,7 @@ #include "grit/generated_resources.h" #include "grit/theme_resources.h" #include "net/base/escape.h" +#include "ui/base/resource/resource_bundle.h" #include "views/controls/menu/menu_2.h" #include "views/window/window.h" diff --git a/chrome/browser/chromeos/status/network_menu_button.cc b/chrome/browser/chromeos/status/network_menu_button.cc index 7e7bdd0..dff4a98 100644 --- a/chrome/browser/chromeos/status/network_menu_button.cc +++ b/chrome/browser/chromeos/status/network_menu_button.cc @@ -8,7 +8,6 @@ #include <limits> #include "app/l10n_util.h" -#include "app/resource_bundle.h" #include "base/string_util.h" #include "base/utf_string_conversions.h" #include "chrome/browser/chromeos/cros/cros_library.h" @@ -17,6 +16,7 @@ #include "gfx/canvas_skia.h" #include "grit/generated_resources.h" #include "grit/theme_resources.h" +#include "ui/base/resource/resource_bundle.h" #include "views/window/window.h" namespace chromeos { diff --git a/chrome/browser/chromeos/status/power_menu_button.cc b/chrome/browser/chromeos/status/power_menu_button.cc index 1ae0d43..20f77e6 100644 --- a/chrome/browser/chromeos/status/power_menu_button.cc +++ b/chrome/browser/chromeos/status/power_menu_button.cc @@ -5,7 +5,6 @@ #include "chrome/browser/chromeos/status/power_menu_button.h" #include "app/l10n_util.h" -#include "app/resource_bundle.h" #include "base/string_number_conversions.h" #include "base/time.h" #include "base/utf_string_conversions.h" @@ -13,6 +12,7 @@ #include "gfx/canvas.h" #include "grit/generated_resources.h" #include "grit/theme_resources.h" +#include "ui/base/resource/resource_bundle.h" namespace chromeos { diff --git a/chrome/browser/chromeos/views/dropdown_button.cc b/chrome/browser/chromeos/views/dropdown_button.cc index 58e9d368..f117203 100644 --- a/chrome/browser/chromeos/views/dropdown_button.cc +++ b/chrome/browser/chromeos/views/dropdown_button.cc @@ -2,10 +2,10 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "app/resource_bundle.h" #include "chrome/browser/chromeos/views/dropdown_button.h" #include "gfx/canvas_skia.h" #include "grit/theme_resources.h" +#include "ui/base/resource/resource_bundle.h" namespace { // Asset icon particularities makes us offset focus frame. diff --git a/chrome/browser/chromeos/volume_bubble.cc b/chrome/browser/chromeos/volume_bubble.cc index ec9d365..f081c09 100644 --- a/chrome/browser/chromeos/volume_bubble.cc +++ b/chrome/browser/chromeos/volume_bubble.cc @@ -4,9 +4,9 @@ #include "chrome/browser/chromeos/volume_bubble.h" -#include "app/resource_bundle.h" #include "base/singleton.h" #include "grit/theme_resources.h" +#include "ui/base/resource/resource_bundle.h" namespace chromeos { |