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

Side by Side Diff: ash/host/ash_remote_window_tree_host_win.cc

Issue 1119953002: Enable display rotation, magnifier in unified desktop mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
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 "ash/host/ash_remote_window_tree_host_win.h" 5 #include "ash/host/ash_remote_window_tree_host_win.h"
6 6
7 #include "ash/host/root_window_transformer.h" 7 #include "ash/host/root_window_transformer.h"
8 #include "ui/gfx/geometry/insets.h" 8 #include "ui/gfx/geometry/insets.h"
9 #include "ui/gfx/transform.h" 9 #include "ui/gfx/transform.h"
10 10
11 namespace ash { 11 namespace ash {
12 12
13 AshRemoteWindowTreeHostWin::AshRemoteWindowTreeHostWin(HWND remote_hwnd) 13 AshRemoteWindowTreeHostWin::AshRemoteWindowTreeHostWin(HWND remote_hwnd)
14 : aura::RemoteWindowTreeHostWin(), 14 : aura::RemoteWindowTreeHostWin(),
15 transformer_helper_(this) { 15 transformer_helper_(this) {
16 SetRemoteWindowHandle(remote_hwnd); 16 SetRemoteWindowHandle(remote_hwnd);
17 transformer_helper_.Init();
oshima 2015/05/05 15:32:13 I forgot about this file and that's the reason why
17 } 18 }
18 19
19 AshRemoteWindowTreeHostWin::~AshRemoteWindowTreeHostWin() {} 20 AshRemoteWindowTreeHostWin::~AshRemoteWindowTreeHostWin() {}
20 21
21 void AshRemoteWindowTreeHostWin::ToggleFullScreen() {} 22 void AshRemoteWindowTreeHostWin::ToggleFullScreen() {}
22 23
23 bool AshRemoteWindowTreeHostWin::ConfineCursorToRootWindow() { return false; } 24 bool AshRemoteWindowTreeHostWin::ConfineCursorToRootWindow() { return false; }
24 25
25 void AshRemoteWindowTreeHostWin::UnConfineCursor() {} 26 void AshRemoteWindowTreeHostWin::UnConfineCursor() {}
26 27
(...skipping 22 matching lines...) Expand all
49 gfx::Transform AshRemoteWindowTreeHostWin::GetInverseRootTransform() const { 50 gfx::Transform AshRemoteWindowTreeHostWin::GetInverseRootTransform() const {
50 return transformer_helper_.GetInverseTransform(); 51 return transformer_helper_.GetInverseTransform();
51 } 52 }
52 53
53 void AshRemoteWindowTreeHostWin::UpdateRootWindowSize( 54 void AshRemoteWindowTreeHostWin::UpdateRootWindowSize(
54 const gfx::Size& host_size) { 55 const gfx::Size& host_size) {
55 transformer_helper_.UpdateWindowSize(host_size); 56 transformer_helper_.UpdateWindowSize(host_size);
56 } 57 }
57 58
58 } // namespace ash 59 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698