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

Side by Side Diff: content/shell/shell_stacking_client_ash.h

Issue 11362216: reland of https://codereview.chromium.org/11364053/ w/o removing the per-rootwindow stacking client (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: fix dnwa 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
« no previous file with comments | « content/shell/shell_aura.cc ('k') | content/shell/shell_stacking_client_ash.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 24 matching lines...) Expand all
35 35
36 // Creates a minimal environment for running the shell. We can't pull in all of 36 // Creates a minimal environment for running the shell. We can't pull in all of
37 // ash here, but we can create attach several of the same things we'd find in 37 // ash here, but we can create attach several of the same things we'd find in
38 // the ash parts of the code. 38 // the ash parts of the code.
39 class ShellStackingClientAsh : public aura::client::StackingClient { 39 class ShellStackingClientAsh : public aura::client::StackingClient {
40 public: 40 public:
41 ShellStackingClientAsh(); 41 ShellStackingClientAsh();
42 virtual ~ShellStackingClientAsh(); 42 virtual ~ShellStackingClientAsh();
43 43
44 // Overridden from client::StackingClient: 44 // Overridden from client::StackingClient:
45 virtual aura::Window* GetDefaultParent(aura::Window* window, 45 virtual aura::Window* GetDefaultParent(aura::Window* context,
46 aura::Window* window,
46 const gfx::Rect& bounds) OVERRIDE; 47 const gfx::Rect& bounds) OVERRIDE;
47 48
48 private: 49 private:
49 scoped_ptr<aura::RootWindow> root_window_; 50 scoped_ptr<aura::RootWindow> root_window_;
50 51
51 // Owned by RootWindow 52 // Owned by RootWindow
52 views::corewm::CompoundEventFilter* root_window_event_filter_; 53 views::corewm::CompoundEventFilter* root_window_event_filter_;
53 54
54 scoped_ptr<aura::client::DefaultCaptureClient> capture_client_; 55 scoped_ptr<aura::client::DefaultCaptureClient> capture_client_;
55 scoped_ptr<views::corewm::InputMethodEventFilter> input_method_filter_; 56 scoped_ptr<views::corewm::InputMethodEventFilter> input_method_filter_;
56 scoped_ptr<aura::test::TestActivationClient> test_activation_client_; 57 scoped_ptr<aura::test::TestActivationClient> test_activation_client_;
57 58
58 DISALLOW_COPY_AND_ASSIGN(ShellStackingClientAsh); 59 DISALLOW_COPY_AND_ASSIGN(ShellStackingClientAsh);
59 }; 60 };
60 61
61 } // namespace content; 62 } // namespace content;
62 63
63 #endif // CONTENT_SHELL_SHELL_STACKING_CLIENT_ASH_H_ 64 #endif // CONTENT_SHELL_SHELL_STACKING_CLIENT_ASH_H_
OLDNEW
« no previous file with comments | « content/shell/shell_aura.cc ('k') | content/shell/shell_stacking_client_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698