OLD | NEW |
| (Empty) |
1 // Copyright 2013 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 CONTENT_SHELL_BROWSER_SHELL_AURA_H_ | |
6 #define CONTENT_SHELL_BROWSER_SHELL_AURA_H_ | |
7 | |
8 #include "base/memory/scoped_ptr.h" | |
9 | |
10 namespace aura { | |
11 namespace client { | |
12 class DefaultActivationClient; | |
13 class DefaultCaptureClient; | |
14 class FocusClient; | |
15 } | |
16 class RootWindow; | |
17 } | |
18 | |
19 namespace ui { | |
20 class EventHandler; | |
21 } | |
22 | |
23 namespace content { | |
24 | |
25 class ShellAuraPlatformData { | |
26 public: | |
27 ShellAuraPlatformData(); | |
28 ~ShellAuraPlatformData(); | |
29 | |
30 void CreateWindow(int width, int height); | |
31 | |
32 aura::RootWindow* window() { return root_window_.get(); } | |
33 | |
34 private: | |
35 scoped_ptr<aura::RootWindow> root_window_; | |
36 scoped_ptr<aura::client::FocusClient> focus_client_; | |
37 scoped_ptr<aura::client::DefaultActivationClient> activation_client_; | |
38 scoped_ptr<aura::client::DefaultCaptureClient> capture_client_; | |
39 scoped_ptr<ui::EventHandler> ime_filter_; | |
40 | |
41 DISALLOW_COPY_AND_ASSIGN(ShellAuraPlatformData); | |
42 }; | |
43 | |
44 } // namespace content | |
45 | |
46 #endif // CONTENT_SHELL_BROWSER_SHELL_AURA_H_ | |
OLD | NEW |