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

Side by Side Diff: ui/aura/window_tree_host_ozone.cc

Issue 201573015: Introdcue AshWindowTreeHost and move ash/chrome specific code in WTH to ash. (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
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/aura/window_tree_host_ozone.h" 5 #include "ui/aura/window_tree_host_ozone.h"
6 6
7 #include "ui/aura/window_event_dispatcher.h" 7 #include "ui/aura/window_event_dispatcher.h"
8 #include "ui/base/cursor/ozone/cursor_factory_ozone.h" 8 #include "ui/base/cursor/ozone/cursor_factory_ozone.h"
9 #include "ui/events/ozone/event_factory_ozone.h" 9 #include "ui/events/ozone/event_factory_ozone.h"
10 #include "ui/gfx/ozone/surface_factory_ozone.h" 10 #include "ui/gfx/ozone/surface_factory_ozone.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 } 45 }
46 46
47 gfx::AcceleratedWidget WindowTreeHostOzone::GetAcceleratedWidget() { 47 gfx::AcceleratedWidget WindowTreeHostOzone::GetAcceleratedWidget() {
48 return widget_; 48 return widget_;
49 } 49 }
50 50
51 void WindowTreeHostOzone::Show() { NOTIMPLEMENTED(); } 51 void WindowTreeHostOzone::Show() { NOTIMPLEMENTED(); }
52 52
53 void WindowTreeHostOzone::Hide() { NOTIMPLEMENTED(); } 53 void WindowTreeHostOzone::Hide() { NOTIMPLEMENTED(); }
54 54
55 void WindowTreeHostOzone::ToggleFullScreen() { NOTIMPLEMENTED(); }
56
57 gfx::Rect WindowTreeHostOzone::GetBounds() const { return bounds_; } 55 gfx::Rect WindowTreeHostOzone::GetBounds() const { return bounds_; }
58 56
59 void WindowTreeHostOzone::SetBounds(const gfx::Rect& bounds) { 57 void WindowTreeHostOzone::SetBounds(const gfx::Rect& bounds) {
60 NOTIMPLEMENTED(); 58 NOTIMPLEMENTED();
61 } 59 }
62 60
63 gfx::Insets WindowTreeHostOzone::GetInsets() const { return gfx::Insets(); }
64
65 void WindowTreeHostOzone::SetInsets(const gfx::Insets& insets) {
66 NOTIMPLEMENTED();
67 }
68
69 gfx::Point WindowTreeHostOzone::GetLocationOnNativeScreen() const { 61 gfx::Point WindowTreeHostOzone::GetLocationOnNativeScreen() const {
70 return bounds_.origin(); 62 return bounds_.origin();
71 } 63 }
72 64
73 void WindowTreeHostOzone::SetCapture() { NOTIMPLEMENTED(); } 65 void WindowTreeHostOzone::SetCapture() { NOTIMPLEMENTED(); }
74 66
75 void WindowTreeHostOzone::ReleaseCapture() { NOTIMPLEMENTED(); } 67 void WindowTreeHostOzone::ReleaseCapture() { NOTIMPLEMENTED(); }
76 68
77 bool WindowTreeHostOzone::QueryMouseLocation(gfx::Point* location_return) { 69 bool WindowTreeHostOzone::QueryMouseLocation(gfx::Point* location_return) {
78 NOTIMPLEMENTED(); 70 NOTIMPLEMENTED();
79 return false; 71 return false;
80 } 72 }
81 73
82 bool WindowTreeHostOzone::ConfineCursorToRootWindow() {
83 NOTIMPLEMENTED();
84 return false;
85 }
86
87 void WindowTreeHostOzone::UnConfineCursor() { NOTIMPLEMENTED(); }
88
89 void WindowTreeHostOzone::PostNativeEvent( 74 void WindowTreeHostOzone::PostNativeEvent(
90 const base::NativeEvent& native_event) { 75 const base::NativeEvent& native_event) {
91 NOTIMPLEMENTED(); 76 NOTIMPLEMENTED();
92 } 77 }
93 78
94 void WindowTreeHostOzone::OnDeviceScaleFactorChanged( 79 void WindowTreeHostOzone::OnDeviceScaleFactorChanged(
95 float device_scale_factor) { 80 float device_scale_factor) {
96 NOTIMPLEMENTED(); 81 NOTIMPLEMENTED();
97 } 82 }
98 83
(...skipping 20 matching lines...) Expand all
119 return new WindowTreeHostOzone(bounds); 104 return new WindowTreeHostOzone(bounds);
120 } 105 }
121 106
122 // static 107 // static
123 gfx::Size WindowTreeHost::GetNativeScreenSize() { 108 gfx::Size WindowTreeHost::GetNativeScreenSize() {
124 NOTIMPLEMENTED(); 109 NOTIMPLEMENTED();
125 return gfx::Size(); 110 return gfx::Size();
126 } 111 }
127 112
128 } // namespace aura 113 } // namespace aura
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698