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

Side by Side Diff: content/shell/shell_stacking_client_ash.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
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 CONTENT_SHELL_SHELL_STACKING_CLIENT_ASH_H_ 5 #ifndef CONTENT_SHELL_SHELL_STACKING_CLIENT_ASH_H_
6 #define CONTENT_SHELL_SHELL_STACKING_CLIENT_ASH_H_ 6 #define CONTENT_SHELL_SHELL_STACKING_CLIENT_ASH_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "ui/aura/client/stacking_client.h" 10 #include "ui/aura/client/stacking_client.h"
(...skipping 21 matching lines...) Expand all
32 32
33 // Creates a minimal environment for running the shell. We can't pull in all of 33 // Creates a minimal environment for running the shell. We can't pull in all of
34 // ash here, but we can create attach several of the same things we'd find in 34 // ash here, but we can create attach several of the same things we'd find in
35 // the ash parts of the code. 35 // the ash parts of the code.
36 class ShellStackingClientAsh : public aura::client::StackingClient { 36 class ShellStackingClientAsh : public aura::client::StackingClient {
37 public: 37 public:
38 ShellStackingClientAsh(); 38 ShellStackingClientAsh();
39 virtual ~ShellStackingClientAsh(); 39 virtual ~ShellStackingClientAsh();
40 40
41 // Overridden from client::StackingClient: 41 // Overridden from client::StackingClient:
42 virtual aura::Window* GetDefaultParent(aura::Window* window, 42 virtual aura::Window* GetDefaultParent(aura::Window* context,
43 aura::Window* window,
43 const gfx::Rect& bounds) OVERRIDE; 44 const gfx::Rect& bounds) OVERRIDE;
44 45
45 private: 46 private:
46 scoped_ptr<aura::RootWindow> root_window_; 47 scoped_ptr<aura::RootWindow> root_window_;
47 48
48 // Owned by RootWindow 49 // Owned by RootWindow
49 aura::shared::CompoundEventFilter* root_window_event_filter_; 50 aura::shared::CompoundEventFilter* root_window_event_filter_;
50 51
51 scoped_ptr<aura::client::DefaultCaptureClient> capture_client_; 52 scoped_ptr<aura::client::DefaultCaptureClient> capture_client_;
52 scoped_ptr<aura::shared::InputMethodEventFilter> input_method_filter_; 53 scoped_ptr<aura::shared::InputMethodEventFilter> input_method_filter_;
53 scoped_ptr<aura::test::TestActivationClient> test_activation_client_; 54 scoped_ptr<aura::test::TestActivationClient> test_activation_client_;
54 55
55 DISALLOW_COPY_AND_ASSIGN(ShellStackingClientAsh); 56 DISALLOW_COPY_AND_ASSIGN(ShellStackingClientAsh);
56 }; 57 };
57 58
58 } // namespace content; 59 } // namespace content;
59 60
60 #endif // CONTENT_SHELL_SHELL_STACKING_CLIENT_ASH_H_ 61 #endif // CONTENT_SHELL_SHELL_STACKING_CLIENT_ASH_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698