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

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

Issue 277753002: Makes construction of (ash)RemoteWindowTreeHostWin explicit (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 6 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 | Annotate | Revision Log
« no previous file with comments | « ash/host/ash_window_tree_host_init_params.cc ('k') | ash/host/ash_window_tree_host_win.cc » ('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 "ash/host/ash_window_tree_host.h" 5 #include "ash/host/ash_window_tree_host.h"
6 6
7 #include "ash/host/ash_window_tree_host_init_params.h"
7 #include "ash/host/root_window_transformer.h" 8 #include "ash/host/root_window_transformer.h"
8 #include "ash/host/transformer_helper.h" 9 #include "ash/host/transformer_helper.h"
9 #include "base/command_line.h" 10 #include "base/command_line.h"
10 #include "ui/aura/window_tree_host_ozone.h" 11 #include "ui/aura/window_tree_host_ozone.h"
11 #include "ui/gfx/geometry/insets.h" 12 #include "ui/gfx/geometry/insets.h"
12 #include "ui/gfx/transform.h" 13 #include "ui/gfx/transform.h"
13 14
14 namespace ash { 15 namespace ash {
15 namespace { 16 namespace {
16 17
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 gfx::Transform AshWindowTreeHostOzone::GetInverseRootTransform() const { 82 gfx::Transform AshWindowTreeHostOzone::GetInverseRootTransform() const {
82 return transformer_helper_.GetInverseTransform(); 83 return transformer_helper_.GetInverseTransform();
83 } 84 }
84 85
85 void AshWindowTreeHostOzone::UpdateRootWindowSize(const gfx::Size& host_size) { 86 void AshWindowTreeHostOzone::UpdateRootWindowSize(const gfx::Size& host_size) {
86 transformer_helper_.UpdateWindowSize(host_size); 87 transformer_helper_.UpdateWindowSize(host_size);
87 } 88 }
88 89
89 } // namespace 90 } // namespace
90 91
91 AshWindowTreeHost* AshWindowTreeHost::Create(const gfx::Rect& initial_bounds) { 92 AshWindowTreeHost* AshWindowTreeHost::Create(
92 return new AshWindowTreeHostOzone(initial_bounds); 93 const AshWindowTreeHostInitParams& init_params) {
94 return new AshWindowTreeHostOzone(intial_params.initial_bounds);
93 } 95 }
94 96
95 } // namespace ash 97 } // namespace ash
OLDNEW
« no previous file with comments | « ash/host/ash_window_tree_host_init_params.cc ('k') | ash/host/ash_window_tree_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698