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

Side by Side Diff: chrome/browser/themes/theme_service_mac.mm

Issue 107933006: Get rid of ui_cocoa_third_party_toolkits target from ui.gyp (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: mark review Created 7 years 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/themes/theme_service.h" 5 #include "chrome/browser/themes/theme_service.h"
6 6
7 #import <Cocoa/Cocoa.h> 7 #import <Cocoa/Cocoa.h>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "chrome/browser/themes/browser_theme_pack.h" 10 #include "chrome/browser/themes/browser_theme_pack.h"
11 #include "chrome/browser/themes/theme_properties.h" 11 #include "chrome/browser/themes/theme_properties.h"
12 #include "skia/ext/skia_utils_mac.h" 12 #include "skia/ext/skia_utils_mac.h"
13 #import "third_party/GTM/AppKit/GTMNSColor+Luminance.h" 13 #import "third_party/google_toolbox_for_mac/src/AppKit/GTMNSColor+Luminance.h"
14 #include "ui/base/resource/resource_bundle.h" 14 #include "ui/base/resource/resource_bundle.h"
15 #include "ui/gfx/color_utils.h" 15 #include "ui/gfx/color_utils.h"
16 #include "ui/gfx/image/image.h" 16 #include "ui/gfx/image/image.h"
17 #include "skia/ext/skia_utils_mac.h" 17 #include "skia/ext/skia_utils_mac.h"
18 18
19 NSString* const kBrowserThemeDidChangeNotification = 19 NSString* const kBrowserThemeDidChangeNotification =
20 @"BrowserThemeDidChangeNotification"; 20 @"BrowserThemeDidChangeNotification";
21 21
22 typedef ThemeProperties Properties; 22 typedef ThemeProperties Properties;
23 23
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 } 280 }
281 nscolor_cache_.clear(); 281 nscolor_cache_.clear();
282 282
283 // Free gradients. 283 // Free gradients.
284 for (NSGradientMap::iterator i = nsgradient_cache_.begin(); 284 for (NSGradientMap::iterator i = nsgradient_cache_.begin();
285 i != nsgradient_cache_.end(); i++) { 285 i != nsgradient_cache_.end(); i++) {
286 [i->second release]; 286 [i->second release];
287 } 287 }
288 nsgradient_cache_.clear(); 288 nsgradient_cache_.clear();
289 } 289 }
OLDNEW
« no previous file with comments | « chrome/browser/service_process/service_process_control_mac.mm ('k') | chrome/browser/ui/cocoa/about_ipc_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698