Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Side by Side Diff: ui/ozone/window/ozone_window.cc

Issue 205433005: ozone: Add OzoneWindowFactory & OzoneWindow (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698