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

Side by Side Diff: ui/wm/core/focus_controller.h

Issue 196063002: Move wm/core to wm namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 9 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/wm/core/easy_resize_window_targeter.cc ('k') | ui/wm/core/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_WM_CORE_FOCUS_CONTROLLER_H_ 5 #ifndef UI_WM_CORE_FOCUS_CONTROLLER_H_
6 #define UI_WM_CORE_FOCUS_CONTROLLER_H_ 6 #define UI_WM_CORE_FOCUS_CONTROLLER_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/observer_list.h" 10 #include "base/observer_list.h"
11 #include "base/scoped_observer.h" 11 #include "base/scoped_observer.h"
12 #include "ui/aura/client/activation_client.h" 12 #include "ui/aura/client/activation_client.h"
13 #include "ui/aura/client/focus_client.h" 13 #include "ui/aura/client/focus_client.h"
14 #include "ui/aura/window_observer.h" 14 #include "ui/aura/window_observer.h"
15 #include "ui/events/event_handler.h" 15 #include "ui/events/event_handler.h"
16 #include "ui/wm/core/wm_core_export.h" 16 #include "ui/wm/core/wm_core_export.h"
17 17
18 namespace views { 18 namespace wm {
19 namespace corewm {
20 19
21 class FocusRules; 20 class FocusRules;
22 21
23 // FocusController handles focus and activation changes for an environment 22 // FocusController handles focus and activation changes for an environment
24 // encompassing one or more RootWindows. Within an environment there can be 23 // encompassing one or more RootWindows. Within an environment there can be
25 // only one focused and one active window at a time. When focus or activation 24 // only one focused and one active window at a time. When focus or activation
26 // changes notifications are sent using the 25 // changes notifications are sent using the
27 // aura::client::Focus/ActivationChangeObserver interfaces. 26 // aura::client::Focus/ActivationChangeObserver interfaces.
28 // Changes to focus and activation can be from three sources: 27 // Changes to focus and activation can be from three sources:
29 // . the Aura Client API (implemented here in aura::client::ActivationClient). 28 // . the Aura Client API (implemented here in aura::client::ActivationClient).
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 scoped_ptr<FocusRules> rules_; 116 scoped_ptr<FocusRules> rules_;
118 117
119 ObserverList<aura::client::ActivationChangeObserver> activation_observers_; 118 ObserverList<aura::client::ActivationChangeObserver> activation_observers_;
120 ObserverList<aura::client::FocusChangeObserver> focus_observers_; 119 ObserverList<aura::client::FocusChangeObserver> focus_observers_;
121 120
122 ScopedObserver<aura::Window, aura::WindowObserver> observer_manager_; 121 ScopedObserver<aura::Window, aura::WindowObserver> observer_manager_;
123 122
124 DISALLOW_COPY_AND_ASSIGN(FocusController); 123 DISALLOW_COPY_AND_ASSIGN(FocusController);
125 }; 124 };
126 125
127 } // namespace corewm 126 } // namespace wm
128 } // namespace views
129 127
130 #endif // UI_WM_CORE_FOCUS_CONTROLLER_H_ 128 #endif // UI_WM_CORE_FOCUS_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ui/wm/core/easy_resize_window_targeter.cc ('k') | ui/wm/core/focus_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698