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

Side by Side Diff: ash/shell/window_type_launcher.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 | « ash/shell/lock_view.cc ('k') | ash/shell/window_type_launcher.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 ASH_SHELL_WINDOW_TYPE_LAUNCHER_H_ 5 #ifndef ASH_SHELL_WINDOW_TYPE_LAUNCHER_H_
6 #define ASH_SHELL_WINDOW_TYPE_LAUNCHER_H_ 6 #define ASH_SHELL_WINDOW_TYPE_LAUNCHER_H_
7 7
8 #include "ui/views/context_menu_controller.h" 8 #include "ui/views/context_menu_controller.h"
9 #include "ui/views/controls/button/button.h" 9 #include "ui/views/controls/button/button.h"
10 #include "ui/views/controls/menu/menu_delegate.h" 10 #include "ui/views/controls/menu/menu_delegate.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 virtual bool OnMousePressed(const views::MouseEvent& event) OVERRIDE; 46 virtual bool OnMousePressed(const views::MouseEvent& event) OVERRIDE;
47 47
48 // Overridden from views::WidgetDelegate: 48 // Overridden from views::WidgetDelegate:
49 virtual views::View* GetContentsView() OVERRIDE; 49 virtual views::View* GetContentsView() OVERRIDE;
50 virtual bool CanResize() const OVERRIDE; 50 virtual bool CanResize() const OVERRIDE;
51 virtual string16 GetWindowTitle() const OVERRIDE; 51 virtual string16 GetWindowTitle() const OVERRIDE;
52 virtual bool CanMaximize() const OVERRIDE; 52 virtual bool CanMaximize() const OVERRIDE;
53 53
54 // Overridden from views::ButtonListener: 54 // Overridden from views::ButtonListener:
55 virtual void ButtonPressed(views::Button* sender, 55 virtual void ButtonPressed(views::Button* sender,
56 const views::Event& event) OVERRIDE; 56 const ui::Event& event) OVERRIDE;
57 57
58 #if !defined(OS_MACOSX) 58 #if !defined(OS_MACOSX)
59 // Overridden from views::MenuDelegate: 59 // Overridden from views::MenuDelegate:
60 virtual void ExecuteCommand(int id) OVERRIDE; 60 virtual void ExecuteCommand(int id) OVERRIDE;
61 61
62 // Override from views::ContextMenuController: 62 // Override from views::ContextMenuController:
63 virtual void ShowContextMenuForView(views::View* source, 63 virtual void ShowContextMenuForView(views::View* source,
64 const gfx::Point& point) OVERRIDE; 64 const gfx::Point& point) OVERRIDE;
65 #endif // !defined(OS_MACOSX) 65 #endif // !defined(OS_MACOSX)
66 66
(...skipping 15 matching lines...) Expand all
82 scoped_ptr<views::MenuRunner> menu_runner_; 82 scoped_ptr<views::MenuRunner> menu_runner_;
83 #endif 83 #endif
84 84
85 DISALLOW_COPY_AND_ASSIGN(WindowTypeLauncher); 85 DISALLOW_COPY_AND_ASSIGN(WindowTypeLauncher);
86 }; 86 };
87 87
88 } // namespace shell 88 } // namespace shell
89 } // namespace ash 89 } // namespace ash
90 90
91 #endif // ASH_SHELL_WINDOW_TYPE_LAUNCHER_H_ 91 #endif // ASH_SHELL_WINDOW_TYPE_LAUNCHER_H_
OLDNEW
« no previous file with comments | « ash/shell/lock_view.cc ('k') | ash/shell/window_type_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698