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

Side by Side Diff: chrome/browser/ui/aura/stacking_client_aurawin.h

Issue 11364053: make StackingClient dispatch to either ash or desktop (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove file 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_AURA_STACKING_CLIENT_AURAWIN_H_
6 #define CHROME_BROWSER_UI_AURA_STACKING_CLIENT_AURAWIN_H_
7
8 #include "ui/aura/client/stacking_client.h"
9
10 #include "base/basictypes.h"
11 #include "base/compiler_specific.h"
12 #include "base/memory/scoped_ptr.h"
13 #include "chrome/browser/ui/host_desktop.h"
14
15 namespace aura {
16 class DesktopStackingClient;
17 class Window;
18 }
19
20 // A stacking client for the two worlds aura, dispatches to either a
21 // DesktopStackingClient or an ash::StackingController.
22 class StackingClientAuraWin : public aura::client::StackingClient {
23 public:
24 StackingClientAuraWin();
25 virtual ~StackingClientAuraWin();
26
27 // Overridden from client::StackingClient:
28 virtual aura::Window* GetDefaultParent(aura::Window* context,
29 aura::Window* window,
30 const gfx::Rect& bounds) OVERRIDE;
31
32 private:
33 scoped_ptr<aura::DesktopStackingClient> desktop_stacking_client_;
34
35 DISALLOW_COPY_AND_ASSIGN(StackingClientAuraWin);
36 };
37
38 #endif // CHROME_BROWSER_UI_AURA_STACKING_CLIENT_AURAWIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698