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

Side by Side Diff: ui/aura/desktop/desktop_stacking_client.h

Issue 11368010: Move aura shared and desktop classes to the views target. Note that the files don't actually move, … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 1 month 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/desktop/desktop_screen_win.h ('k') | ui/aura/desktop/desktop_stacking_client.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_AURA_DESKTOP_DESKTOP_STACKING_CLIENT_H_ 5 #ifndef UI_AURA_DESKTOP_DESKTOP_STACKING_CLIENT_H_
6 #define UI_AURA_DESKTOP_DESKTOP_STACKING_CLIENT_H_ 6 #define UI_AURA_DESKTOP_DESKTOP_STACKING_CLIENT_H_
7 7
8 #include "ui/aura/client/stacking_client.h" 8 #include "ui/aura/client/stacking_client.h"
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 "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "ui/aura/aura_export.h" 13 #include "ui/views/views_export.h"
14 14
15 namespace aura { 15 namespace aura {
16 class RootWindow; 16 class RootWindow;
17 class Window; 17 class Window;
18 18
19 namespace shared { 19 namespace client {
20 class RootWindowCaptureClient; 20 class DefaultCaptureClient;
21 } 21 }
22 22
23 // A stacking client for the desktop; always sets the default parent to the 23 // A stacking client for the desktop; always sets the default parent to the
24 // RootWindow of the passed in Window. 24 // RootWindow of the passed in Window.
25 class AURA_EXPORT DesktopStackingClient : public client::StackingClient { 25 class VIEWS_EXPORT DesktopStackingClient : public client::StackingClient {
26 public: 26 public:
27 DesktopStackingClient(); 27 DesktopStackingClient();
28 virtual ~DesktopStackingClient(); 28 virtual ~DesktopStackingClient();
29 29
30 // Overridden from client::StackingClient: 30 // Overridden from client::StackingClient:
31 virtual Window* GetDefaultParent(Window* window, 31 virtual Window* GetDefaultParent(Window* window,
32 const gfx::Rect& bounds) OVERRIDE; 32 const gfx::Rect& bounds) OVERRIDE;
33 33
34 private: 34 private:
35 // Windows with NULL parents are parented to this. 35 // Windows with NULL parents are parented to this.
36 scoped_ptr<aura::RootWindow> null_parent_; 36 scoped_ptr<aura::RootWindow> null_parent_;
37 37
38 scoped_ptr<aura::shared::RootWindowCaptureClient> capture_client_; 38 scoped_ptr<aura::client::DefaultCaptureClient> capture_client_;
39 39
40 DISALLOW_COPY_AND_ASSIGN(DesktopStackingClient); 40 DISALLOW_COPY_AND_ASSIGN(DesktopStackingClient);
41 }; 41 };
42 42
43 } // namespace aura 43 } // namespace aura
44 44
45 #endif // UI_AURA_DESKTOP_DESKTOP_STACKING_CLIENT_H_ 45 #endif // UI_AURA_DESKTOP_DESKTOP_STACKING_CLIENT_H_
OLDNEW
« no previous file with comments | « ui/aura/desktop/desktop_screen_win.h ('k') | ui/aura/desktop/desktop_stacking_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698