blob: a17927cd2e9ffed2e2c955991ef7c3995064b325 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ASH_HOST_WINDOW_TREE_HOST_FACTORY_H_
#define ASH_HOST_WINDOW_TREE_HOST_FACTORY_H_
#include "ash/ash_export.h"
#include "ui/gfx/rect.h"
namespace aura {
class WindowTreeHost;
}
namespace ash {
class ASH_EXPORT WindowTreeHostFactory {
public:
virtual ~WindowTreeHostFactory() {}
static WindowTreeHostFactory* Create();
// Creates a new aura::WindowTreeHost. The caller owns the returned value.
virtual aura::WindowTreeHost* CreateWindowTreeHost(
const gfx::Rect& initial_bounds) = 0;
protected:
WindowTreeHostFactory() {}
};
} // namespace ash
#endif // ASH_HOST_WINDOW_TREE_HOST_FACTORY_H_
|