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

Side by Side Diff: chrome/browser/cocoa/infobar_gradient_view.mm

Issue 3173043: Move theme files in chrome/browser/ into a themes/ subdir. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 4 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
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/cocoa/infobar_gradient_view.h" 5 #include "chrome/browser/cocoa/infobar_gradient_view.h"
6 6
7 #include "base/scoped_nsobject.h" 7 #include "base/scoped_nsobject.h"
8 #import "chrome/browser/browser_theme_provider.h"
9 #import "chrome/browser/cocoa/themed_window.h" 8 #import "chrome/browser/cocoa/themed_window.h"
9 #import "chrome/browser/themes/browser_theme_provider.h"
10 10
11 namespace { 11 namespace {
12 12
13 const double kBackgroundColorTop[3] = 13 const double kBackgroundColorTop[3] =
14 {255.0 / 255.0, 242.0 / 255.0, 183.0 / 255.0}; 14 {255.0 / 255.0, 242.0 / 255.0, 183.0 / 255.0};
15 const double kBackgroundColorBottom[3] = 15 const double kBackgroundColorBottom[3] =
16 {250.0 / 255.0, 230.0 / 255.0, 145.0 / 255.0}; 16 {250.0 / 255.0, 230.0 / 255.0, 145.0 / 255.0};
17 } 17 }
18 18
19 @implementation InfoBarGradientView 19 @implementation InfoBarGradientView
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 } 61 }
62 62
63 - (id)accessibilityAttributeValue:(NSString*)attribute { 63 - (id)accessibilityAttributeValue:(NSString*)attribute {
64 if ([attribute isEqual:NSAccessibilityRoleAttribute]) 64 if ([attribute isEqual:NSAccessibilityRoleAttribute])
65 return NSAccessibilityGroupRole; 65 return NSAccessibilityGroupRole;
66 66
67 return [super accessibilityAttributeValue:attribute]; 67 return [super accessibilityAttributeValue:attribute];
68 } 68 }
69 69
70 @end 70 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698