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

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

Issue 11574008: Disable ash tests on Windows that rely on multiple displays or display resizing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix comment Created 8 years 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 | « ash/wm/workspace/workspace_window_resizer_unittest.cc ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/remote_root_window_host_win.h" 5 #include "ui/aura/remote_root_window_host_win.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 10
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 107
108 void RemoteRootWindowHostWin::ToggleFullScreen() { 108 void RemoteRootWindowHostWin::ToggleFullScreen() {
109 } 109 }
110 110
111 gfx::Rect RemoteRootWindowHostWin::GetBounds() const { 111 gfx::Rect RemoteRootWindowHostWin::GetBounds() const {
112 gfx::Rect r(gfx::Point(0, 0), aura::RootWindowHost::GetNativeScreenSize()); 112 gfx::Rect r(gfx::Point(0, 0), aura::RootWindowHost::GetNativeScreenSize());
113 return r; 113 return r;
114 } 114 }
115 115
116 void RemoteRootWindowHostWin::SetBounds(const gfx::Rect& bounds) { 116 void RemoteRootWindowHostWin::SetBounds(const gfx::Rect& bounds) {
117 delegate_->OnHostResized(bounds.size());
117 } 118 }
118 119
119 gfx::Point RemoteRootWindowHostWin::GetLocationOnNativeScreen() const { 120 gfx::Point RemoteRootWindowHostWin::GetLocationOnNativeScreen() const {
120 return gfx::Point(0, 0); 121 return gfx::Point(0, 0);
121 } 122 }
122 123
123 void RemoteRootWindowHostWin::SetCursor(gfx::NativeCursor native_cursor) { 124 void RemoteRootWindowHostWin::SetCursor(gfx::NativeCursor native_cursor) {
124 if (!host_) 125 if (!host_)
125 return; 126 return;
126 host_->Send( 127 host_->Send(
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 int32 y, 265 int32 y,
265 uint64 timestamp) { 266 uint64 timestamp) {
266 ui::TouchEvent event(ui::ET_TOUCH_MOVED, 267 ui::TouchEvent event(ui::ET_TOUCH_MOVED,
267 gfx::Point(x, y), 268 gfx::Point(x, y),
268 kRemoteWindowTouchId, 269 kRemoteWindowTouchId,
269 base::TimeDelta::FromMicroseconds(timestamp)); 270 base::TimeDelta::FromMicroseconds(timestamp));
270 delegate_->OnHostTouchEvent(&event); 271 delegate_->OnHostTouchEvent(&event);
271 } 272 }
272 273
273 } // namespace aura 274 } // namespace aura
OLDNEW
« no previous file with comments | « ash/wm/workspace/workspace_window_resizer_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698