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

Side by Side Diff: ash/wm/toplevel_window_event_handler.h

Issue 11280290: events: Change gesture-event handler in EventHandler to not return any values. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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/wm/system_gesture_event_filter.cc ('k') | ash/wm/toplevel_window_event_handler.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_WM_TOPLEVEL_WINDOW_EVENT_HANDLER_H_ 5 #ifndef ASH_WM_TOPLEVEL_WINDOW_EVENT_HANDLER_H_
6 #define ASH_WM_TOPLEVEL_WINDOW_EVENT_HANDLER_H_ 6 #define ASH_WM_TOPLEVEL_WINDOW_EVENT_HANDLER_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
(...skipping 22 matching lines...) Expand all
33 : public ui::EventHandler, 33 : public ui::EventHandler,
34 public aura::client::WindowMoveClient, 34 public aura::client::WindowMoveClient,
35 public DisplayController::Observer { 35 public DisplayController::Observer {
36 public: 36 public:
37 explicit ToplevelWindowEventHandler(aura::Window* owner); 37 explicit ToplevelWindowEventHandler(aura::Window* owner);
38 virtual ~ToplevelWindowEventHandler(); 38 virtual ~ToplevelWindowEventHandler();
39 39
40 // Overridden from ui::EventHandler: 40 // Overridden from ui::EventHandler:
41 virtual ui::EventResult OnKeyEvent(ui::KeyEvent* event) OVERRIDE; 41 virtual ui::EventResult OnKeyEvent(ui::KeyEvent* event) OVERRIDE;
42 virtual ui::EventResult OnMouseEvent(ui::MouseEvent* event) OVERRIDE; 42 virtual ui::EventResult OnMouseEvent(ui::MouseEvent* event) OVERRIDE;
43 virtual ui::EventResult OnGestureEvent(ui::GestureEvent* event) OVERRIDE; 43 virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE;
44 44
45 // Overridden form aura::client::WindowMoveClient: 45 // Overridden form aura::client::WindowMoveClient:
46 virtual aura::client::WindowMoveResult RunMoveLoop( 46 virtual aura::client::WindowMoveResult RunMoveLoop(
47 aura::Window* source, 47 aura::Window* source,
48 const gfx::Vector2d& drag_offset) OVERRIDE; 48 const gfx::Vector2d& drag_offset) OVERRIDE;
49 virtual void EndMoveLoop() OVERRIDE; 49 virtual void EndMoveLoop() OVERRIDE;
50 50
51 // Overridden form ash::DisplayController::Observer: 51 // Overridden form ash::DisplayController::Observer:
52 virtual void OnDisplayConfigurationChanging() OVERRIDE; 52 virtual void OnDisplayConfigurationChanging() OVERRIDE;
53 53
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 // Used to track if this object is deleted while running a nested message 105 // Used to track if this object is deleted while running a nested message
106 // loop. If non-null the destructor sets this to true. 106 // loop. If non-null the destructor sets this to true.
107 bool* destroyed_; 107 bool* destroyed_;
108 108
109 DISALLOW_COPY_AND_ASSIGN(ToplevelWindowEventHandler); 109 DISALLOW_COPY_AND_ASSIGN(ToplevelWindowEventHandler);
110 }; 110 };
111 111
112 } // namespace aura 112 } // namespace aura
113 113
114 #endif // ASH_WM_TOPLEVEL_WINDOW_EVENT_HANDLER_H_ 114 #endif // ASH_WM_TOPLEVEL_WINDOW_EVENT_HANDLER_H_
OLDNEW
« no previous file with comments | « ash/wm/system_gesture_event_filter.cc ('k') | ash/wm/toplevel_window_event_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698