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

Side by Side Diff: chrome/browser/ui/views/uninstall_view.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
« no previous file with comments | « chrome/browser/ui/views/toolbar_view.cc ('k') | chrome/browser/ui/views/uninstall_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_UNINSTALL_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_UNINSTALL_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_UNINSTALL_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_UNINSTALL_VIEW_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 13 matching lines...) Expand all
24 class UninstallView : public views::ButtonListener, 24 class UninstallView : public views::ButtonListener,
25 public views::DialogDelegateView, 25 public views::DialogDelegateView,
26 public ui::ComboboxModel { 26 public ui::ComboboxModel {
27 public: 27 public:
28 explicit UninstallView(int* user_selection, 28 explicit UninstallView(int* user_selection,
29 const base::Closure& quit_closure); 29 const base::Closure& quit_closure);
30 virtual ~UninstallView(); 30 virtual ~UninstallView();
31 31
32 // Overridden form views::ButtonListener. 32 // Overridden form views::ButtonListener.
33 virtual void ButtonPressed(views::Button* sender, 33 virtual void ButtonPressed(views::Button* sender,
34 const views::Event& event) OVERRIDE; 34 const ui::Event& event) OVERRIDE;
35 35
36 // Overridden from views::DialogDelegateView: 36 // Overridden from views::DialogDelegateView:
37 virtual bool Accept() OVERRIDE; 37 virtual bool Accept() OVERRIDE;
38 virtual bool Cancel() OVERRIDE; 38 virtual bool Cancel() OVERRIDE;
39 virtual string16 GetDialogButtonLabel(ui::DialogButton button) const OVERRIDE; 39 virtual string16 GetDialogButtonLabel(ui::DialogButton button) const OVERRIDE;
40 40
41 // Overridden from views::WidgetDelegate: 41 // Overridden from views::WidgetDelegate:
42 virtual string16 GetWindowTitle() const OVERRIDE; 42 virtual string16 GetWindowTitle() const OVERRIDE;
43 virtual views::View* GetContentsView() OVERRIDE; 43 virtual views::View* GetContentsView() OVERRIDE;
44 44
(...skipping 11 matching lines...) Expand all
56 views::Combobox* browsers_combo_; 56 views::Combobox* browsers_combo_;
57 typedef std::map<std::wstring, std::wstring> BrowsersMap; 57 typedef std::map<std::wstring, std::wstring> BrowsersMap;
58 scoped_ptr<BrowsersMap> browsers_; 58 scoped_ptr<BrowsersMap> browsers_;
59 int& user_selection_; 59 int& user_selection_;
60 base::Closure quit_closure_; 60 base::Closure quit_closure_;
61 61
62 DISALLOW_COPY_AND_ASSIGN(UninstallView); 62 DISALLOW_COPY_AND_ASSIGN(UninstallView);
63 }; 63 };
64 64
65 #endif // CHROME_BROWSER_UI_VIEWS_UNINSTALL_VIEW_H_ 65 #endif // CHROME_BROWSER_UI_VIEWS_UNINSTALL_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/toolbar_view.cc ('k') | chrome/browser/ui/views/uninstall_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698