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

Side by Side Diff: chrome/browser/chromeos/login/chrome_restart_request.cc

Issue 1147553003: ozone: Add atomic initialization path (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
« no previous file with comments | « no previous file | content/browser/gpu/gpu_process_host.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "chrome/browser/chromeos/login/chrome_restart_request.h" 5 #include "chrome/browser/chromeos/login/chrome_restart_request.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "ash/ash_switches.h" 9 #include "ash/ash_switches.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 ::switches::kDisableWebRtcHWDecoding, 161 ::switches::kDisableWebRtcHWDecoding,
162 ::switches::kDisableWebRtcHWEncoding, 162 ::switches::kDisableWebRtcHWEncoding,
163 ::switches::kEnableWebRtcHWH264Encoding, 163 ::switches::kEnableWebRtcHWH264Encoding,
164 #endif 164 #endif
165 ::switches::kDisableVaapiAcceleratedVideoEncode, 165 ::switches::kDisableVaapiAcceleratedVideoEncode,
166 #if defined(USE_OZONE) 166 #if defined(USE_OZONE)
167 ::switches::kOzoneInitialDisplayBounds, 167 ::switches::kOzoneInitialDisplayBounds,
168 ::switches::kOzoneInitialDisplayPhysicalSizeMm, 168 ::switches::kOzoneInitialDisplayPhysicalSizeMm,
169 ::switches::kOzonePlatform, 169 ::switches::kOzonePlatform,
170 ::switches::kOzoneUseSurfaceless, 170 ::switches::kOzoneUseSurfaceless,
171 ::switches::kOzoneUseAtomicDrm,
dnicoara 2015/05/19 17:13:14 This is a platform specific flag. I know that this
achaulk 2015/05/19 17:15:44 The other option is to add a new platform drm_atom
dnicoara 2015/05/19 17:21:58 Well, we could just make it a compile time flag. I
achaulk 2015/05/19 17:27:36 Yeah, at which point we rip out the flag. The goal
dnicoara 2015/05/19 17:54:06 I still don't see much value outside your developm
171 #endif 172 #endif
172 app_list::switches::kDisableSyncAppList, 173 app_list::switches::kDisableSyncAppList,
173 app_list::switches::kEnableSyncAppList, 174 app_list::switches::kEnableSyncAppList,
174 ash::switches::kAshHostWindowBounds, 175 ash::switches::kAshHostWindowBounds,
175 ash::switches::kAshTouchHud, 176 ash::switches::kAshTouchHud,
176 ash::switches::kAuraLegacyPowerButton, 177 ash::switches::kAuraLegacyPowerButton,
177 chromeos::switches::kDefaultWallpaperLarge, 178 chromeos::switches::kDefaultWallpaperLarge,
178 chromeos::switches::kDefaultWallpaperSmall, 179 chromeos::switches::kDefaultWallpaperSmall,
179 chromeos::switches::kGuestWallpaperLarge, 180 chromeos::switches::kGuestWallpaperLarge,
180 chromeos::switches::kGuestWallpaperSmall, 181 chromeos::switches::kGuestWallpaperSmall,
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 // Relaunch chrome without session manager on dev box. 376 // Relaunch chrome without session manager on dev box.
376 ReLaunch(command_line); 377 ReLaunch(command_line);
377 return; 378 return;
378 } 379 }
379 380
380 // ChromeRestartRequest deletes itself after request sent to session manager. 381 // ChromeRestartRequest deletes itself after request sent to session manager.
381 (new ChromeRestartRequest(command_line))->Start(); 382 (new ChromeRestartRequest(command_line))->Start();
382 } 383 }
383 384
384 } // namespace chromeos 385 } // namespace chromeos
OLDNEW
« no previous file with comments | « no previous file | content/browser/gpu/gpu_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698