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

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

Issue 6312156: Change includes of gfx/* to ui/gfx/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 10 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/focus/accelerator_handler_gtk_unittest.cc ('k') | views/focus/focus_manager_unittest.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) 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 #pragma once 7 #pragma once
8 8
9 #include <list> 9 #include <list>
10 #include <map> 10 #include <map>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/basictypes.h" 13 #include "base/basictypes.h"
14 #include "base/singleton.h" 14 #include "base/singleton.h"
15 #include "gfx/native_widget_types.h" 15 #include "ui/gfx/native_widget_types.h"
16 #include "views/accelerator.h" 16 #include "views/accelerator.h"
17 17
18 // The FocusManager class is used to handle focus traversal, store/restore 18 // The FocusManager class is used to handle focus traversal, store/restore
19 // focused views and handle keyboard accelerators. 19 // focused views and handle keyboard accelerators.
20 // 20 //
21 // There are 2 types of focus: 21 // There are 2 types of focus:
22 // - the native focus, which is the focus that an gfx::NativeView has. 22 // - the native focus, which is the focus that an gfx::NativeView has.
23 // - the view focus, which is the focus that a views::View has. 23 // - the view focus, which is the focus that a views::View has.
24 // 24 //
25 // Each native view must register with their Focus Manager so the focus manager 25 // Each native view must register with their Focus Manager so the focus manager
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 ~AutoNativeNotificationDisabler() { 335 ~AutoNativeNotificationDisabler() {
336 FocusManager::GetWidgetFocusManager()->EnableNotifications(); 336 FocusManager::GetWidgetFocusManager()->EnableNotifications();
337 } 337 }
338 private: 338 private:
339 DISALLOW_COPY_AND_ASSIGN(AutoNativeNotificationDisabler); 339 DISALLOW_COPY_AND_ASSIGN(AutoNativeNotificationDisabler);
340 }; 340 };
341 341
342 } // namespace views 342 } // namespace views
343 343
344 #endif // VIEWS_FOCUS_FOCUS_MANAGER_H_ 344 #endif // VIEWS_FOCUS_FOCUS_MANAGER_H_
OLDNEW
« no previous file with comments | « views/focus/accelerator_handler_gtk_unittest.cc ('k') | views/focus/focus_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698