OLD | NEW |
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_LOCATION_BAR_ICON_LABEL_BUBBLE_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_ICON_LABEL_BUBBLE_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_ICON_LABEL_BUBBLE_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_ICON_LABEL_BUBBLE_VIEW_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "base/strings/string16.h" | 11 #include "base/strings/string16.h" |
11 #include "ui/gfx/geometry/insets.h" | 12 #include "ui/gfx/geometry/insets.h" |
12 #include "ui/gfx/geometry/size.h" | 13 #include "ui/gfx/geometry/size.h" |
13 #include "ui/views/controls/image_view.h" | 14 #include "ui/views/controls/image_view.h" |
14 #include "ui/views/controls/label.h" | 15 #include "ui/views/controls/label.h" |
15 | 16 |
16 namespace gfx { | 17 namespace gfx { |
17 class Canvas; | 18 class Canvas; |
18 class FontList; | 19 class FontList; |
19 class ImageSkia; | 20 class ImageSkia; |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 // the native theme (so it responds to native theme updates). TODO(estade): | 115 // the native theme (so it responds to native theme updates). TODO(estade): |
115 // remove when MD is default. | 116 // remove when MD is default. |
116 SkColor parent_background_color_; | 117 SkColor parent_background_color_; |
117 | 118 |
118 bool should_show_background_; | 119 bool should_show_background_; |
119 | 120 |
120 DISALLOW_COPY_AND_ASSIGN(IconLabelBubbleView); | 121 DISALLOW_COPY_AND_ASSIGN(IconLabelBubbleView); |
121 }; | 122 }; |
122 | 123 |
123 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_ICON_LABEL_BUBBLE_VIEW_H_ | 124 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_ICON_LABEL_BUBBLE_VIEW_H_ |
OLD | NEW |