• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 class WindowTreeClient;
16 }
17 class RootWindow;
18 }
19 
20 namespace ui {
21 class EventHandler;
22 }
23 
24 namespace content {
25 
26 class ShellAuraPlatformData {
27  public:
28   ShellAuraPlatformData();
29   ~ShellAuraPlatformData();
30 
31   void ResizeWindow(int width, int height);
32 
window()33   aura::RootWindow* window() { return root_window_.get(); }
34 
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_;
42 
43   DISALLOW_COPY_AND_ASSIGN(ShellAuraPlatformData);
44 };
45 
46 }  // namespace content
47 
48 #endif  // CONTENT_SHELL_BROWSER_SHELL_AURA_H_
49