Content settings: remove some plugin-related code/resources when... there are no...
[chromium-blink-merge.git] / content / shell / browser / shell_platform_data_aura.h
blobd5a2f34b020bbca2a10dc64d8f163a3dc026957f
1 // Copyright 2014 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_PLATFORM_DATA_AURA_H_
6 #define CONTENT_SHELL_BROWSER_SHELL_PLATFORM_DATA_AURA_H_
8 #include "base/memory/scoped_ptr.h"
9 #include "ui/aura/window_tree_host.h"
11 namespace aura {
12 namespace client {
13 class DefaultCaptureClient;
14 class FocusClient;
15 class WindowTreeClient;
19 namespace gfx {
20 class Size;
23 namespace ui {
24 class EventHandler;
27 namespace content {
29 class ShellPlatformDataAura {
30 public:
31 explicit ShellPlatformDataAura(const gfx::Size& initial_size);
32 ~ShellPlatformDataAura();
34 void ShowWindow();
35 void ResizeWindow(const gfx::Size& size);
37 aura::WindowTreeHost* host() { return host_.get(); }
39 private:
40 scoped_ptr<aura::WindowTreeHost> host_;
41 scoped_ptr<aura::client::FocusClient> focus_client_;
42 scoped_ptr<aura::client::DefaultCaptureClient> capture_client_;
43 scoped_ptr<aura::client::WindowTreeClient> window_tree_client_;
45 DISALLOW_COPY_AND_ASSIGN(ShellPlatformDataAura);
48 } // namespace content
50 #endif // CONTENT_SHELL_BROWSER_SHELL_PLATFORM_DATA_AURA_H_