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

Side by Side Diff: ash/focus_cycler.h

Issue 224113005: Eliminate ash::internal namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 | « ash/first_run/first_run_helper_unittest.cc ('k') | ash/focus_cycler.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 FOCUS_CYCLER_H_ 5 #ifndef FOCUS_CYCLER_H_
6 #define FOCUS_CYCLER_H_ 6 #define FOCUS_CYCLER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 13
14 namespace views { 14 namespace views {
15 class Widget; 15 class Widget;
16 } // namespace views 16 } // namespace views
17 17
18 namespace ash { 18 namespace ash {
19 19
20 namespace internal {
21
22 // This class handles moving focus between a set of widgets and the main browser 20 // This class handles moving focus between a set of widgets and the main browser
23 // window. 21 // window.
24 class ASH_EXPORT FocusCycler { 22 class ASH_EXPORT FocusCycler {
25 public: 23 public:
26 enum Direction { 24 enum Direction {
27 FORWARD, 25 FORWARD,
28 BACKWARD 26 BACKWARD
29 }; 27 };
30 28
31 FocusCycler(); 29 FocusCycler();
(...skipping 15 matching lines...) Expand all
47 45
48 private: 46 private:
49 std::vector<views::Widget*> widgets_; 47 std::vector<views::Widget*> widgets_;
50 48
51 // See description above getter. 49 // See description above getter.
52 views::Widget* widget_activating_; 50 views::Widget* widget_activating_;
53 51
54 DISALLOW_COPY_AND_ASSIGN(FocusCycler); 52 DISALLOW_COPY_AND_ASSIGN(FocusCycler);
55 }; 53 };
56 54
57 } // namespace internal
58
59 } // namespace ash 55 } // namespace ash
60 56
61 #endif // FOCUS_CYCLER_H_ 57 #endif // FOCUS_CYCLER_H_
OLDNEW
« no previous file with comments | « ash/first_run/first_run_helper_unittest.cc ('k') | ash/focus_cycler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698