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

Side by Side Diff: chrome/browser/ui/cocoa/download/background_theme.mm

Issue 10272004: Move RefCountedMemory class to base namespace. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 years, 7 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
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/ui/cocoa/download/background_theme.h" 5 #include "chrome/browser/ui/cocoa/download/background_theme.h"
6 6
7 #import "chrome/browser/themes/theme_service.h" 7 #import "chrome/browser/themes/theme_service.h"
8 8
9 BackgroundTheme::BackgroundTheme(ui::ThemeProvider* provider) : 9 BackgroundTheme::BackgroundTheme(ui::ThemeProvider* provider) :
10 provider_(provider) { 10 provider_(provider) {
(...skipping 29 matching lines...) Expand all
40 } 40 }
41 41
42 bool BackgroundTheme::ShouldUseNativeFrame() const { 42 bool BackgroundTheme::ShouldUseNativeFrame() const {
43 return false; 43 return false;
44 } 44 }
45 45
46 bool BackgroundTheme::HasCustomImage(int id) const { 46 bool BackgroundTheme::HasCustomImage(int id) const {
47 return false; 47 return false;
48 } 48 }
49 49
50 RefCountedMemory* BackgroundTheme::GetRawData(int id) const { 50 base::RefCountedMemory* BackgroundTheme::GetRawData(int id) const {
51 return NULL; 51 return NULL;
52 } 52 }
53 53
54 NSImage* BackgroundTheme::GetNSImageNamed(int id, bool allow_default) const { 54 NSImage* BackgroundTheme::GetNSImageNamed(int id, bool allow_default) const {
55 return nil; 55 return nil;
56 } 56 }
57 57
58 NSColor* BackgroundTheme::GetNSImageColorNamed(int id, 58 NSColor* BackgroundTheme::GetNSImageColorNamed(int id,
59 bool allow_default) const { 59 bool allow_default) const {
60 return nil; 60 return nil;
(...skipping 17 matching lines...) Expand all
78 return buttonGradient_.get(); 78 return buttonGradient_.get();
79 case ThemeService::GRADIENT_TOOLBAR_BUTTON_PRESSED: 79 case ThemeService::GRADIENT_TOOLBAR_BUTTON_PRESSED:
80 case ThemeService::GRADIENT_TOOLBAR_BUTTON_PRESSED_INACTIVE: 80 case ThemeService::GRADIENT_TOOLBAR_BUTTON_PRESSED_INACTIVE:
81 return buttonPressedGradient_.get(); 81 return buttonPressedGradient_.get();
82 default: 82 default:
83 return provider_->GetNSGradient(id); 83 return provider_->GetNSGradient(id);
84 } 84 }
85 } 85 }
86 86
87 87
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/download/background_theme.h ('k') | chrome/browser/ui/webui/bookmarks_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698