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

Side by Side Diff: chrome/browser/infobars/infobar.h

Issue 10843071: Create chrome/browser/api directory. Move infobar delegates used by Autofill to the directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments. Created 8 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/infobars/OWNERS ('k') | chrome/browser/infobars/infobar.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CHROME_BROWSER_INFOBARS_INFOBAR_H_ 5 #ifndef CHROME_BROWSER_INFOBARS_INFOBAR_H_
6 #define CHROME_BROWSER_INFOBARS_INFOBAR_H_ 6 #define CHROME_BROWSER_INFOBARS_INFOBAR_H_
7 7
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "build/build_config.h" 12 #include "build/build_config.h"
13 #include "chrome/browser/infobars/infobar_delegate.h" 13 #include "chrome/browser/api/infobars/infobar_delegate.h"
14 #include "third_party/skia/include/core/SkColor.h" 14 #include "third_party/skia/include/core/SkColor.h"
15 #include "ui/base/animation/animation_delegate.h" 15 #include "ui/base/animation/animation_delegate.h"
16 #include "ui/base/animation/slide_animation.h" 16 #include "ui/base/animation/slide_animation.h"
17 #include "ui/gfx/size.h" 17 #include "ui/gfx/size.h"
18 18
19 // TODO(sail): These functions should be static methods in the InfoBar class 19 // TODO(sail): These functions should be static methods in the InfoBar class
20 // below once all platforms use that class. 20 // below once all platforms use that class.
21 SkColor GetInfoBarTopColor(InfoBarDelegate::Type infobar_type); 21 SkColor GetInfoBarTopColor(InfoBarDelegate::Type infobar_type);
22 SkColor GetInfoBarBottomColor(InfoBarDelegate::Type infobar_type); 22 SkColor GetInfoBarBottomColor(InfoBarDelegate::Type infobar_type);
23 23
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 int bar_target_height_; 133 int bar_target_height_;
134 134
135 DISALLOW_COPY_AND_ASSIGN(InfoBar); 135 DISALLOW_COPY_AND_ASSIGN(InfoBar);
136 }; 136 };
137 137
138 #elif defined(OS_MACOSX) 138 #elif defined(OS_MACOSX)
139 #include "chrome/browser/ui/cocoa/infobars/infobar.h" 139 #include "chrome/browser/ui/cocoa/infobars/infobar.h"
140 #endif 140 #endif
141 141
142 #endif // CHROME_BROWSER_INFOBARS_INFOBAR_H_ 142 #endif // CHROME_BROWSER_INFOBARS_INFOBAR_H_
OLDNEW
« no previous file with comments | « chrome/browser/infobars/OWNERS ('k') | chrome/browser/infobars/infobar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698