Refactor management of overview window copy lifetime into a separate class.
[chromium-blink-merge.git] / content / shell / browser / shell_aura.h
blob9d16a4e340cb3d28e1dfcd9f505fbf81a019f5d9
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.
5 #ifndef CONTENT_SHELL_BROWSER_SHELL_AURA_H_
6 #define CONTENT_SHELL_BROWSER_SHELL_AURA_H_
8 #include "base/memory/scoped_ptr.h"
10 namespace aura {
11 namespace client {
12 class DefaultActivationClient;
13 class DefaultCaptureClient;
14 class FocusClient;
15 class WindowTreeClient;
17 class RootWindow;
20 namespace ui {
21 class EventHandler;
24 namespace content {
26 class ShellAuraPlatformData {
27 public:
28 ShellAuraPlatformData();
29 ~ShellAuraPlatformData();
31 void CreateWindow(int width, int height);
33 aura::RootWindow* window() { return root_window_.get(); }
35 private:
36 scoped_ptr<aura::RootWindow> root_window_;
37 scoped_ptr<aura::client::FocusClient> focus_client_;
38 scoped_ptr<aura::client::DefaultActivationClient> activation_client_;
39 scoped_ptr<aura::client::DefaultCaptureClient> capture_client_;
40 scoped_ptr<aura::client::WindowTreeClient> window_tree_client_;
41 scoped_ptr<ui::EventHandler> ime_filter_;
43 DISALLOW_COPY_AND_ASSIGN(ShellAuraPlatformData);
46 } // namespace content
48 #endif // CONTENT_SHELL_BROWSER_SHELL_AURA_H_