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

Unified Diff: ui/aura_shell/stacking_controller.h

Issue 8387043: [Aura] Support always-on-top top level window. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync and update comment per ben Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/aura_shell/shell_unittest.cc ('k') | ui/aura_shell/stacking_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura_shell/stacking_controller.h
diff --git a/ui/aura_shell/stacking_controller.h b/ui/aura_shell/stacking_controller.h
index 2091f1ff072ede6600ba9a59d163c691aa2e84fc..20bb5feaf36531218be6c1c6065586466857d74c 100644
--- a/ui/aura_shell/stacking_controller.h
+++ b/ui/aura_shell/stacking_controller.h
@@ -8,16 +8,22 @@
#include "base/basictypes.h"
#include "base/compiler_specific.h"
+#include "base/memory/scoped_ptr.h"
#include "ui/aura/client/stacking_client.h"
namespace aura_shell {
namespace internal {
+class AlwaysOnTopController;
+
class StackingController : public aura::StackingClient {
public:
StackingController();
virtual ~StackingController();
+ // Initializes this controller.
+ void Init();
+
// Returns true if |window| exists within a container that supports
// activation.
static aura::Window* GetActivatableWindow(aura::Window* window);
@@ -29,6 +35,8 @@ class StackingController : public aura::StackingClient {
aura::Window* ignore) const OVERRIDE;
private:
+ scoped_ptr<internal::AlwaysOnTopController> always_on_top_controller_;
+
DISALLOW_COPY_AND_ASSIGN(StackingController);
};
« no previous file with comments | « ui/aura_shell/shell_unittest.cc ('k') | ui/aura_shell/stacking_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698