diff options
author | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-22 23:03:27 +0000 |
---|---|---|
committer | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-22 23:03:27 +0000 |
commit | 34ac8f3dd803e412fe5b34d19fdd46c588aefccf (patch) | |
tree | f30f606cf18beee326e500246fa1a3f645faa42c /chrome/browser/views | |
parent | cb910e336663dd63a35f2721c50419b0fdc1500e (diff) | |
download | chromium_src-34ac8f3dd803e412fe5b34d19fdd46c588aefccf.zip chromium_src-34ac8f3dd803e412fe5b34d19fdd46c588aefccf.tar.gz chromium_src-34ac8f3dd803e412fe5b34d19fdd46c588aefccf.tar.bz2 |
Update include paths for grit files. Go ahead and resort
the headers too.
Review URL: http://codereview.chromium.org/21472
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10167 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views')
46 files changed, 85 insertions, 113 deletions
diff --git a/chrome/browser/views/blocked_popup_container.cc b/chrome/browser/views/blocked_popup_container.cc index 1426ba8..8dc96d6 100644 --- a/chrome/browser/views/blocked_popup_container.cc +++ b/chrome/browser/views/blocked_popup_container.cc @@ -13,7 +13,6 @@ #include <math.h> #include "base/string_util.h" -#include "grit/theme_resources.h" #include "chrome/browser/profile.h" #include "chrome/browser/tab_contents/tab_contents.h" #include "chrome/common/gfx/chrome_canvas.h" @@ -25,8 +24,8 @@ #include "chrome/views/background.h" #include "chrome/views/button.h" #include "chrome/views/menu_button.h" - -#include "generated_resources.h" +#include "grit/generated_resources.h" +#include "grit/theme_resources.h" namespace { // Menu item ID for the "Notify me when a popup is blocked" checkbox. (All diff --git a/chrome/browser/views/bookmark_bar_view.cc b/chrome/browser/views/bookmark_bar_view.cc index 6832ddc..6efe139 100644 --- a/chrome/browser/views/bookmark_bar_view.cc +++ b/chrome/browser/views/bookmark_bar_view.cc @@ -8,7 +8,6 @@ #include "base/string_util.h" #include "base/base_drag_source.h" -#include "grit/theme_resources.h" #include "chrome/browser/bookmarks/bookmark_context_menu.h" #include "chrome/browser/bookmarks/bookmark_utils.h" #include "chrome/browser/browser.h" @@ -43,7 +42,8 @@ #include "chrome/views/view_constants.h" #include "chrome/views/widget.h" #include "chrome/views/window.h" -#include "generated_resources.h" +#include "grit/generated_resources.h" +#include "grit/theme_resources.h" #include "skia/ext/skia_utils.h" using views::BaseButton; diff --git a/chrome/browser/views/bookmark_bubble_view.cc b/chrome/browser/views/bookmark_bubble_view.cc index 890594d5..c0fe27a 100644 --- a/chrome/browser/views/bookmark_bubble_view.cc +++ b/chrome/browser/views/bookmark_bubble_view.cc @@ -5,7 +5,6 @@ #include "chrome/browser/views/bookmark_bubble_view.h" #include "chrome/app/chrome_dll_resource.h" -#include "grit/theme_resources.h" #include "chrome/browser/bookmarks/bookmark_model.h" #include "chrome/browser/bookmarks/bookmark_utils.h" #include "chrome/browser/metrics/user_metrics.h" @@ -21,7 +20,8 @@ #include "chrome/views/checkbox.h" #include "chrome/views/native_button.h" #include "chrome/views/text_field.h" -#include "generated_resources.h" +#include "grit/generated_resources.h" +#include "grit/theme_resources.h" using views::ComboBox; using views::ColumnSet; diff --git a/chrome/browser/views/bookmark_folder_tree_view.cc b/chrome/browser/views/bookmark_folder_tree_view.cc index 29dbceb..3e79ffe 100644 --- a/chrome/browser/views/bookmark_folder_tree_view.cc +++ b/chrome/browser/views/bookmark_folder_tree_view.cc @@ -12,8 +12,7 @@ #include "chrome/common/drag_drop_types.h" #include "chrome/common/os_exchange_data.h" #include "chrome/views/view_constants.h" - -#include "generated_resources.h" +#include "grit/generated_resources.h" void BookmarkFolderTreeView::DropInfo::Scrolled() { view_->UpdateDropInfo(); diff --git a/chrome/browser/views/bookmark_table_view.cc b/chrome/browser/views/bookmark_table_view.cc index 9241723f..a3e92df 100644 --- a/chrome/browser/views/bookmark_table_view.cc +++ b/chrome/browser/views/bookmark_table_view.cc @@ -17,8 +17,7 @@ #include "chrome/common/pref_service.h" #include "chrome/common/resource_bundle.h" #include "chrome/views/view_constants.h" - -#include "generated_resources.h" +#include "grit/generated_resources.h" namespace { diff --git a/chrome/browser/views/constrained_window_impl.cc b/chrome/browser/views/constrained_window_impl.cc index 207ee31..8b57d18 100644 --- a/chrome/browser/views/constrained_window_impl.cc +++ b/chrome/browser/views/constrained_window_impl.cc @@ -6,7 +6,6 @@ #include "base/gfx/rect.h" #include "chrome/app/chrome_dll_resource.h" -#include "grit/theme_resources.h" #include "chrome/browser/browser_process.h" #include "chrome/browser/profile.h" #include "chrome/browser/tab_contents/tab_contents.h" @@ -32,11 +31,11 @@ #include "chrome/views/hwnd_view.h" #include "chrome/views/non_client_view.h" #include "chrome/views/window_resources.h" +#include "grit/chromium_strings.h" +#include "grit/generated_resources.h" +#include "grit/theme_resources.h" #include "net/base/net_util.h" -#include "chromium_strings.h" -#include "generated_resources.h" - using base::TimeDelta; namespace views { diff --git a/chrome/browser/views/constrained_window_impl_interactive_uitest.cc b/chrome/browser/views/constrained_window_impl_interactive_uitest.cc index 51d12f7..a114168 100644 --- a/chrome/browser/views/constrained_window_impl_interactive_uitest.cc +++ b/chrome/browser/views/constrained_window_impl_interactive_uitest.cc @@ -15,10 +15,9 @@ #include "chrome/test/automation/window_proxy.h" #include "chrome/test/ui/ui_test.h" #include "chrome/views/event.h" +#include "grit/generated_resources.h" #include "net/base/net_util.h" -#include "generated_resources.h" - class InteractiveConstrainedWindowTest : public UITest { protected: InteractiveConstrainedWindowTest() { diff --git a/chrome/browser/views/download_item_view.cc b/chrome/browser/views/download_item_view.cc index 9788278..c7835eb 100644 --- a/chrome/browser/views/download_item_view.cc +++ b/chrome/browser/views/download_item_view.cc @@ -8,7 +8,6 @@ #include "base/file_util.h" #include "base/string_util.h" -#include "grit/theme_resources.h" #include "chrome/browser/browser_process.h" #include "chrome/browser/download/download_util.h" #include "chrome/browser/views/download_shelf_view.h" @@ -20,8 +19,8 @@ #include "chrome/views/native_button.h" #include "chrome/views/root_view.h" #include "chrome/views/widget.h" - -#include "generated_resources.h" +#include "grit/generated_resources.h" +#include "grit/theme_resources.h" using base::TimeDelta; diff --git a/chrome/browser/views/download_shelf_view.cc b/chrome/browser/views/download_shelf_view.cc index 7eec963..b3bacde 100644 --- a/chrome/browser/views/download_shelf_view.cc +++ b/chrome/browser/views/download_shelf_view.cc @@ -6,7 +6,7 @@ #include <algorithm> -#include "grit/theme_resources.h" +#include "base/logging.h" #include "chrome/browser/browser.h" #include "chrome/browser/download/download_item_model.h" #include "chrome/browser/download/download_manager.h" @@ -16,13 +16,12 @@ #include "chrome/browser/views/download_tab_view.h" #include "chrome/common/gfx/chrome_canvas.h" #include "chrome/common/l10n_util.h" -#include "base/logging.h" #include "chrome/common/resource_bundle.h" #include "chrome/views/background.h" #include "chrome/views/button.h" #include "chrome/views/image_view.h" - -#include "generated_resources.h" +#include "grit/generated_resources.h" +#include "grit/theme_resources.h" // Max number of download views we'll contain. Any time a view is added and // we already have this many download views, one is removed. diff --git a/chrome/browser/views/download_started_animation.cc b/chrome/browser/views/download_started_animation.cc index 2ea0cdd..c41cea8 100644 --- a/chrome/browser/views/download_started_animation.cc +++ b/chrome/browser/views/download_started_animation.cc @@ -4,11 +4,11 @@ #include "chrome/browser/views/download_started_animation.h" -#include "grit/theme_resources.h" #include "chrome/browser/tab_contents/tab_contents.h" #include "chrome/common/notification_service.h" #include "chrome/common/resource_bundle.h" #include "chrome/views/widget_win.h" +#include "grit/theme_resources.h" // How long to spend moving downwards and fading out after waiting. static const int kMoveTimeMs = 600; diff --git a/chrome/browser/views/download_tab_view.cc b/chrome/browser/views/download_tab_view.cc index a033cd1..f4ab642 100644 --- a/chrome/browser/views/download_tab_view.cc +++ b/chrome/browser/views/download_tab_view.cc @@ -14,7 +14,6 @@ #include "base/task.h" #include "base/time_format.h" #include "base/timer.h" -#include "grit/theme_resources.h" #include "chrome/browser/browser_process.h" #include "chrome/browser/metrics/user_metrics.h" #include "chrome/browser/profile.h" @@ -28,7 +27,8 @@ #include "chrome/common/time_format.h" #include "chrome/views/background.h" #include "googleurl/src/gurl.h" -#include "generated_resources.h" +#include "grit/generated_resources.h" +#include "grit/theme_resources.h" using base::Time; using base::TimeDelta; diff --git a/chrome/browser/views/edit_keyword_controller.cc b/chrome/browser/views/edit_keyword_controller.cc index 7b66208..11d7571 100644 --- a/chrome/browser/views/edit_keyword_controller.cc +++ b/chrome/browser/views/edit_keyword_controller.cc @@ -5,7 +5,6 @@ #include "chrome/browser/views/edit_keyword_controller.h" #include "base/string_util.h" -#include "grit/theme_resources.h" #include "chrome/browser/metrics/user_metrics.h" #include "chrome/browser/net/url_fixer_upper.h" #include "chrome/browser/profile.h" @@ -21,8 +20,8 @@ #include "chrome/views/table_view.h" #include "chrome/views/window.h" #include "googleurl/src/gurl.h" - -#include "generated_resources.h" +#include "grit/generated_resources.h" +#include "grit/theme_resources.h" using views::GridLayout; using views::ImageView; diff --git a/chrome/browser/views/external_protocol_dialog.cc b/chrome/browser/views/external_protocol_dialog.cc index 76c1267..c75ccb4 100644 --- a/chrome/browser/views/external_protocol_dialog.cc +++ b/chrome/browser/views/external_protocol_dialog.cc @@ -14,9 +14,8 @@ #include "chrome/common/l10n_util.h" #include "chrome/views/message_box_view.h" #include "chrome/views/window.h" - -#include "chromium_strings.h" -#include "generated_resources.h" +#include "grit/chromium_strings.h" +#include "grit/generated_resources.h" namespace { diff --git a/chrome/browser/views/find_bar_view.cc b/chrome/browser/views/find_bar_view.cc index 5aa6088..862a10f 100644 --- a/chrome/browser/views/find_bar_view.cc +++ b/chrome/browser/views/find_bar_view.cc @@ -7,7 +7,6 @@ #include <algorithm> #include "base/string_util.h" -#include "grit/theme_resources.h" #include "chrome/browser/views/find_bar_win.h" #include "chrome/browser/view_ids.h" #include "chrome/common/l10n_util.h" @@ -15,10 +14,10 @@ #include "chrome/common/resource_bundle.h" #include "chrome/views/background.h" #include "chrome/views/label.h" +#include "grit/generated_resources.h" +#include "grit/theme_resources.h" #include "skia/include/SkGradientShader.h" -#include "generated_resources.h" - // The amount of whitespace to have before the find button. static const int kWhiteSpaceAfterMatchCountLabel = 3; diff --git a/chrome/browser/views/first_run_view_base.cc b/chrome/browser/views/first_run_view_base.cc index 57fdf0a..2d4f68d 100644 --- a/chrome/browser/views/first_run_view_base.cc +++ b/chrome/browser/views/first_run_view_base.cc @@ -8,7 +8,6 @@ #include "base/path_service.h" #include "base/ref_counted.h" #include "base/thread.h" -#include "grit/theme_resources.h" #include "chrome/browser/browser_list.h" #include "chrome/browser/browser_process.h" #include "chrome/browser/first_run.h" @@ -28,9 +27,9 @@ #include "chrome/views/throbber.h" #include "chrome/views/separator.h" #include "chrome/views/window.h" - -#include "chromium_strings.h" -#include "generated_resources.h" +#include "grit/chromium_strings.h" +#include "grit/generated_resources.h" +#include "grit/theme_resources.h" FirstRunViewBase::FirstRunViewBase(Profile* profile) : preferred_width_(0), diff --git a/chrome/browser/views/frame/aero_glass_frame.cc b/chrome/browser/views/frame/aero_glass_frame.cc index c6e2017..67d40d2 100644 --- a/chrome/browser/views/frame/aero_glass_frame.cc +++ b/chrome/browser/views/frame/aero_glass_frame.cc @@ -6,12 +6,12 @@ #include <dwmapi.h> -#include "grit/theme_resources.h" #include "chrome/browser/browser_list.h" #include "chrome/browser/views/frame/browser_view.h" #include "chrome/browser/views/frame/aero_glass_non_client_view.h" #include "chrome/common/resource_bundle.h" #include "chrome/views/window_delegate.h" +#include "grit/theme_resources.h" // static diff --git a/chrome/browser/views/frame/aero_glass_non_client_view.cc b/chrome/browser/views/frame/aero_glass_non_client_view.cc index ed37f7a..f4974be 100644 --- a/chrome/browser/views/frame/aero_glass_non_client_view.cc +++ b/chrome/browser/views/frame/aero_glass_non_client_view.cc @@ -4,12 +4,12 @@ #include "chrome/browser/views/frame/aero_glass_non_client_view.h" -#include "grit/theme_resources.h" #include "chrome/browser/views/frame/browser_view.h" #include "chrome/browser/views/tabs/tab_strip.h" #include "chrome/common/resource_bundle.h" #include "chrome/views/client_view.h" #include "chrome/views/window_resources.h" +#include "grit/theme_resources.h" // An enumeration of bitmap resources used by this window. enum { diff --git a/chrome/browser/views/frame/browser_view.cc b/chrome/browser/views/frame/browser_view.cc index 829c294..b2fbe13a 100644 --- a/chrome/browser/views/frame/browser_view.cc +++ b/chrome/browser/views/frame/browser_view.cc @@ -9,7 +9,6 @@ #include "base/file_version_info.h" #include "base/time.h" #include "chrome/app/chrome_dll_resource.h" -#include "grit/theme_resources.h" #include "chrome/browser/app_modal_dialog_queue.h" #include "chrome/browser/browser.h" #include "chrome/browser/browser_list.h" @@ -52,10 +51,10 @@ #include "chrome/views/non_client_view.h" #include "chrome/views/view.h" #include "chrome/views/window.h" - -#include "chromium_strings.h" -#include "generated_resources.h" -#include "webkit_resources.h" +#include "grit/chromium_strings.h" +#include "grit/generated_resources.h" +#include "grit/theme_resources.h" +#include "grit/webkit_resources.h" using base::TimeDelta; diff --git a/chrome/browser/views/frame/opaque_non_client_view.cc b/chrome/browser/views/frame/opaque_non_client_view.cc index 8e19e2b..ca2e8bf 100644 --- a/chrome/browser/views/frame/opaque_non_client_view.cc +++ b/chrome/browser/views/frame/opaque_non_client_view.cc @@ -4,7 +4,6 @@ #include "chrome/browser/views/frame/opaque_non_client_view.h" -#include "grit/theme_resources.h" #include "chrome/browser/views/frame/browser_view.h" #include "chrome/browser/views/tabs/tab_strip.h" #include "chrome/common/gfx/chrome_font.h" @@ -14,8 +13,9 @@ #include "chrome/common/win_util.h" #include "chrome/views/root_view.h" #include "chrome/views/window_resources.h" -#include "chromium_strings.h" -#include "generated_resources.h" +#include "grit/chromium_strings.h" +#include "grit/generated_resources.h" +#include "grit/theme_resources.h" // An enumeration of bitmap resources used by this window. enum { diff --git a/chrome/browser/views/go_button.cc b/chrome/browser/views/go_button.cc index 47f6175..45ab605 100644 --- a/chrome/browser/views/go_button.cc +++ b/chrome/browser/views/go_button.cc @@ -8,8 +8,7 @@ #include "chrome/browser/command_updater.h" #include "chrome/browser/views/location_bar_view.h" #include "chrome/common/l10n_util.h" - -#include "generated_resources.h" +#include "grit/generated_resources.h" GoButton::GoButton(LocationBarView* location_bar, CommandUpdater* command_updater) : ToggleButton(), diff --git a/chrome/browser/views/hung_renderer_view.cc b/chrome/browser/views/hung_renderer_view.cc index fa72cc9..a539ea8 100644 --- a/chrome/browser/views/hung_renderer_view.cc +++ b/chrome/browser/views/hung_renderer_view.cc @@ -5,7 +5,6 @@ #include "chrome/browser/views/hung_renderer_view.h" #include "chrome/app/result_codes.h" -#include "grit/theme_resources.h" #include "chrome/browser/browser_list.h" #include "chrome/browser/renderer_host/render_process_host.h" #include "chrome/browser/renderer_host/render_view_host.h" @@ -24,9 +23,9 @@ #include "chrome/views/image_view.h" #include "chrome/views/label.h" #include "chrome/views/native_button.h" - -#include "chromium_strings.h" -#include "generated_resources.h" +#include "grit/chromium_strings.h" +#include "grit/generated_resources.h" +#include "grit/theme_resources.h" /////////////////////////////////////////////////////////////////////////////// // HungPagesTableModel diff --git a/chrome/browser/views/info_bubble.cc b/chrome/browser/views/info_bubble.cc index e41f45c..042d908 100644 --- a/chrome/browser/views/info_bubble.cc +++ b/chrome/browser/views/info_bubble.cc @@ -5,7 +5,6 @@ #include "chrome/browser/views/info_bubble.h" #include "base/win_util.h" -#include "grit/theme_resources.h" #include "chrome/browser/browser_window.h" #include "chrome/browser/views/frame/browser_view.h" #include "chrome/common/gfx/chrome_canvas.h" @@ -14,6 +13,7 @@ #include "chrome/common/win_util.h" #include "chrome/views/root_view.h" #include "chrome/views/window.h" +#include "grit/theme_resources.h" using views::View; diff --git a/chrome/browser/views/infobars/infobars.cc b/chrome/browser/views/infobars/infobars.cc index f8dea76..6b7342f 100644 --- a/chrome/browser/views/infobars/infobars.cc +++ b/chrome/browser/views/infobars/infobars.cc @@ -5,7 +5,6 @@ #include "chrome/browser/views/infobars/infobars.h" #include "base/message_loop.h" -#include "grit/theme_resources.h" #include "chrome/browser/views/event_utils.h" #include "chrome/browser/views/infobars/infobar_container.h" #include "chrome/common/l10n_util.h" @@ -17,8 +16,8 @@ #include "chrome/views/image_view.h" #include "chrome/views/label.h" #include "chrome/views/widget.h" - -#include "generated_resources.h" +#include "grit/generated_resources.h" +#include "grit/theme_resources.h" const double kInfoBarHeight = 37.0; diff --git a/chrome/browser/views/input_window.cc b/chrome/browser/views/input_window.cc index 7eafd04..2491321 100644 --- a/chrome/browser/views/input_window.cc +++ b/chrome/browser/views/input_window.cc @@ -10,7 +10,7 @@ #include "chrome/views/label.h" #include "chrome/views/text_field.h" #include "chrome/views/window.h" -#include "generated_resources.h" +#include "grit/generated_resources.h" // Width to make the text field, in pixels. static const int kTextFieldWidth = 200; diff --git a/chrome/browser/views/location_bar_view.cc b/chrome/browser/views/location_bar_view.cc index 8d16e89..45b19c63 100644 --- a/chrome/browser/views/location_bar_view.cc +++ b/chrome/browser/views/location_bar_view.cc @@ -7,7 +7,6 @@ #include "base/path_service.h" #include "base/string_util.h" #include "chrome/app/chrome_dll_resource.h" -#include "grit/theme_resources.h" #include "chrome/browser/alternate_nav_url_fetcher.h" #include "chrome/browser/browser.h" #include "chrome/browser/browser_list.h" @@ -29,7 +28,8 @@ #include "chrome/views/border.h" #include "chrome/views/root_view.h" #include "chrome/views/widget.h" -#include "generated_resources.h" +#include "grit/generated_resources.h" +#include "grit/theme_resources.h" using views::View; diff --git a/chrome/browser/views/login_view.cc b/chrome/browser/views/login_view.cc index 9f7e7be..3259307d 100644 --- a/chrome/browser/views/login_view.cc +++ b/chrome/browser/views/login_view.cc @@ -13,8 +13,7 @@ #include "chrome/views/label.h" #include "chrome/views/root_view.h" #include "chrome/views/text_field.h" - -#include "generated_resources.h" +#include "grit/generated_resources.h" namespace views { diff --git a/chrome/browser/views/options/advanced_page_view.cc b/chrome/browser/views/options/advanced_page_view.cc index 8bb4460..1d4c2ee 100644 --- a/chrome/browser/views/options/advanced_page_view.cc +++ b/chrome/browser/views/options/advanced_page_view.cc @@ -19,9 +19,8 @@ #include "chrome/views/native_button.h" #include "chrome/views/scroll_view.h" #include "chrome/views/window.h" - -#include "chromium_strings.h" -#include "generated_resources.h" +#include "grit/chromium_strings.h" +#include "grit/generated_resources.h" namespace { diff --git a/chrome/browser/views/options/content_page_view.cc b/chrome/browser/views/options/content_page_view.cc index b3a728c..ed068b6 100644 --- a/chrome/browser/views/options/content_page_view.cc +++ b/chrome/browser/views/options/content_page_view.cc @@ -11,7 +11,6 @@ #include "base/file_util.h" #include "base/gfx/native_theme.h" -#include "grit/theme_resources.h" #include "chrome/browser/browser_process.h" #include "chrome/browser/shell_dialogs.h" #include "chrome/browser/views/options/fonts_languages_window_view.h" @@ -30,7 +29,8 @@ #include "chrome/views/radio_button.h" #include "chrome/views/text_field.h" #include "chrome/views/widget.h" -#include "generated_resources.h" +#include "grit/generated_resources.h" +#include "grit/theme_resources.h" #include "skia/ext/skia_utils_win.h" #include "skia/include/SkBitmap.h" diff --git a/chrome/browser/views/options/general_page_view.cc b/chrome/browser/views/options/general_page_view.cc index ae81849..2d66925 100644 --- a/chrome/browser/views/options/general_page_view.cc +++ b/chrome/browser/views/options/general_page_view.cc @@ -8,7 +8,6 @@ #include "base/message_loop.h" #include "base/string_util.h" #include "base/thread.h" -#include "grit/theme_resources.h" #include "chrome/browser/browser.h" #include "chrome/browser/browser_list.h" #include "chrome/browser/browser_process.h" @@ -34,11 +33,11 @@ #include "chrome/views/radio_button.h" #include "chrome/views/table_view.h" #include "chrome/views/text_field.h" +#include "grit/chromium_strings.h" +#include "grit/generated_resources.h" +#include "grit/theme_resources.h" #include "skia/include/SkBitmap.h" -#include "chromium_strings.h" -#include "generated_resources.h" - static const int kStartupRadioGroup = 1; static const int kHomePageRadioGroup = 2; static const SkColor kDefaultBrowserLabelColor = SkColorSetRGB(0, 135, 0); diff --git a/chrome/browser/views/options/language_combobox_model.cc b/chrome/browser/views/options/language_combobox_model.cc index 1471fd8..0930fbb 100644 --- a/chrome/browser/views/options/language_combobox_model.cc +++ b/chrome/browser/views/options/language_combobox_model.cc @@ -9,10 +9,9 @@ #include "chrome/browser/metrics/user_metrics.h" #include "chrome/common/l10n_util.h" #include "chrome/common/pref_service.h" +#include "grit/generated_resources.h" #include "unicode/uloc.h" -#include "generated_resources.h" - /////////////////////////////////////////////////////////////////////////////// // LanguageComboboxModel used to populate a combobox with native names // corresponding to the language code (e.g. English (United States) for en-US) diff --git a/chrome/browser/views/options/languages_page_view.cc b/chrome/browser/views/options/languages_page_view.cc index 0252d7d..be7e81f 100644 --- a/chrome/browser/views/options/languages_page_view.cc +++ b/chrome/browser/views/options/languages_page_view.cc @@ -12,7 +12,6 @@ #include "base/string_util.h" #include "base/gfx/native_theme.h" #include "base/string_util.h" -#include "grit/theme_resources.h" #include "chrome/browser/browser_process.h" #include "chrome/browser/shell_dialogs.h" #include "chrome/browser/spellchecker.h" @@ -34,12 +33,12 @@ #include "chrome/views/tabbed_pane.h" #include "chrome/views/text_field.h" #include "chrome/views/widget.h" +#include "grit/chromium_strings.h" +#include "grit/generated_resources.h" +#include "grit/theme_resources.h" #include "skia/include/SkBitmap.h" #include "unicode/uloc.h" -#include "chromium_strings.h" -#include "generated_resources.h" - static const wchar_t* const accept_language_list[] = { L"af", // Afrikaans L"am", // Amharic diff --git a/chrome/browser/views/password_manager_exceptions_view.cc b/chrome/browser/views/password_manager_exceptions_view.cc index b12d471..9d41a85 100644 --- a/chrome/browser/views/password_manager_exceptions_view.cc +++ b/chrome/browser/views/password_manager_exceptions_view.cc @@ -12,8 +12,7 @@ #include "chrome/views/background.h" #include "chrome/views/grid_layout.h" #include "chrome/views/native_button.h" - -#include "generated_resources.h" +#include "grit/generated_resources.h" using views::ColumnSet; using views::GridLayout; diff --git a/chrome/browser/views/password_manager_view.cc b/chrome/browser/views/password_manager_view.cc index 15e5771..644e09f 100644 --- a/chrome/browser/views/password_manager_view.cc +++ b/chrome/browser/views/password_manager_view.cc @@ -12,8 +12,7 @@ #include "chrome/views/background.h" #include "chrome/views/grid_layout.h" #include "chrome/views/native_button.h" - -#include "generated_resources.h" +#include "grit/generated_resources.h" using views::ColumnSet; using views::GridLayout; diff --git a/chrome/browser/views/repost_form_warning_view.cc b/chrome/browser/views/repost_form_warning_view.cc index 87d90c9..070e130 100644 --- a/chrome/browser/views/repost_form_warning_view.cc +++ b/chrome/browser/views/repost_form_warning_view.cc @@ -10,8 +10,7 @@ #include "chrome/common/notification_service.h" #include "chrome/views/message_box_view.h" #include "chrome/views/window.h" - -#include "generated_resources.h" +#include "grit/generated_resources.h" // Implementation of function declared in // browser/tab_contents/repost_form_warning.h diff --git a/chrome/browser/views/restart_message_box.cc b/chrome/browser/views/restart_message_box.cc index 596e16b..05fa894 100644 --- a/chrome/browser/views/restart_message_box.cc +++ b/chrome/browser/views/restart_message_box.cc @@ -7,9 +7,8 @@ #include "chrome/common/l10n_util.h" #include "chrome/views/message_box_view.h" #include "chrome/views/window.h" - -#include "chromium_strings.h" -#include "generated_resources.h" +#include "grit/chromium_strings.h" +#include "grit/generated_resources.h" //////////////////////////////////////////////////////////////////////////////// // RestartMessageBox, public: diff --git a/chrome/browser/views/sad_tab_view.cc b/chrome/browser/views/sad_tab_view.cc index 0eb5104..ca30aca 100644 --- a/chrome/browser/views/sad_tab_view.cc +++ b/chrome/browser/views/sad_tab_view.cc @@ -5,11 +5,11 @@ #include "chrome/browser/views/sad_tab_view.h" #include "base/gfx/size.h" -#include "grit/theme_resources.h" #include "chrome/common/gfx/chrome_canvas.h" #include "chrome/common/l10n_util.h" #include "chrome/common/resource_bundle.h" -#include "generated_resources.h" +#include "grit/generated_resources.h" +#include "grit/theme_resources.h" #include "skia/ext/skia_utils.h" #include "skia/include/SkGradientShader.h" diff --git a/chrome/browser/views/shell_dialogs_win.cc b/chrome/browser/views/shell_dialogs_win.cc index a7720c7..ed50ca7 100644 --- a/chrome/browser/views/shell_dialogs_win.cc +++ b/chrome/browser/views/shell_dialogs_win.cc @@ -20,7 +20,7 @@ #include "chrome/common/gfx/chrome_font.h" #include "chrome/common/l10n_util.h" #include "chrome/common/win_util.h" -#include "generated_resources.h" +#include "grit/generated_resources.h" class ShellDialogThread : public base::Thread { public: diff --git a/chrome/browser/views/star_toggle.cc b/chrome/browser/views/star_toggle.cc index 6e16653..83239e6 100644 --- a/chrome/browser/views/star_toggle.cc +++ b/chrome/browser/views/star_toggle.cc @@ -5,9 +5,9 @@ #include "chrome/browser/views/star_toggle.h" #include "chrome/app/chrome_dll_resource.h" -#include "grit/theme_resources.h" #include "chrome/common/gfx/chrome_canvas.h" #include "chrome/common/resource_bundle.h" +#include "grit/theme_resources.h" StarToggle::StarToggle(Delegate* delegate) : delegate_(delegate), diff --git a/chrome/browser/views/status_bubble_views.cc b/chrome/browser/views/status_bubble_views.cc index 31ae020..816677d 100644 --- a/chrome/browser/views/status_bubble_views.cc +++ b/chrome/browser/views/status_bubble_views.cc @@ -8,7 +8,6 @@ #include "base/scoped_ptr.h" #include "base/string_util.h" -#include "grit/theme_resources.h" #include "chrome/common/animation.h" #include "chrome/common/gfx/chrome_canvas.h" #include "chrome/common/gfx/text_elider.h" @@ -18,13 +17,13 @@ #include "chrome/views/root_view.h" #include "chrome/views/widget_win.h" #include "googleurl/src/gurl.h" +#include "grit/generated_resources.h" +#include "grit/theme_resources.h" #include "net/base/net_util.h" #include "SkPaint.h" #include "SkPath.h" #include "SkRect.h" -#include "generated_resources.h" - // The color of the background bubble. static const SkColor kBubbleColor = SkColorSetRGB(222, 234, 248); diff --git a/chrome/browser/views/tab_icon_view.cc b/chrome/browser/views/tab_icon_view.cc index 61723fac..51db9bf 100644 --- a/chrome/browser/views/tab_icon_view.cc +++ b/chrome/browser/views/tab_icon_view.cc @@ -9,13 +9,13 @@ #include "base/file_util.h" #include "base/path_service.h" -#include "grit/theme_resources.h" +#include "chrome/app/chrome_dll_resource.h" +#include "chrome/browser/tab_contents/tab_contents.h" #include "chrome/common/gfx/chrome_canvas.h" #include "chrome/common/gfx/favicon_size.h" #include "chrome/common/gfx/icon_util.h" #include "chrome/common/resource_bundle.h" -#include "chrome/browser/tab_contents/tab_contents.h" -#include "chrome/app/chrome_dll_resource.h" +#include "grit/theme_resources.h" static bool g_initialized = false; static SkBitmap* g_default_fav_icon = NULL; diff --git a/chrome/browser/views/tabs/tab.cc b/chrome/browser/views/tabs/tab.cc index 576a84f..fdd6b65 100644 --- a/chrome/browser/views/tabs/tab.cc +++ b/chrome/browser/views/tabs/tab.cc @@ -12,7 +12,7 @@ #include "chrome/views/chrome_menu.h" #include "chrome/views/tooltip_manager.h" #include "chrome/views/widget.h" -#include "generated_resources.h" +#include "grit/generated_resources.h" const std::string Tab::kTabClassName = "browser/tabs/Tab"; diff --git a/chrome/browser/views/tabs/tab_renderer.cc b/chrome/browser/views/tabs/tab_renderer.cc index 84a68ad..cc7cf4c 100644 --- a/chrome/browser/views/tabs/tab_renderer.cc +++ b/chrome/browser/views/tabs/tab_renderer.cc @@ -6,7 +6,6 @@ #include "chrome/browser/views/tabs/tab_renderer.h" -#include "grit/theme_resources.h" #include "chrome/browser/browser.h" #include "chrome/browser/profile.h" #include "chrome/browser/tab_contents/tab_contents.h" @@ -16,7 +15,8 @@ #include "chrome/common/l10n_util.h" #include "chrome/common/resource_bundle.h" #include "chrome/common/win_util.h" -#include "generated_resources.h" +#include "grit/generated_resources.h" +#include "grit/theme_resources.h" #include "skia/ext/image_operations.h" static const int kLeftPadding = 16; diff --git a/chrome/browser/views/tabs/tab_strip.cc b/chrome/browser/views/tabs/tab_strip.cc index b8ad705..fceb5af 100644 --- a/chrome/browser/views/tabs/tab_strip.cc +++ b/chrome/browser/views/tabs/tab_strip.cc @@ -5,7 +5,6 @@ #include "chrome/browser/views/tabs/tab_strip.h" #include "base/gfx/size.h" -#include "grit/theme_resources.h" #include "chrome/browser/metrics/user_metrics.h" #include "chrome/browser/profile.h" #include "chrome/browser/tab_contents/tab_contents.h" @@ -26,8 +25,8 @@ #include "chrome/common/win_util.h" #include "chrome/views/image_view.h" #include "chrome/views/painter.h" - -#include "generated_resources.h" +#include "grit/generated_resources.h" +#include "grit/theme_resources.h" #undef min #undef max diff --git a/chrome/browser/views/toolbar_star_toggle.cc b/chrome/browser/views/toolbar_star_toggle.cc index 420605c..acc5a9e 100644 --- a/chrome/browser/views/toolbar_star_toggle.cc +++ b/chrome/browser/views/toolbar_star_toggle.cc @@ -4,13 +4,13 @@ #include "chrome/browser/views/toolbar_star_toggle.h" -#include "grit/theme_resources.h" #include "chrome/browser/bookmarks/bookmark_model.h" #include "chrome/browser/browser.h" #include "chrome/browser/views/bookmark_bubble_view.h" #include "chrome/browser/views/toolbar_view.h" #include "chrome/common/resource_bundle.h" #include "googleurl/src/gurl.h" +#include "grit/theme_resources.h" using base::TimeTicks; diff --git a/chrome/browser/views/toolbar_view.cc b/chrome/browser/views/toolbar_view.cc index bf65185..16f6a69 100644 --- a/chrome/browser/views/toolbar_view.cc +++ b/chrome/browser/views/toolbar_view.cc @@ -9,7 +9,6 @@ #include "base/logging.h" #include "base/path_service.h" #include "chrome/app/chrome_dll_resource.h" -#include "grit/theme_resources.h" #include "chrome/browser/bookmarks/bookmark_drag_data.h" #include "chrome/browser/bookmarks/bookmark_model.h" #include "chrome/browser/browser.h" @@ -46,11 +45,11 @@ #include "chrome/views/non_client_view.h" #include "chrome/views/tooltip_manager.h" #include "chrome/views/widget.h" +#include "grit/chromium_strings.h" +#include "grit/generated_resources.h" +#include "grit/theme_resources.h" #include "net/base/net_util.h" -#include "chromium_strings.h" -#include "generated_resources.h" - static const int kControlHorizOffset = 4; static const int kControlVertOffset = 6; static const int kControlIndent = 3; diff --git a/chrome/browser/views/user_data_dir_dialog.cc b/chrome/browser/views/user_data_dir_dialog.cc index ec0c535..901c86b 100644 --- a/chrome/browser/views/user_data_dir_dialog.cc +++ b/chrome/browser/views/user_data_dir_dialog.cc @@ -7,9 +7,8 @@ #include "chrome/common/l10n_util.h" #include "chrome/views/message_box_view.h" #include "chrome/views/window.h" - -#include "chromium_strings.h" -#include "generated_resources.h" +#include "grit/chromium_strings.h" +#include "grit/generated_resources.h" // static std::wstring UserDataDirDialog::RunUserDataDirDialog( |