diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-21 02:22:59 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-21 02:22:59 +0000 |
commit | 65d3bae599943b43b1180c095801da13556873f1 (patch) | |
tree | c3c9411a8cc27c13a1f0f0700013abe0f91204ca /views | |
parent | 2d0dbbaa2379e0b5d11909f25584c4da0c0610d2 (diff) | |
download | chromium_src-65d3bae599943b43b1180c095801da13556873f1.zip chromium_src-65d3bae599943b43b1180c095801da13556873f1.tar.gz chromium_src-65d3bae599943b43b1180c095801da13556873f1.tar.bz2 |
views/ should use resources from app/resources. Move dependent images to this location.
http://crbug.com/11387
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16567 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
-rw-r--r-- | views/DEPS | 3 | ||||
-rw-r--r-- | views/controls/button/menu_button.cc | 2 | ||||
-rw-r--r-- | views/controls/button/text_button.cc | 2 | ||||
-rw-r--r-- | views/controls/scroll_view.cc | 1 | ||||
-rw-r--r-- | views/controls/throbber.cc | 2 | ||||
-rw-r--r-- | views/controls/tree/tree_view.cc | 2 | ||||
-rw-r--r-- | views/drag_utils.cc | 2 | ||||
-rw-r--r-- | views/views.gyp | 15 | ||||
-rw-r--r-- | views/window/custom_frame_view.cc | 2 |
9 files changed, 8 insertions, 23 deletions
@@ -1,7 +1,6 @@ include_rules = [ "+app", "+grit/app_strings.h", - # TODO(beng): swap these with app/views specific generated resources. - "+grit/theme_resources.h", + "+grit/app_resources.h", "+skia/ext", ] diff --git a/views/controls/button/menu_button.cc b/views/controls/button/menu_button.cc index fdb28c0..b7e1f8f 100644 --- a/views/controls/button/menu_button.cc +++ b/views/controls/button/menu_button.cc @@ -10,7 +10,7 @@ #include "app/resource_bundle.h" #include "app/win_util.h" #include "grit/app_strings.h" -#include "grit/theme_resources.h" +#include "grit/app_resources.h" #include "views/controls/button/button.h" #include "views/controls/menu/view_menu_delegate.h" #include "views/event.h" diff --git a/views/controls/button/text_button.cc b/views/controls/button/text_button.cc index 9bf9e24..e468e9e 100644 --- a/views/controls/button/text_button.cc +++ b/views/controls/button/text_button.cc @@ -10,7 +10,7 @@ #include "app/resource_bundle.h" #include "views/controls/button/button.h" #include "views/event.h" -#include "grit/theme_resources.h" +#include "grit/app_resources.h" namespace views { diff --git a/views/controls/scroll_view.cc b/views/controls/scroll_view.cc index 680b623..ecc3033 100644 --- a/views/controls/scroll_view.cc +++ b/views/controls/scroll_view.cc @@ -6,7 +6,6 @@ #include "app/resource_bundle.h" #include "base/logging.h" -#include "grit/theme_resources.h" #include "views/controls/scrollbar/native_scroll_bar.h" #include "views/widget/root_view.h" diff --git a/views/controls/throbber.cc b/views/controls/throbber.cc index e15fcb3..2a4e324 100644 --- a/views/controls/throbber.cc +++ b/views/controls/throbber.cc @@ -7,7 +7,7 @@ #include "app/gfx/canvas.h" #include "app/resource_bundle.h" #include "base/time.h" -#include "grit/theme_resources.h" +#include "grit/app_resources.h" #include "third_party/skia/include/core/SkBitmap.h" using base::Time; diff --git a/views/controls/tree/tree_view.cc b/views/controls/tree/tree_view.cc index ceaa461..4aebad7 100644 --- a/views/controls/tree/tree_view.cc +++ b/views/controls/tree/tree_view.cc @@ -15,7 +15,7 @@ #include "app/resource_bundle.h" #include "base/stl_util-inl.h" #include "base/win_util.h" -#include "grit/theme_resources.h" +#include "grit/app_resources.h" #include "views/focus/focus_manager.h" #include "views/widget/widget.h" diff --git a/views/drag_utils.cc b/views/drag_utils.cc index 17ba99b..009fc47 100644 --- a/views/drag_utils.cc +++ b/views/drag_utils.cc @@ -18,7 +18,7 @@ #include "base/gfx/point.h" #include "base/string_util.h" #include "googleurl/src/gurl.h" -#include "grit/theme_resources.h" +#include "grit/app_resources.h" #include "views/controls/button/text_button.h" namespace drag_utils { diff --git a/views/views.gyp b/views/views.gyp index d65a102..dff1b66 100644 --- a/views/views.gyp +++ b/views/views.gyp @@ -44,6 +44,7 @@ 'dependencies': [ '../app/app.gyp:app_base', '../app/app.gyp:app_strings', + '../app/app.gyp:app_resources', '../skia/skia.gyp:skia', '../third_party/icu38/icu38.gyp:icui18n', '../third_party/icu38/icu38.gyp:icuuc', @@ -260,13 +261,6 @@ 'window/native_frame_view.cc', 'widget/widget_win.cc', ], - # TODO: Move these dependencies to platform-neutral once these - # projects are generated by GYP. - 'dependencies': [ - '../chrome/chrome.gyp:chrome_resources', - '../chrome/chrome.gyp:chrome_strings', - '../chrome/chrome.gyp:theme_resources', - ], }], ['OS=="win"', { 'defines': [ @@ -278,13 +272,6 @@ # TODO(beng): move wtl to src/third_party '../chrome/third_party/wtl/include', ], - # TODO: remove this when chrome_resources/chrome_strings are - # generated by GYP. - # The legacy vcproj we rely on places the grit output in this - # directory, so we need to explicitly add it to our include path. - 'include_dirs': [ - '<(PRODUCT_DIR)/grit_derived_sources', - ], }], ], }, diff --git a/views/window/custom_frame_view.cc b/views/window/custom_frame_view.cc index 35ecb6b..e8fdb0f 100644 --- a/views/window/custom_frame_view.cc +++ b/views/window/custom_frame_view.cc @@ -13,7 +13,7 @@ #include "app/win_util.h" #include "base/win_util.h" #endif -#include "grit/theme_resources.h" +#include "grit/app_resources.h" #include "views/window/client_view.h" #if defined(OS_LINUX) #include "views/window/hit_test.h" |