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

Side by Side Diff: ui/views/focus/focus_manager.h

Issue 10824295: Rid the world of the last of views::Event types: TouchEvent, GestureEvent, MouseWheelEvent, ScrollE… (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 | « ui/views/focus/accelerator_handler_win.cc ('k') | ui/views/ime/input_method_win.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_FOCUS_FOCUS_MANAGER_H_ 5 #ifndef UI_VIEWS_FOCUS_FOCUS_MANAGER_H_
6 #define UI_VIEWS_FOCUS_FOCUS_MANAGER_H_ 6 #define UI_VIEWS_FOCUS_FOCUS_MANAGER_H_
7 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/observer_list.h" 13 #include "base/observer_list.h"
14 #include "ui/base/accelerators/accelerator.h" 14 #include "ui/base/accelerators/accelerator.h"
15 #include "ui/base/accelerators/accelerator_manager.h" 15 #include "ui/base/accelerators/accelerator_manager.h"
16 #include "ui/gfx/native_widget_types.h" 16 #include "ui/gfx/native_widget_types.h"
17 #include "ui/views/events/event.h"
18 #include "ui/views/views_export.h" 17 #include "ui/views/views_export.h"
19 18
20 // The FocusManager class is used to handle focus traversal, store/restore 19 // The FocusManager class is used to handle focus traversal, store/restore
21 // focused views and handle keyboard accelerators. 20 // focused views and handle keyboard accelerators.
22 // 21 //
23 // There are 2 types of focus: 22 // There are 2 types of focus:
24 // - the native focus, which is the focus that an gfx::NativeView has. 23 // - the native focus, which is the focus that an gfx::NativeView has.
25 // - the view focus, which is the focus that a views::View has. 24 // - the view focus, which is the focus that a views::View has.
26 // 25 //
27 // Each native view must register with their Focus Manager so the focus manager 26 // Each native view must register with their Focus Manager so the focus manager
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 307
309 // See description above getter. 308 // See description above getter.
310 bool is_changing_focus_; 309 bool is_changing_focus_;
311 310
312 DISALLOW_COPY_AND_ASSIGN(FocusManager); 311 DISALLOW_COPY_AND_ASSIGN(FocusManager);
313 }; 312 };
314 313
315 } // namespace views 314 } // namespace views
316 315
317 #endif // UI_VIEWS_FOCUS_FOCUS_MANAGER_H_ 316 #endif // UI_VIEWS_FOCUS_FOCUS_MANAGER_H_
OLDNEW
« no previous file with comments | « ui/views/focus/accelerator_handler_win.cc ('k') | ui/views/ime/input_method_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698