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

Side by Side Diff: chrome/browser/ui/views/location_bar/ev_bubble_view.h

Issue 10832282: Replace views::MouseEvent with ui::MouseEvent (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 months 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_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
11 class LocationBarView; 11 class LocationBarView;
12 12
13 namespace views { 13 namespace views {
14 class MouseEvent; 14 class MouseEvent;
15 } 15 }
16 16
17 // EVBubbleView displays the EV Bubble in the LocationBarView. 17 // EVBubbleView displays the EV Bubble in the LocationBarView.
18 class EVBubbleView : public IconLabelBubbleView { 18 class EVBubbleView : public IconLabelBubbleView {
19 public: 19 public:
20 EVBubbleView(const int background_images[], 20 EVBubbleView(const int background_images[],
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 views::MouseEvent& event) OVERRIDE; 27 virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE;
28 virtual void OnMouseReleased(const views::MouseEvent& event) OVERRIDE; 28 virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE;
29 virtual ui::GestureStatus OnGestureEvent( 29 virtual ui::GestureStatus OnGestureEvent(
30 const views::GestureEvent& event) OVERRIDE; 30 const views::GestureEvent& event) OVERRIDE;
31 31
32 private: 32 private:
33 PageInfoHelper page_info_helper_; 33 PageInfoHelper page_info_helper_;
34 34
35 DISALLOW_IMPLICIT_CONSTRUCTORS(EVBubbleView); 35 DISALLOW_IMPLICIT_CONSTRUCTORS(EVBubbleView);
36 }; 36 };
37 37
38 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_EV_BUBBLE_VIEW_H_ 38 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_EV_BUBBLE_VIEW_H_
39 39
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698