OLD | NEW |
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/ash_window_tree_host_init_params.h" |
8 #include "ash/host/root_window_transformer.h" | 8 #include "ash/host/root_window_transformer.h" |
9 #include "ash/host/transformer_helper.h" | 9 #include "ash/host/transformer_helper.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 } | 84 } |
85 | 85 |
86 void AshWindowTreeHostOzone::UpdateRootWindowSize(const gfx::Size& host_size) { | 86 void AshWindowTreeHostOzone::UpdateRootWindowSize(const gfx::Size& host_size) { |
87 transformer_helper_.UpdateWindowSize(host_size); | 87 transformer_helper_.UpdateWindowSize(host_size); |
88 } | 88 } |
89 | 89 |
90 } // namespace | 90 } // namespace |
91 | 91 |
92 AshWindowTreeHost* AshWindowTreeHost::Create( | 92 AshWindowTreeHost* AshWindowTreeHost::Create( |
93 const AshWindowTreeHostInitParams& init_params) { | 93 const AshWindowTreeHostInitParams& init_params) { |
94 return new AshWindowTreeHostOzone(intial_params.initial_bounds); | 94 return new AshWindowTreeHostOzone(init_params.initial_bounds); |
95 } | 95 } |
96 | 96 |
97 } // namespace ash | 97 } // namespace ash |
OLD | NEW |