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

Side by Side Diff: ui/wm/core/base_focus_rules.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/views/window/dialog_delegate.cc ('k') | ui/wm/core/base_focus_rules.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_BASE_FOCUS_RULES_H_ 5 #ifndef UI_WM_CORE_BASE_FOCUS_RULES_H_
6 #define UI_WM_CORE_BASE_FOCUS_RULES_H_ 6 #define UI_WM_CORE_BASE_FOCUS_RULES_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "ui/wm/core/focus_rules.h" 10 #include "ui/wm/core/focus_rules.h"
11 11
12 namespace views { 12 namespace wm {
13 namespace corewm {
14 13
15 // A set of basic focus and activation rules. Specializations should most likely 14 // A set of basic focus and activation rules. Specializations should most likely
16 // subclass this and call up to these methods rather than reimplementing them. 15 // subclass this and call up to these methods rather than reimplementing them.
17 class WM_CORE_EXPORT BaseFocusRules : public FocusRules { 16 class WM_CORE_EXPORT BaseFocusRules : public FocusRules {
18 protected: 17 protected:
19 BaseFocusRules(); 18 BaseFocusRules();
20 virtual ~BaseFocusRules(); 19 virtual ~BaseFocusRules();
21 20
22 // Returns true if the children of |window| can be activated. 21 // Returns true if the children of |window| can be activated.
23 virtual bool SupportsChildActivation(aura::Window* window) const = 0; 22 virtual bool SupportsChildActivation(aura::Window* window) const = 0;
(...skipping 10 matching lines...) Expand all
34 virtual aura::Window* GetActivatableWindow( 33 virtual aura::Window* GetActivatableWindow(
35 aura::Window* window) const OVERRIDE; 34 aura::Window* window) const OVERRIDE;
36 virtual aura::Window* GetFocusableWindow(aura::Window* window) const OVERRIDE; 35 virtual aura::Window* GetFocusableWindow(aura::Window* window) const OVERRIDE;
37 virtual aura::Window* GetNextActivatableWindow( 36 virtual aura::Window* GetNextActivatableWindow(
38 aura::Window* ignore) const OVERRIDE; 37 aura::Window* ignore) const OVERRIDE;
39 38
40 private: 39 private:
41 DISALLOW_COPY_AND_ASSIGN(BaseFocusRules); 40 DISALLOW_COPY_AND_ASSIGN(BaseFocusRules);
42 }; 41 };
43 42
44 } // namespace corewm 43 } // namespace wm
45 } // namespace views
46 44
47 #endif // UI_WM_CORE_BASE_FOCUS_RULES_H_ 45 #endif // UI_WM_CORE_BASE_FOCUS_RULES_H_
OLDNEW
« no previous file with comments | « ui/views/window/dialog_delegate.cc ('k') | ui/wm/core/base_focus_rules.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698