OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 #include "ui/ozone/window/ozone_window.h" |
| 6 |
| 7 #include "base/logging.h" |
| 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "ui/gfx/geometry/rect.h" |
| 10 #include "ui/gfx/ozone/surface_factory_ozone.h" |
| 11 #include "ui/gfx/vsync_provider.h" |
| 12 |
| 13 namespace ui { |
| 14 |
| 15 OzoneWindow::OzoneWindow() {} |
| 16 |
| 17 OzoneWindow::~OzoneWindow() {} |
| 18 |
| 19 gfx::AcceleratedWidget OzoneWindow::GetAcceleratedWidget() { |
| 20 // This is for simple platforms with one surface only! |
| 21 NOTIMPLEMENTED(); |
| 22 return gfx::kDefaultAcceleratedWidgetForSingleWindow; |
| 23 } |
| 24 |
| 25 gfx::Rect OzoneWindow::GetBounds() { |
| 26 // 800x600 is the universal default chrome window size. |
| 27 NOTIMPLEMENTED(); |
| 28 return gfx::Rect(0, 0, 800, 600); |
| 29 } |
| 30 |
| 31 bool OzoneWindow::Resize(const gfx::Rect& bounds) { |
| 32 NOTIMPLEMENTED(); |
| 33 return false; |
| 34 } |
| 35 |
| 36 void OzoneWindow::SetCursor(PlatformCursor cursor) { NOTIMPLEMENTED(); } |
| 37 |
| 38 void OzoneWindow::WarpCursorTo(const gfx::PointF& location) { |
| 39 NOTIMPLEMENTED(); |
| 40 } |
| 41 |
| 42 } // namespace ui |
OLD | NEW |