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

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

Issue 11364053: make StackingClient dispatch to either ash or desktop (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase + disable prerender tests on win-aura 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_AURA_H_
6 #define CHROME_BROWSER_UI_AURA_STACKING_CLIENT_AURA_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 ash {
16 class StackingController;
17 }
18
19 namespace aura {
20 class DesktopStackingClient;
21 class Window;
22 }
23
24 // A stacking client for the two worlds aura, dispatches to either a
25 // DesktopStackingClient or an ash::StackingController.
26 class StackingClientAura : public aura::client::StackingClient {
27 public:
28 StackingClientAura();
29 virtual ~StackingClientAura();
30
31 // Overridden from client::StackingClient:
32 virtual aura::Window* GetDefaultParent(aura::Window* context,
33 aura::Window* window,
34 const gfx::Rect& bounds) OVERRIDE;
35
36 private:
37 scoped_ptr<aura::DesktopStackingClient> desktop_stacking_client_;
38
39 DISALLOW_COPY_AND_ASSIGN(StackingClientAura);
40 };
41
42 #endif // CHROME_BROWSER_UI_AURA_STACKING_CLIENT_AURA_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/aura/chrome_browser_main_extra_parts_aura.cc ('k') | chrome/browser/ui/aura/stacking_client_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698