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

Side by Side Diff: mojo/aura/window_tree_host_mojo.cc

Issue 389663003: aura: Remove WindowTreeHost::OnDeviceScaleFactorChanged. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 5 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 | « mojo/aura/window_tree_host_mojo.h ('k') | mojo/services/view_manager/window_tree_host_impl.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 2014 The Chromium Authors. All rights reserved. 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 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 "mojo/aura/window_tree_host_mojo.h" 5 #include "mojo/aura/window_tree_host_mojo.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "mojo/aura/window_tree_host_mojo_delegate.h" 9 #include "mojo/aura/window_tree_host_mojo_delegate.h"
10 #include "ui/aura/env.h" 10 #include "ui/aura/env.h"
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 130
131 void WindowTreeHostMojo::ReleaseCapture() { 131 void WindowTreeHostMojo::ReleaseCapture() {
132 NOTIMPLEMENTED(); 132 NOTIMPLEMENTED();
133 } 133 }
134 134
135 void WindowTreeHostMojo::PostNativeEvent( 135 void WindowTreeHostMojo::PostNativeEvent(
136 const base::NativeEvent& native_event) { 136 const base::NativeEvent& native_event) {
137 NOTIMPLEMENTED(); 137 NOTIMPLEMENTED();
138 } 138 }
139 139
140 void WindowTreeHostMojo::OnDeviceScaleFactorChanged(
141 float device_scale_factor) {
142 NOTIMPLEMENTED();
143 }
144
145 void WindowTreeHostMojo::SetCursorNative(gfx::NativeCursor cursor) { 140 void WindowTreeHostMojo::SetCursorNative(gfx::NativeCursor cursor) {
146 NOTIMPLEMENTED(); 141 NOTIMPLEMENTED();
147 } 142 }
148 143
149 void WindowTreeHostMojo::MoveCursorToNative(const gfx::Point& location) { 144 void WindowTreeHostMojo::MoveCursorToNative(const gfx::Point& location) {
150 NOTIMPLEMENTED(); 145 NOTIMPLEMENTED();
151 } 146 }
152 147
153 void WindowTreeHostMojo::OnCursorVisibilityChangedNative(bool show) { 148 void WindowTreeHostMojo::OnCursorVisibilityChangedNative(bool show) {
154 NOTIMPLEMENTED(); 149 NOTIMPLEMENTED();
(...skipping 14 matching lines...) Expand all
169 const gfx::Rect& old_bounds, 164 const gfx::Rect& old_bounds,
170 const gfx::Rect& new_bounds) { 165 const gfx::Rect& new_bounds) {
171 bounds_ = new_bounds; 166 bounds_ = new_bounds;
172 if (old_bounds.origin() != new_bounds.origin()) 167 if (old_bounds.origin() != new_bounds.origin())
173 OnHostMoved(bounds_.origin()); 168 OnHostMoved(bounds_.origin());
174 if (old_bounds.size() != new_bounds.size()) 169 if (old_bounds.size() != new_bounds.size())
175 OnHostResized(bounds_.size()); 170 OnHostResized(bounds_.size());
176 } 171 }
177 172
178 } // namespace mojo 173 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/aura/window_tree_host_mojo.h ('k') | mojo/services/view_manager/window_tree_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698