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

Side by Side Diff: ui/views/corewm/focus_controller.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 | « ui/views/corewm/compound_event_filter_unittest.cc ('k') | ui/views/corewm/focus_controller.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 UI_VIEWS_COREWM_FOCUS_CONTROLLER_H_ 5 #ifndef UI_VIEWS_COREWM_FOCUS_CONTROLLER_H_
6 #define UI_VIEWS_COREWM_FOCUS_CONTROLLER_H_ 6 #define UI_VIEWS_COREWM_FOCUS_CONTROLLER_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "ui/aura/client/activation_client.h" 9 #include "ui/aura/client/activation_client.h"
10 #include "ui/aura/client/focus_client.h" 10 #include "ui/aura/client/focus_client.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 aura::client::FocusChangeObserver* observer) OVERRIDE; 64 aura::client::FocusChangeObserver* observer) OVERRIDE;
65 virtual void FocusWindow(aura::Window* window, 65 virtual void FocusWindow(aura::Window* window,
66 const ui::Event* event) OVERRIDE; 66 const ui::Event* event) OVERRIDE;
67 virtual aura::Window* GetFocusedWindow() OVERRIDE; 67 virtual aura::Window* GetFocusedWindow() OVERRIDE;
68 68
69 // Overridden from ui::EventHandler: 69 // Overridden from ui::EventHandler:
70 virtual ui::EventResult OnKeyEvent(ui::KeyEvent* event) OVERRIDE; 70 virtual ui::EventResult OnKeyEvent(ui::KeyEvent* event) OVERRIDE;
71 virtual ui::EventResult OnMouseEvent(ui::MouseEvent* event) OVERRIDE; 71 virtual ui::EventResult OnMouseEvent(ui::MouseEvent* event) OVERRIDE;
72 virtual ui::EventResult OnScrollEvent(ui::ScrollEvent* event) OVERRIDE; 72 virtual ui::EventResult OnScrollEvent(ui::ScrollEvent* event) OVERRIDE;
73 virtual ui::EventResult OnTouchEvent(ui::TouchEvent* event) OVERRIDE; 73 virtual ui::EventResult OnTouchEvent(ui::TouchEvent* event) OVERRIDE;
74 virtual ui::EventResult OnGestureEvent(ui::GestureEvent* event) OVERRIDE; 74 virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE;
75 75
76 // Overridden from aura::WindowObserver: 76 // Overridden from aura::WindowObserver:
77 virtual void OnWindowVisibilityChanging(aura::Window* window, 77 virtual void OnWindowVisibilityChanging(aura::Window* window,
78 bool visible) OVERRIDE; 78 bool visible) OVERRIDE;
79 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; 79 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE;
80 virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE; 80 virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE;
81 virtual void OnWillRemoveWindow(aura::Window* window) OVERRIDE; 81 virtual void OnWillRemoveWindow(aura::Window* window) OVERRIDE;
82 82
83 // Overridden from aura::EnvObserver: 83 // Overridden from aura::EnvObserver:
84 virtual void OnWindowInitialized(aura::Window* window) OVERRIDE; 84 virtual void OnWindowInitialized(aura::Window* window) OVERRIDE;
(...skipping 24 matching lines...) Expand all
109 109
110 scoped_ptr<FocusRules> rules_; 110 scoped_ptr<FocusRules> rules_;
111 111
112 DISALLOW_COPY_AND_ASSIGN(FocusController); 112 DISALLOW_COPY_AND_ASSIGN(FocusController);
113 }; 113 };
114 114
115 } // namespace corewm 115 } // namespace corewm
116 } // namespace views 116 } // namespace views
117 117
118 #endif // UI_VIEWS_COREWM_FOCUS_CONTROLLER_H_ 118 #endif // UI_VIEWS_COREWM_FOCUS_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ui/views/corewm/compound_event_filter_unittest.cc ('k') | ui/views/corewm/focus_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698