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

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

Issue 23614007: Use the normal Google logo for managed users for --enable-instant-extended-api (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed mac compile failure Created 7 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_properties.h" 7 #import "chrome/browser/themes/theme_properties.h"
8 8
9 BackgroundTheme::BackgroundTheme(ui::ThemeProvider* provider) : 9 BackgroundTheme::BackgroundTheme(ui::ThemeProvider* provider) :
10 provider_(provider) { 10 provider_(provider) {
(...skipping 17 matching lines...) Expand all
28 BackgroundTheme::~BackgroundTheme() {} 28 BackgroundTheme::~BackgroundTheme() {}
29 29
30 gfx::ImageSkia* BackgroundTheme::GetImageSkiaNamed(int id) const { 30 gfx::ImageSkia* BackgroundTheme::GetImageSkiaNamed(int id) const {
31 return NULL; 31 return NULL;
32 } 32 }
33 33
34 SkColor BackgroundTheme::GetColor(int id) const { 34 SkColor BackgroundTheme::GetColor(int id) const {
35 return SkColor(); 35 return SkColor();
36 } 36 }
37 37
38 bool BackgroundTheme::GetDisplayProperty(int id, int* result) const { 38 int BackgroundTheme::GetDisplayProperty(int id) const {
39 return false; 39 return -1;
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
(...skipping 29 matching lines...) Expand all
79 return buttonGradient_.get(); 79 return buttonGradient_.get();
80 case ThemeProperties::GRADIENT_TOOLBAR_BUTTON_PRESSED: 80 case ThemeProperties::GRADIENT_TOOLBAR_BUTTON_PRESSED:
81 case ThemeProperties::GRADIENT_TOOLBAR_BUTTON_PRESSED_INACTIVE: 81 case ThemeProperties::GRADIENT_TOOLBAR_BUTTON_PRESSED_INACTIVE:
82 return buttonPressedGradient_.get(); 82 return buttonPressedGradient_.get();
83 default: 83 default:
84 return provider_->GetNSGradient(id); 84 return provider_->GetNSGradient(id);
85 } 85 }
86 } 86 }
87 87
88 88
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/download/background_theme.h ('k') | chrome/browser/ui/ntp_background_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698