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

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

Issue 273017: Move native_widget_types and gtk_native_view_id_manager from base/gfx to... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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 | « views/controls/textfield/textfield.h ('k') | views/screen.h » ('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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 VIEWS_FOCUS_FOCUS_MANAGER_H_ 5 #ifndef VIEWS_FOCUS_FOCUS_MANAGER_H_
6 #define VIEWS_FOCUS_FOCUS_MANAGER_H_ 6 #define VIEWS_FOCUS_FOCUS_MANAGER_H_
7 7
8 #include <vector> 8 #include <vector>
9 #include <map> 9 #include <map>
10 #include <list> 10 #include <list>
11 11
12 #include "app/gfx/native_widget_types.h"
12 #include "base/basictypes.h" 13 #include "base/basictypes.h"
13 #include "base/gfx/native_widget_types.h"
14 #include "views/accelerator.h" 14 #include "views/accelerator.h"
15 15
16 // The FocusManager class is used to handle focus traversal, store/restore 16 // The FocusManager class is used to handle focus traversal, store/restore
17 // focused views and handle keyboard accelerators. 17 // focused views and handle keyboard accelerators.
18 // 18 //
19 // There are 2 types of focus: 19 // There are 2 types of focus:
20 // - the native focus, which is the focus that an gfx::NativeView has. 20 // - the native focus, which is the focus that an gfx::NativeView has.
21 // - the view focus, which is the focus that a views::View has. 21 // - the view focus, which is the focus that a views::View has.
22 // 22 //
23 // Each native view must register with their Focus Manager so the focus manager 23 // Each native view must register with their Focus Manager so the focus manager
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 // The list of registered FocusChange listeners. 257 // The list of registered FocusChange listeners.
258 typedef std::vector<FocusChangeListener*> FocusChangeListenerList; 258 typedef std::vector<FocusChangeListener*> FocusChangeListenerList;
259 FocusChangeListenerList focus_change_listeners_; 259 FocusChangeListenerList focus_change_listeners_;
260 260
261 DISALLOW_COPY_AND_ASSIGN(FocusManager); 261 DISALLOW_COPY_AND_ASSIGN(FocusManager);
262 }; 262 };
263 263
264 } // namespace views 264 } // namespace views
265 265
266 #endif // VIEWS_FOCUS_FOCUS_MANAGER_H_ 266 #endif // VIEWS_FOCUS_FOCUS_MANAGER_H_
OLDNEW
« no previous file with comments | « views/controls/textfield/textfield.h ('k') | views/screen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698