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

Unified Diff: ui/aura/desktop/desktop_stacking_client.h

Issue 10081022: Aura/ash split: Remove hacks and get chrome linking without ash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move the check to ash/. Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/aura/aura.gyp ('k') | ui/aura/desktop/desktop_stacking_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/desktop/desktop_stacking_client.h
diff --git a/ui/aura/desktop/desktop_stacking_client.h b/ui/aura/desktop/desktop_stacking_client.h
new file mode 100644
index 0000000000000000000000000000000000000000..34b8a6725f62d5cf75570fbca5f32b1387101d57
--- /dev/null
+++ b/ui/aura/desktop/desktop_stacking_client.h
@@ -0,0 +1,32 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef UI_AURA_DESKTOP_DESKTOP_STACKING_CLIENT_H_
+#define UI_AURA_DESKTOP_DESKTOP_STACKING_CLIENT_H_
+
+#include "ui/aura/client/stacking_client.h"
+
+#include "base/basictypes.h"
+#include "base/compiler_specific.h"
+#include "ui/aura/aura_export.h"
+
+namespace aura {
+class Window;
+
+// A stacking client for the desktop; always sets the default parent to the
+// RootWindow of the passed in Window.
+class AURA_EXPORT DesktopStackingClient : public client::StackingClient {
+ public:
+ DesktopStackingClient();
+ virtual ~DesktopStackingClient();
+
+ // Overridden from client::StackingClient:
+ virtual Window* GetDefaultParent(Window* window) OVERRIDE;
+
+ DISALLOW_COPY_AND_ASSIGN(DesktopStackingClient);
+};
+
+} // namespace aura
+
+#endif // UI_AURA_DESKTOP_DESKTOP_STACKING_CLIENT_H_
« no previous file with comments | « ui/aura/aura.gyp ('k') | ui/aura/desktop/desktop_stacking_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698