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

Side by Side Diff: ui/views/corewm/capture_controller.h

Issue 38423002: Make aura::clients take Window instead of RootWindow (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 2 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/aura/client/user_action_client.cc ('k') | ui/views/corewm/focus_controller.h » ('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_VIEWS_COREWM_CAPTURE_CONTROLLER_H_ 5 #ifndef UI_VIEWS_COREWM_CAPTURE_CONTROLLER_H_
6 #define UI_VIEWS_COREWM_CAPTURE_CONTROLLER_H_ 6 #define UI_VIEWS_COREWM_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/views/views_export.h" 14 #include "ui/views/views_export.h"
15 15
16 namespace aura {
17 class RootWindow;
18 }
19
16 namespace views { 20 namespace views {
17 namespace corewm { 21 namespace corewm {
18 22
19 // Internal CaptureClient implementation. See ScopedCaptureClient for details. 23 // Internal CaptureClient implementation. See ScopedCaptureClient for details.
20 class VIEWS_EXPORT CaptureController : public aura::client::CaptureClient { 24 class VIEWS_EXPORT CaptureController : public aura::client::CaptureClient {
21 public: 25 public:
22 // Adds |root| to the list of RootWindows notified when capture changes. 26 // Adds |root| to the list of RootWindows notified when capture changes.
23 void Attach(aura::RootWindow* root); 27 void Attach(aura::RootWindow* root);
24 28
25 // Removes |root| from the list of RootWindows notified when capture changes. 29 // Removes |root| from the list of RootWindows notified when capture changes.
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 // RootWindow this ScopedCaptureClient was create for. 82 // RootWindow this ScopedCaptureClient was create for.
79 aura::RootWindow* root_window_; 83 aura::RootWindow* root_window_;
80 84
81 DISALLOW_COPY_AND_ASSIGN(ScopedCaptureClient); 85 DISALLOW_COPY_AND_ASSIGN(ScopedCaptureClient);
82 }; 86 };
83 87
84 } // namespace corewm 88 } // namespace corewm
85 } // namespace views 89 } // namespace views
86 90
87 #endif // UI_VIEWS_COREWM_CAPTURE_CONTROLLER_H_ 91 #endif // UI_VIEWS_COREWM_CAPTURE_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ui/aura/client/user_action_client.cc ('k') | ui/views/corewm/focus_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698