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_EV_BUBBLE_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_EV_BUBBLE_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_EV_BUBBLE_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_EV_BUBBLE_VIEW_H_ |
7 | 7 |
8 #include "chrome/browser/ui/views/location_bar/icon_label_bubble_view.h" | 8 #include "chrome/browser/ui/views/location_bar/icon_label_bubble_view.h" |
9 #include "chrome/browser/ui/views/location_bar/page_info_helper.h" | 9 #include "chrome/browser/ui/views/location_bar/page_info_helper.h" |
10 | 10 |
(...skipping 10 matching lines...) Expand all Loading... |
21 int contained_image, | 21 int contained_image, |
22 SkColor color, | 22 SkColor color, |
23 LocationBarView* location_bar); | 23 LocationBarView* location_bar); |
24 virtual ~EVBubbleView(); | 24 virtual ~EVBubbleView(); |
25 | 25 |
26 // Overridden from View. | 26 // Overridden from View. |
27 virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; | 27 virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; |
28 virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; | 28 virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; |
29 | 29 |
30 // Overridden from ui::EventHandler. | 30 // Overridden from ui::EventHandler. |
31 virtual ui::EventResult OnGestureEvent(ui::GestureEvent* event) OVERRIDE; | 31 virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; |
32 | 32 |
33 private: | 33 private: |
34 PageInfoHelper page_info_helper_; | 34 PageInfoHelper page_info_helper_; |
35 | 35 |
36 DISALLOW_IMPLICIT_CONSTRUCTORS(EVBubbleView); | 36 DISALLOW_IMPLICIT_CONSTRUCTORS(EVBubbleView); |
37 }; | 37 }; |
38 | 38 |
39 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_EV_BUBBLE_VIEW_H_ | 39 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_EV_BUBBLE_VIEW_H_ |
40 | 40 |
OLD | NEW |