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

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

Issue 2495423005: Enables passing initial properties to top level window creation (Closed)
Patch Set: cleanup Created 4 years, 1 month 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_platform.h" 5 #include "ash/host/ash_window_tree_host_platform.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "ash/host/root_window_transformer.h" 9 #include "ash/host/root_window_transformer.h"
10 #include "ash/host/transformer_helper.h" 10 #include "ash/host/transformer_helper.h"
(...skipping 15 matching lines...) Expand all
26 namespace ash { 26 namespace ash {
27 27
28 AshWindowTreeHostPlatform::AshWindowTreeHostPlatform( 28 AshWindowTreeHostPlatform::AshWindowTreeHostPlatform(
29 const gfx::Rect& initial_bounds) 29 const gfx::Rect& initial_bounds)
30 : aura::WindowTreeHostPlatform(initial_bounds), transformer_helper_(this) { 30 : aura::WindowTreeHostPlatform(initial_bounds), transformer_helper_(this) {
31 transformer_helper_.Init(); 31 transformer_helper_.Init();
32 } 32 }
33 33
34 AshWindowTreeHostPlatform::AshWindowTreeHostPlatform() 34 AshWindowTreeHostPlatform::AshWindowTreeHostPlatform()
35 : transformer_helper_(this) { 35 : transformer_helper_(this) {
36 CreateCompositor();
36 transformer_helper_.Init(); 37 transformer_helper_.Init();
37 } 38 }
38 39
39 AshWindowTreeHostPlatform::~AshWindowTreeHostPlatform() {} 40 AshWindowTreeHostPlatform::~AshWindowTreeHostPlatform() {}
40 41
41 void AshWindowTreeHostPlatform::ToggleFullScreen() { 42 void AshWindowTreeHostPlatform::ToggleFullScreen() {
42 NOTIMPLEMENTED(); 43 NOTIMPLEMENTED();
43 } 44 }
44 45
45 bool AshWindowTreeHostPlatform::ConfineCursorToRootWindow() { 46 bool AshWindowTreeHostPlatform::ConfineCursorToRootWindow() {
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 #if defined(USE_OZONE) 125 #if defined(USE_OZONE)
125 DCHECK(ui::OzonePlatform::GetInstance()->GetInputController()); 126 DCHECK(ui::OzonePlatform::GetInstance()->GetInputController());
126 127
127 // Temporarily pause tap-to-click when the cursor is hidden. 128 // Temporarily pause tap-to-click when the cursor is hidden.
128 ui::OzonePlatform::GetInstance()->GetInputController()->SetTapToClickPaused( 129 ui::OzonePlatform::GetInstance()->GetInputController()->SetTapToClickPaused(
129 state); 130 state);
130 #endif 131 #endif
131 } 132 }
132 133
133 } // namespace ash 134 } // namespace ash
OLDNEW
« no previous file with comments | « no previous file | blimp/engine/app/ui/blimp_window_tree_host.cc » ('j') | ui/aura/window_tree_host_platform.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698