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

Side by Side Diff: chrome/browser/ui/views/infobars/infobar_view.h

Issue 84363002: Minor c/b/ui/views/infobars changes: (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 1 month 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 #ifndef CHROME_BROWSER_UI_VIEWS_INFOBARS_INFOBAR_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_INFOBARS_INFOBAR_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_INFOBARS_INFOBAR_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_INFOBARS_INFOBAR_VIEW_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "chrome/browser/infobars/infobar.h" 10 #include "chrome/browser/infobars/infobar.h"
11 #include "chrome/browser/infobars/infobar_container.h" 11 #include "chrome/browser/infobars/infobar_container.h"
12 #include "third_party/skia/include/core/SkPath.h" 12 #include "third_party/skia/include/core/SkPath.h"
13 #include "ui/views/controls/button/button.h" 13 #include "ui/views/controls/button/button.h"
14 #include "ui/views/controls/menu/menu_item_view.h" 14 #include "ui/views/controls/menu/menu_item_view.h"
15 #include "ui/views/focus/external_focus_tracker.h" 15 #include "ui/views/focus/external_focus_tracker.h"
16 16
17 namespace ui { 17 namespace ui {
18 class MenuModel; 18 class MenuModel;
19 } 19 }
20
20 namespace views { 21 namespace views {
21 class ImageButton; 22 class ImageButton;
22 class ImageView; 23 class ImageView;
23 class Label; 24 class Label;
24 class LabelButton; 25 class LabelButton;
25 class Link; 26 class Link;
26 class LinkListener; 27 class LinkListener;
27 class MenuButton; 28 class MenuButton;
28 class MenuButtonListener; 29 class MenuButtonListener;
29 class MenuRunner; 30 class MenuRunner;
30 } 31 } // namespace views
Peter Kasting 2013/11/23 02:49:39 I added this because the presubmit check yelled at
31 32
32 class InfoBarView : public InfoBar, 33 class InfoBarView : public InfoBar,
33 public views::View, 34 public views::View,
34 public views::ButtonListener, 35 public views::ButtonListener,
35 public views::ExternalFocusTracker { 36 public views::ExternalFocusTracker {
36 public: 37 public:
37 InfoBarView(InfoBarService* owner, InfoBarDelegate* delegate); 38 InfoBarView(InfoBarService* owner, InfoBarDelegate* delegate);
38 39
39 const SkPath& fill_path() const { return fill_path_; } 40 const SkPath& fill_path() const { return fill_path_; }
40 const SkPath& stroke_path() const { return stroke_path_; } 41 const SkPath& stroke_path() const { return stroke_path_; }
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 SkPath fill_path_; 125 SkPath fill_path_;
125 SkPath stroke_path_; 126 SkPath stroke_path_;
126 127
127 // Used to run the menu. 128 // Used to run the menu.
128 scoped_ptr<views::MenuRunner> menu_runner_; 129 scoped_ptr<views::MenuRunner> menu_runner_;
129 130
130 DISALLOW_COPY_AND_ASSIGN(InfoBarView); 131 DISALLOW_COPY_AND_ASSIGN(InfoBarView);
131 }; 132 };
132 133
133 #endif // CHROME_BROWSER_UI_VIEWS_INFOBARS_INFOBAR_VIEW_H_ 134 #endif // CHROME_BROWSER_UI_VIEWS_INFOBARS_INFOBAR_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/infobars/extension_infobar.h ('k') | chrome/browser/ui/views/infobars/translate_language_menu_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698