| 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_LOCATION_ICON_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_ICON_VIEW_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_ICON_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_ICON_VIEW_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "chrome/browser/ui/views/location_bar/icon_label_bubble_view.h" | 9 #include "chrome/browser/ui/views/location_bar/icon_label_bubble_view.h" |
| 9 | 10 |
| 10 class LocationBarView; | 11 class LocationBarView; |
| 11 | 12 |
| 12 namespace ui { | 13 namespace ui { |
| 13 class KeyEvent; | 14 class KeyEvent; |
| 14 class LocatedEvent; | 15 class LocatedEvent; |
| 15 } | 16 } |
| 16 | 17 |
| 17 // Use a LocationIconView to display an icon on the leading side of the edit | 18 // Use a LocationIconView to display an icon on the leading side of the edit |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 // clicked. This suppresses re-showing the bubble on mouse release, so that | 64 // clicked. This suppresses re-showing the bubble on mouse release, so that |
| 64 // clicking the icon repeatedly will appear to toggle the bubble on and off. | 65 // clicking the icon repeatedly will appear to toggle the bubble on and off. |
| 65 bool suppress_mouse_released_action_; | 66 bool suppress_mouse_released_action_; |
| 66 | 67 |
| 67 LocationBarView* location_bar_; | 68 LocationBarView* location_bar_; |
| 68 | 69 |
| 69 DISALLOW_COPY_AND_ASSIGN(LocationIconView); | 70 DISALLOW_COPY_AND_ASSIGN(LocationIconView); |
| 70 }; | 71 }; |
| 71 | 72 |
| 72 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_ICON_VIEW_H_ | 73 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_ICON_VIEW_H_ |
| OLD | NEW |