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

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

Issue 684783004: Prefix CommandLine usage with base namespace (Part 4: ash/) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 6 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
« no previous file with comments | « ash/drag_drop/drag_drop_controller_unittest.cc ('k') | ash/root_window_controller.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/ash_export.h" 7 #include "ash/ash_export.h"
8 #include "ash/ash_switches.h" 8 #include "ash/ash_switches.h"
9 #include "ash/host/ash_remote_window_tree_host_win.h" 9 #include "ash/host/ash_remote_window_tree_host_win.h"
10 #include "ash/host/ash_window_tree_host_init_params.h" 10 #include "ash/host/ash_window_tree_host_init_params.h"
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 TransformerHelper transformer_helper_; 107 TransformerHelper transformer_helper_;
108 108
109 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostWin); 109 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostWin);
110 }; 110 };
111 111
112 } // namespace 112 } // namespace
113 113
114 AshWindowTreeHost* AshWindowTreeHost::Create( 114 AshWindowTreeHost* AshWindowTreeHost::Create(
115 const AshWindowTreeHostInitParams& init_params) { 115 const AshWindowTreeHostInitParams& init_params) {
116 if (base::win::GetVersion() >= base::win::VERSION_WIN7 && 116 if (base::win::GetVersion() >= base::win::VERSION_WIN7 &&
117 !CommandLine::ForCurrentProcess()->HasSwitch( 117 !base::CommandLine::ForCurrentProcess()->HasSwitch(
118 ash::switches::kForceAshToDesktop)) 118 ash::switches::kForceAshToDesktop))
119 return new AshRemoteWindowTreeHostWin(init_params.remote_hwnd); 119 return new AshRemoteWindowTreeHostWin(init_params.remote_hwnd);
120 120
121 return new AshWindowTreeHostWin(init_params.initial_bounds); 121 return new AshWindowTreeHostWin(init_params.initial_bounds);
122 } 122 }
123 123
124 } // namespace ash 124 } // namespace ash
OLDNEW
« no previous file with comments | « ash/drag_drop/drag_drop_controller_unittest.cc ('k') | ash/root_window_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698