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

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

Issue 986173002: Animations: Implement runtime flag for enabling compositor animation timelines. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move switch from cc to content. Introduce ui switch. Created 5 years, 9 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
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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 ::switches::kDisableWebRtcHWEncoding, 163 ::switches::kDisableWebRtcHWEncoding,
164 ::switches::kEnableWebRtcHWH264Encoding, 164 ::switches::kEnableWebRtcHWH264Encoding,
165 #endif 165 #endif
166 ::switches::kDisableVaapiAcceleratedVideoEncode, 166 ::switches::kDisableVaapiAcceleratedVideoEncode,
167 #if defined(USE_OZONE) 167 #if defined(USE_OZONE)
168 ::switches::kOzoneInitialDisplayBounds, 168 ::switches::kOzoneInitialDisplayBounds,
169 ::switches::kOzoneInitialDisplayPhysicalSizeMm, 169 ::switches::kOzoneInitialDisplayPhysicalSizeMm,
170 ::switches::kOzonePlatform, 170 ::switches::kOzonePlatform,
171 ::switches::kOzoneUseSurfaceless, 171 ::switches::kOzoneUseSurfaceless,
172 #endif 172 #endif
173 ::switches::kEnableCompositorAnimationTimelines,
danakj 2015/03/12 20:29:57 please add these in alphabetical order
loyso (OOO) 2015/03/12 23:18:50 Done.
174 ::switches::kUIEnableCompositorAnimationTimelines,
173 app_list::switches::kDisableSyncAppList, 175 app_list::switches::kDisableSyncAppList,
174 app_list::switches::kEnableSyncAppList, 176 app_list::switches::kEnableSyncAppList,
175 ash::switches::kAshHostWindowBounds, 177 ash::switches::kAshHostWindowBounds,
176 ash::switches::kAshTouchHud, 178 ash::switches::kAshTouchHud,
177 ash::switches::kAuraLegacyPowerButton, 179 ash::switches::kAuraLegacyPowerButton,
178 chromeos::switches::kDefaultWallpaperLarge, 180 chromeos::switches::kDefaultWallpaperLarge,
179 chromeos::switches::kDefaultWallpaperSmall, 181 chromeos::switches::kDefaultWallpaperSmall,
180 chromeos::switches::kGuestWallpaperLarge, 182 chromeos::switches::kGuestWallpaperLarge,
181 chromeos::switches::kGuestWallpaperSmall, 183 chromeos::switches::kGuestWallpaperSmall,
182 // Please keep these in alphabetical order. Non-UI Compositor switches 184 // Please keep these in alphabetical order. Non-UI Compositor switches
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 // Relaunch chrome without session manager on dev box. 381 // Relaunch chrome without session manager on dev box.
380 ReLaunch(command_line); 382 ReLaunch(command_line);
381 return; 383 return;
382 } 384 }
383 385
384 // ChromeRestartRequest deletes itself after request sent to session manager. 386 // ChromeRestartRequest deletes itself after request sent to session manager.
385 (new ChromeRestartRequest(command_line))->Start(); 387 (new ChromeRestartRequest(command_line))->Start();
386 } 388 }
387 389
388 } // namespace chromeos 390 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698