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

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

Issue 6377001: [Mac] Organize all infobar files into chrome/browser/ui/cocoa/infobars/.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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) 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/ui/cocoa/infobar_gradient_view.h" 5 #include "chrome/browser/ui/cocoa/infobars/infobar_gradient_view.h"
6 6
7 #include "base/scoped_nsobject.h" 7 #include "base/scoped_nsobject.h"
8 #import "chrome/browser/themes/browser_theme_provider.h" 8 #import "chrome/browser/themes/browser_theme_provider.h"
9 #import "chrome/browser/ui/cocoa/themed_window.h" 9 #import "chrome/browser/ui/cocoa/themed_window.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] =
(...skipping 45 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