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

Side by Side Diff: ui/wm/core/capture_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/base_focus_rules.cc ('k') | ui/wm/core/capture_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_CAPTURE_CONTROLLER_H_ 5 #ifndef UI_WM_CORE_CAPTURE_CONTROLLER_H_
6 #define UI_WM_CORE_CAPTURE_CONTROLLER_H_ 6 #define UI_WM_CORE_CAPTURE_CONTROLLER_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "ui/aura/client/capture_client.h" 12 #include "ui/aura/client/capture_client.h"
13 #include "ui/aura/window_observer.h" 13 #include "ui/aura/window_observer.h"
14 #include "ui/wm/core/wm_core_export.h" 14 #include "ui/wm/core/wm_core_export.h"
15 15
16 namespace views { 16 namespace wm {
17 namespace corewm {
18 17
19 // Internal CaptureClient implementation. See ScopedCaptureClient for details. 18 // Internal CaptureClient implementation. See ScopedCaptureClient for details.
20 class WM_CORE_EXPORT CaptureController : public aura::client::CaptureClient { 19 class WM_CORE_EXPORT CaptureController : public aura::client::CaptureClient {
21 public: 20 public:
22 // Adds |root| to the list of RootWindows notified when capture changes. 21 // Adds |root| to the list of RootWindows notified when capture changes.
23 void Attach(aura::Window* root); 22 void Attach(aura::Window* root);
24 23
25 // Removes |root| from the list of RootWindows notified when capture changes. 24 // Removes |root| from the list of RootWindows notified when capture changes.
26 void Detach(aura::Window* root); 25 void Detach(aura::Window* root);
27 26
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 74
76 // The single CaptureController instance. 75 // The single CaptureController instance.
77 static CaptureController* capture_controller_; 76 static CaptureController* capture_controller_;
78 77
79 // RootWindow this ScopedCaptureClient was create for. 78 // RootWindow this ScopedCaptureClient was create for.
80 aura::Window* root_window_; 79 aura::Window* root_window_;
81 80
82 DISALLOW_COPY_AND_ASSIGN(ScopedCaptureClient); 81 DISALLOW_COPY_AND_ASSIGN(ScopedCaptureClient);
83 }; 82 };
84 83
85 } // namespace corewm 84 } // namespace wm
86 } // namespace views
87 85
88 #endif // UI_WM_CORE_CAPTURE_CONTROLLER_H_ 86 #endif // UI_WM_CORE_CAPTURE_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ui/wm/core/base_focus_rules.cc ('k') | ui/wm/core/capture_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698