Disabling AX test for select.html.
[chromium-blink-merge.git] / chromecast / browser / cast_content_window.h
blob7101db1f00a67f634fd7140f672660e819215ba1
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 CHROMECAST_BROWSER_CAST_CONTENT_WINDOW_H_
6 #define CHROMECAST_BROWSER_CAST_CONTENT_WINDOW_H_
8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h"
11 namespace aura {
12 class WindowTreeHost;
15 namespace content {
16 class BrowserContext;
17 class WebContents;
20 namespace gfx {
21 class Size;
24 namespace chromecast {
26 class CastContentWindow {
27 public:
28 CastContentWindow();
30 // Removes the window from the screen.
31 ~CastContentWindow();
33 // Create a window with the given size.
34 scoped_ptr<content::WebContents> Create(
35 const gfx::Size& initial_size,
36 content::BrowserContext* browser_context);
38 private:
39 #if defined(USE_AURA)
40 scoped_ptr<aura::WindowTreeHost> window_tree_host_;
41 #endif
43 DISALLOW_COPY_AND_ASSIGN(CastContentWindow);
46 } // namespace chromecast
48 #endif // CHROMECAST_BROWSER_CAST_CONTENT_WINDOW_H_