Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(192)

Side by Side Diff: chrome/browser/browser_theme_provider.cc

Issue 203029: [Windows] Bookmark-menu button should be themed like any other menu button.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/views/bookmark_menu_button.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/browser_theme_provider.h" 5 #include "chrome/browser/browser_theme_provider.h"
6 6
7 #include "base/file_util.h" 7 #include "base/file_util.h"
8 #include "base/string_util.h" 8 #include "base/string_util.h"
9 #include "base/gfx/png_decoder.h" 9 #include "base/gfx/png_decoder.h"
10 #include "base/gfx/png_encoder.h" 10 #include "base/gfx/png_encoder.h"
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 IDR_BACK, IDR_BACK_D, IDR_BACK_H, IDR_BACK_P, 155 IDR_BACK, IDR_BACK_D, IDR_BACK_H, IDR_BACK_P,
156 IDR_FORWARD, IDR_FORWARD_D, IDR_FORWARD_H, IDR_FORWARD_P, 156 IDR_FORWARD, IDR_FORWARD_D, IDR_FORWARD_H, IDR_FORWARD_P,
157 IDR_RELOAD, IDR_RELOAD_H, IDR_RELOAD_P, 157 IDR_RELOAD, IDR_RELOAD_H, IDR_RELOAD_P,
158 IDR_HOME, IDR_HOME_H, IDR_HOME_P, 158 IDR_HOME, IDR_HOME_H, IDR_HOME_P,
159 IDR_STAR, IDR_STAR_NOBORDER, IDR_STAR_NOBORDER_CENTER, IDR_STAR_D, IDR_STAR_H, 159 IDR_STAR, IDR_STAR_NOBORDER, IDR_STAR_NOBORDER_CENTER, IDR_STAR_D, IDR_STAR_H,
160 IDR_STAR_P, 160 IDR_STAR_P,
161 IDR_STARRED, IDR_STARRED_NOBORDER, IDR_STARRED_NOBORDER_CENTER, IDR_STARRED_H, 161 IDR_STARRED, IDR_STARRED_NOBORDER, IDR_STARRED_NOBORDER_CENTER, IDR_STARRED_H,
162 IDR_STARRED_P, 162 IDR_STARRED_P,
163 IDR_GO, IDR_GO_NOBORDER, IDR_GO_NOBORDER_CENTER, IDR_GO_H, IDR_GO_P, 163 IDR_GO, IDR_GO_NOBORDER, IDR_GO_NOBORDER_CENTER, IDR_GO_H, IDR_GO_P,
164 IDR_STOP, IDR_STOP_NOBORDER, IDR_STOP_NOBORDER_CENTER, IDR_STOP_H, IDR_STOP_P, 164 IDR_STOP, IDR_STOP_NOBORDER, IDR_STOP_NOBORDER_CENTER, IDR_STOP_H, IDR_STOP_P,
165 IDR_MENU_BOOKMARK,
165 IDR_MENU_PAGE, IDR_MENU_PAGE_RTL, 166 IDR_MENU_PAGE, IDR_MENU_PAGE_RTL,
166 IDR_MENU_CHROME, IDR_MENU_CHROME_RTL, 167 IDR_MENU_CHROME, IDR_MENU_CHROME_RTL,
167 IDR_MENU_DROPARROW, 168 IDR_MENU_DROPARROW,
168 IDR_THROBBER, IDR_THROBBER_WAITING, IDR_THROBBER_LIGHT, 169 IDR_THROBBER, IDR_THROBBER_WAITING, IDR_THROBBER_LIGHT,
169 IDR_LOCATIONBG 170 IDR_LOCATIONBG
170 }; 171 };
171 172
172 // A map for kToolbarButtonIDs. 173 // A map for kToolbarButtonIDs.
173 static std::map<const int, bool> button_images_; 174 static std::map<const int, bool> button_images_;
174 175
(...skipping 1071 matching lines...) Expand 10 before | Expand all | Expand 10 after
1246 } 1247 }
1247 image_cache_.clear(); 1248 image_cache_.clear();
1248 images_disk_cache_.clear(); 1249 images_disk_cache_.clear();
1249 } 1250 }
1250 1251
1251 #if defined(TOOLKIT_VIEWS) 1252 #if defined(TOOLKIT_VIEWS)
1252 void BrowserThemeProvider::FreePlatformCaches() { 1253 void BrowserThemeProvider::FreePlatformCaches() {
1253 // Views (Skia) has no platform image cache to clear. 1254 // Views (Skia) has no platform image cache to clear.
1254 } 1255 }
1255 #endif 1256 #endif
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/views/bookmark_menu_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698