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

Side by Side Diff: ui/aura/mus/window_tree_host_mus.cc

Issue 2700913003: chromeos: add TODO for implementing MoveCursorToScreenLocationInPixels (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « ui/aura/mus/window_tree_host_mus.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/mus/window_tree_host_mus.h" 5 #include "ui/aura/mus/window_tree_host_mus.h"
6 6
7 #include "base/memory/ptr_util.h" 7 #include "base/memory/ptr_util.h"
8 #include "ui/aura/env.h" 8 #include "ui/aura/env.h"
9 #include "ui/aura/mus/input_method_mus.h" 9 #include "ui/aura/mus/input_method_mus.h"
10 #include "ui/aura/mus/window_port_mus.h" 10 #include "ui/aura/mus/window_port_mus.h"
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 209
210 void WindowTreeHostMus::OnCloseRequest() { 210 void WindowTreeHostMus::OnCloseRequest() {
211 OnHostCloseRequested(); 211 OnHostCloseRequested();
212 } 212 }
213 213
214 gfx::ICCProfile WindowTreeHostMus::GetICCProfileForCurrentDisplay() { 214 gfx::ICCProfile WindowTreeHostMus::GetICCProfileForCurrentDisplay() {
215 // TODO: This should read the profile from mus. crbug.com/647510 215 // TODO: This should read the profile from mus. crbug.com/647510
216 return gfx::ICCProfile(); 216 return gfx::ICCProfile();
217 } 217 }
218 218
219 void WindowTreeHostMus::MoveCursorToScreenLocationInPixels(
220 const gfx::Point& location_in_pixels) {
221 // TODO: this needs to message the server http://crbug.com/693340. Setting
222 // the location is really only appropriate in tests, outside of tests this
223 // value is ignored.
224 NOTIMPLEMENTED();
225 Env::GetInstance()->set_last_mouse_location(location_in_pixels);
226 }
227
219 } // namespace aura 228 } // namespace aura
OLDNEW
« no previous file with comments | « ui/aura/mus/window_tree_host_mus.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698