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

Side by Side Diff: chrome/browser/ui/views/confirm_bubble_views.h

Issue 10827271: Replace views::Event with ui::Event. (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_CONFIRM_BUBBLE_VIEWS_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_CONFIRM_BUBBLE_VIEWS_H_
6 #define CHROME_BROWSER_UI_VIEWS_CONFIRM_BUBBLE_VIEWS_H_ 6 #define CHROME_BROWSER_UI_VIEWS_CONFIRM_BUBBLE_VIEWS_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "ui/views/bubble/bubble_delegate.h" 10 #include "ui/views/bubble/bubble_delegate.h"
(...skipping 26 matching lines...) Expand all
37 public views::LinkListener { 37 public views::LinkListener {
38 public: 38 public:
39 explicit ConfirmBubbleViews(const gfx::Point& anchor_point, 39 explicit ConfirmBubbleViews(const gfx::Point& anchor_point,
40 ConfirmBubbleModel* model); 40 ConfirmBubbleModel* model);
41 41
42 protected: 42 protected:
43 virtual ~ConfirmBubbleViews(); 43 virtual ~ConfirmBubbleViews();
44 44
45 // views::ButtonListener implementation. 45 // views::ButtonListener implementation.
46 virtual void ButtonPressed(views::Button* sender, 46 virtual void ButtonPressed(views::Button* sender,
47 const views::Event& event) OVERRIDE; 47 const ui::Event& event) OVERRIDE;
48 48
49 // views::LinkListener implementation. 49 // views::LinkListener implementation.
50 virtual void LinkClicked(views::Link* source, int event_flags) OVERRIDE; 50 virtual void LinkClicked(views::Link* source, int event_flags) OVERRIDE;
51 51
52 // views::BubbleDelegateView implementation. 52 // views::BubbleDelegateView implementation.
53 virtual gfx::Rect GetAnchorRect() OVERRIDE; 53 virtual gfx::Rect GetAnchorRect() OVERRIDE;
54 virtual void Init() OVERRIDE; 54 virtual void Init() OVERRIDE;
55 55
56 private: 56 private:
57 // The screen point where this bubble is anchored. 57 // The screen point where this bubble is anchored.
58 gfx::Point anchor_point_; 58 gfx::Point anchor_point_;
59 59
60 // The model to customize this bubble view. 60 // The model to customize this bubble view.
61 scoped_ptr<ConfirmBubbleModel> model_; 61 scoped_ptr<ConfirmBubbleModel> model_;
62 62
63 DISALLOW_COPY_AND_ASSIGN(ConfirmBubbleViews); 63 DISALLOW_COPY_AND_ASSIGN(ConfirmBubbleViews);
64 }; 64 };
65 65
66 #endif // CHROME_BROWSER_UI_VIEWS_CONFIRM_BUBBLE_VIEWS_H_ 66 #endif // CHROME_BROWSER_UI_VIEWS_CONFIRM_BUBBLE_VIEWS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/collected_cookies_views.cc ('k') | chrome/browser/ui/views/confirm_bubble_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698