OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_BUBBLE_ICON_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_BUBBLE_ICON_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_BUBBLE_ICON_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_BUBBLE_ICON_VIEW_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "ui/gfx/image/image_skia.h" | 9 #include "ui/gfx/image/image_skia.h" |
9 #include "ui/gfx/vector_icons_public.h" | 10 #include "ui/gfx/vector_icons_public.h" |
10 #include "ui/views/controls/image_view.h" | 11 #include "ui/views/controls/image_view.h" |
11 | 12 |
12 class CommandUpdater; | 13 class CommandUpdater; |
13 | 14 |
14 namespace gfx { | 15 namespace gfx { |
15 enum class VectorIconId; | 16 enum class VectorIconId; |
16 } | 17 } |
17 | 18 |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 | 94 |
94 // This is used to check if the bookmark bubble was showing during the mouse | 95 // This is used to check if the bookmark bubble was showing during the mouse |
95 // pressed event. If this is true then the mouse released event is ignored to | 96 // pressed event. If this is true then the mouse released event is ignored to |
96 // prevent the bubble from reshowing. | 97 // prevent the bubble from reshowing. |
97 bool suppress_mouse_released_action_; | 98 bool suppress_mouse_released_action_; |
98 | 99 |
99 DISALLOW_COPY_AND_ASSIGN(BubbleIconView); | 100 DISALLOW_COPY_AND_ASSIGN(BubbleIconView); |
100 }; | 101 }; |
101 | 102 |
102 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_BUBBLE_ICON_VIEW_H_ | 103 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_BUBBLE_ICON_VIEW_H_ |
OLD | NEW |