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

Side by Side Diff: chrome/browser/ui/views/create_application_shortcut_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
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_CREATE_APPLICATION_SHORTCUT_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_CREATE_APPLICATION_SHORTCUT_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_CREATE_APPLICATION_SHORTCUT_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_CREATE_APPLICATION_SHORTCUT_VIEW_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE; 49 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE;
50 virtual bool CanResize() const OVERRIDE; 50 virtual bool CanResize() const OVERRIDE;
51 virtual bool CanMaximize() const OVERRIDE; 51 virtual bool CanMaximize() const OVERRIDE;
52 virtual ui::ModalType GetModalType() const OVERRIDE; 52 virtual ui::ModalType GetModalType() const OVERRIDE;
53 virtual string16 GetWindowTitle() const OVERRIDE; 53 virtual string16 GetWindowTitle() const OVERRIDE;
54 virtual bool Accept() OVERRIDE; 54 virtual bool Accept() OVERRIDE;
55 virtual views::View* GetContentsView() OVERRIDE; 55 virtual views::View* GetContentsView() OVERRIDE;
56 56
57 // Overridden from views::ButtonListener: 57 // Overridden from views::ButtonListener:
58 virtual void ButtonPressed(views::Button* sender, 58 virtual void ButtonPressed(views::Button* sender,
59 const views::Event& event) OVERRIDE; 59 const ui::Event& event) OVERRIDE;
60 60
61 protected: 61 protected:
62 // Adds a new check-box as a child to the view. 62 // Adds a new check-box as a child to the view.
63 views::Checkbox* AddCheckbox(const string16& text, bool checked); 63 views::Checkbox* AddCheckbox(const string16& text, bool checked);
64 64
65 // Profile in which the shortcuts will be created. 65 // Profile in which the shortcuts will be created.
66 Profile* profile_; 66 Profile* profile_;
67 67
68 // UI elements on the dialog. 68 // UI elements on the dialog.
69 views::View* app_info_; 69 views::View* app_info_;
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 int index) OVERRIDE; 124 int index) OVERRIDE;
125 125
126 private: 126 private:
127 const extensions::Extension* app_; 127 const extensions::Extension* app_;
128 ImageLoadingTracker tracker_; 128 ImageLoadingTracker tracker_;
129 129
130 DISALLOW_COPY_AND_ASSIGN(CreateChromeApplicationShortcutView); 130 DISALLOW_COPY_AND_ASSIGN(CreateChromeApplicationShortcutView);
131 }; 131 };
132 132
133 #endif // CHROME_BROWSER_UI_VIEWS_CREATE_APPLICATION_SHORTCUT_VIEW_H_ 133 #endif // CHROME_BROWSER_UI_VIEWS_CREATE_APPLICATION_SHORTCUT_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698