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

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: rebase Created 6 years, 8 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
« no previous file with comments | « ui/aura/window_tree_host_ozone.h ('k') | ui/aura/window_tree_host_win.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/events/platform/platform_event_source.h" 10 #include "ui/events/platform/platform_event_source.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 } 52 }
53 53
54 gfx::AcceleratedWidget WindowTreeHostOzone::GetAcceleratedWidget() { 54 gfx::AcceleratedWidget WindowTreeHostOzone::GetAcceleratedWidget() {
55 return widget_; 55 return widget_;
56 } 56 }
57 57
58 void WindowTreeHostOzone::Show() { NOTIMPLEMENTED(); } 58 void WindowTreeHostOzone::Show() { NOTIMPLEMENTED(); }
59 59
60 void WindowTreeHostOzone::Hide() { NOTIMPLEMENTED(); } 60 void WindowTreeHostOzone::Hide() { NOTIMPLEMENTED(); }
61 61
62 void WindowTreeHostOzone::ToggleFullScreen() { NOTIMPLEMENTED(); }
63
64 gfx::Rect WindowTreeHostOzone::GetBounds() const { return bounds_; } 62 gfx::Rect WindowTreeHostOzone::GetBounds() const { return bounds_; }
65 63
66 void WindowTreeHostOzone::SetBounds(const gfx::Rect& bounds) { 64 void WindowTreeHostOzone::SetBounds(const gfx::Rect& bounds) {
67 NOTIMPLEMENTED(); 65 NOTIMPLEMENTED();
68 } 66 }
69 67
70 gfx::Insets WindowTreeHostOzone::GetInsets() const { return gfx::Insets(); }
71
72 void WindowTreeHostOzone::SetInsets(const gfx::Insets& insets) {
73 NOTIMPLEMENTED();
74 }
75
76 gfx::Point WindowTreeHostOzone::GetLocationOnNativeScreen() const { 68 gfx::Point WindowTreeHostOzone::GetLocationOnNativeScreen() const {
77 return bounds_.origin(); 69 return bounds_.origin();
78 } 70 }
79 71
80 void WindowTreeHostOzone::SetCapture() { NOTIMPLEMENTED(); } 72 void WindowTreeHostOzone::SetCapture() { NOTIMPLEMENTED(); }
81 73
82 void WindowTreeHostOzone::ReleaseCapture() { NOTIMPLEMENTED(); } 74 void WindowTreeHostOzone::ReleaseCapture() { NOTIMPLEMENTED(); }
83 75
84 bool WindowTreeHostOzone::QueryMouseLocation(gfx::Point* location_return) { 76 bool WindowTreeHostOzone::QueryMouseLocation(gfx::Point* location_return) {
85 NOTIMPLEMENTED(); 77 NOTIMPLEMENTED();
86 return false; 78 return false;
87 } 79 }
88 80
89 bool WindowTreeHostOzone::ConfineCursorToRootWindow() {
90 NOTIMPLEMENTED();
91 return false;
92 }
93
94 void WindowTreeHostOzone::UnConfineCursor() { NOTIMPLEMENTED(); }
95
96 void WindowTreeHostOzone::PostNativeEvent( 81 void WindowTreeHostOzone::PostNativeEvent(
97 const base::NativeEvent& native_event) { 82 const base::NativeEvent& native_event) {
98 NOTIMPLEMENTED(); 83 NOTIMPLEMENTED();
99 } 84 }
100 85
101 void WindowTreeHostOzone::OnDeviceScaleFactorChanged( 86 void WindowTreeHostOzone::OnDeviceScaleFactorChanged(
102 float device_scale_factor) { 87 float device_scale_factor) {
103 NOTIMPLEMENTED(); 88 NOTIMPLEMENTED();
104 } 89 }
105 90
(...skipping 20 matching lines...) Expand all
126 return new WindowTreeHostOzone(bounds); 111 return new WindowTreeHostOzone(bounds);
127 } 112 }
128 113
129 // static 114 // static
130 gfx::Size WindowTreeHost::GetNativeScreenSize() { 115 gfx::Size WindowTreeHost::GetNativeScreenSize() {
131 NOTIMPLEMENTED(); 116 NOTIMPLEMENTED();
132 return gfx::Size(); 117 return gfx::Size();
133 } 118 }
134 119
135 } // namespace aura 120 } // namespace aura
OLDNEW
« no previous file with comments | « ui/aura/window_tree_host_ozone.h ('k') | ui/aura/window_tree_host_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698