| Index: ui/ozone/window/ozone_window.cc
|
| diff --git a/ui/ozone/window/ozone_window.cc b/ui/ozone/window/ozone_window.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..5fac93f5e52828b52bfbb0098309114efd2079d2
|
| --- /dev/null
|
| +++ b/ui/ozone/window/ozone_window.cc
|
| @@ -0,0 +1,42 @@
|
| +// Copyright 2014 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.
|
| +
|
| +#include "ui/ozone/window/ozone_window.h"
|
| +
|
| +#include "base/logging.h"
|
| +#include "base/memory/scoped_ptr.h"
|
| +#include "ui/gfx/geometry/rect.h"
|
| +#include "ui/gfx/ozone/surface_factory_ozone.h"
|
| +#include "ui/gfx/vsync_provider.h"
|
| +
|
| +namespace ui {
|
| +
|
| +OzoneWindow::OzoneWindow() {}
|
| +
|
| +OzoneWindow::~OzoneWindow() {}
|
| +
|
| +gfx::AcceleratedWidget OzoneWindow::GetAcceleratedWidget() {
|
| + // This is for simple platforms with one surface only!
|
| + NOTIMPLEMENTED();
|
| + return gfx::kDefaultAcceleratedWidgetForSingleWindow;
|
| +}
|
| +
|
| +gfx::Rect OzoneWindow::GetBounds() {
|
| + // 800x600 is the universal default chrome window size.
|
| + NOTIMPLEMENTED();
|
| + return gfx::Rect(0, 0, 800, 600);
|
| +}
|
| +
|
| +bool OzoneWindow::Resize(const gfx::Rect& bounds) {
|
| + NOTIMPLEMENTED();
|
| + return false;
|
| +}
|
| +
|
| +void OzoneWindow::SetCursor(PlatformCursor cursor) { NOTIMPLEMENTED(); }
|
| +
|
| +void OzoneWindow::WarpCursorTo(const gfx::PointF& location) {
|
| + NOTIMPLEMENTED();
|
| +}
|
| +
|
| +} // namespace ui
|
|
|