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

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

Issue 155026: Fix the current remaining Views-GTK compile and linker errors. (Closed)
Patch Set: New patch Created 11 years, 5 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
« no previous file with comments | « no previous file | chrome/browser/gtk/bookmark_manager_gtk.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/gfx/png_decoder.h" 7 #include "base/gfx/png_decoder.h"
8 #include "base/string_util.h" 8 #include "base/string_util.h"
9 #include "base/values.h" 9 #include "base/values.h"
10 #include "chrome/browser/browser_list.h" 10 #include "chrome/browser/browser_list.h"
(...skipping 740 matching lines...) Expand 10 before | Expand all | Expand 10 after
751 751
752 void BrowserThemeProvider::ClearCaches() { 752 void BrowserThemeProvider::ClearCaches() {
753 FreePlatformCaches(); 753 FreePlatformCaches();
754 for (ImageCache::iterator i = image_cache_.begin(); 754 for (ImageCache::iterator i = image_cache_.begin();
755 i != image_cache_.end(); i++) { 755 i != image_cache_.end(); i++) {
756 delete i->second; 756 delete i->second;
757 } 757 }
758 image_cache_.clear(); 758 image_cache_.clear();
759 } 759 }
760 760
761 #if defined(OS_WIN) 761 #if defined(TOOLKIT_VIEWS)
762 void BrowserThemeProvider::FreePlatformCaches() { 762 void BrowserThemeProvider::FreePlatformCaches() {
763 // Windows has no platform image cache to clear. 763 // Views (Skia) has no platform image cache to clear.
764 } 764 }
765 #endif 765 #endif
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/gtk/bookmark_manager_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698