| OLD | NEW |
| (Empty) |
| 1 // Copyright 2015 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 #include "blimp/engine/app/ui/blimp_window_tree_host.h" | |
| 6 | |
| 7 #include "base/memory/ptr_util.h" | |
| 8 #include "ui/platform_window/stub/stub_window.h" | |
| 9 | |
| 10 namespace blimp { | |
| 11 namespace engine { | |
| 12 | |
| 13 BlimpWindowTreeHost::BlimpWindowTreeHost() : aura::WindowTreeHostPlatform() { | |
| 14 CreateCompositor(); | |
| 15 SetPlatformWindow(base::WrapUnique(new ui::StubWindow(this))); | |
| 16 } | |
| 17 | |
| 18 BlimpWindowTreeHost::~BlimpWindowTreeHost() {} | |
| 19 | |
| 20 void BlimpWindowTreeHost::OnAcceleratedWidgetAvailable( | |
| 21 gfx::AcceleratedWidget widget, | |
| 22 float device_pixel_ratio) { | |
| 23 // Do nothing to avoid creating an output surface and gpu process. | |
| 24 } | |
| 25 | |
| 26 } // namespace engine | |
| 27 } // namespace blimp | |
| OLD | NEW |