This source file includes following definitions.
- CreateWindowTreeHost
- Create
#include "ash/host/window_tree_host_factory.h"
#include "ui/aura/window_tree_host.h"
namespace {
class WindowTreeHostFactoryImpl : public ash::WindowTreeHostFactory {
public:
WindowTreeHostFactoryImpl() {}
virtual aura::WindowTreeHost* CreateWindowTreeHost(
const gfx::Rect& initial_bounds) OVERRIDE {
return aura::WindowTreeHost::Create(initial_bounds);
}
};
}
namespace ash {
WindowTreeHostFactory* WindowTreeHostFactory::Create() {
return new WindowTreeHostFactoryImpl;
}
}