OLD | NEW |
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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 static const char* kForwardSwitches[] = { | 72 static const char* kForwardSwitches[] = { |
73 ::switches::kDisableAccelerated2dCanvas, | 73 ::switches::kDisableAccelerated2dCanvas, |
74 ::switches::kDisableAcceleratedOverflowScroll, | 74 ::switches::kDisableAcceleratedOverflowScroll, |
75 ::switches::kDisableAcceleratedVideoDecode, | 75 ::switches::kDisableAcceleratedVideoDecode, |
76 ::switches::kDisableDelegatedRenderer, | 76 ::switches::kDisableDelegatedRenderer, |
77 ::switches::kDisableDistanceFieldText, | 77 ::switches::kDisableDistanceFieldText, |
78 ::switches::kDisableFastTextAutosizing, | 78 ::switches::kDisableFastTextAutosizing, |
79 ::switches::kDisableFiltersOverIPC, | 79 ::switches::kDisableFiltersOverIPC, |
80 ::switches::kDisableGpuShaderDiskCache, | 80 ::switches::kDisableGpuShaderDiskCache, |
81 ::switches::kDisableGpuWatchdog, | 81 ::switches::kDisableGpuWatchdog, |
| 82 ::switches::kDisableGpuCompositing, |
82 ::switches::kDisableGpuRasterization, | 83 ::switches::kDisableGpuRasterization, |
83 ::switches::kDisableImplSidePainting, | 84 ::switches::kDisableImplSidePainting, |
84 ::switches::kDisableLowResTiling, | 85 ::switches::kDisableLowResTiling, |
85 ::switches::kDisableMediaSource, | 86 ::switches::kDisableMediaSource, |
86 ::switches::kDisablePrefixedEncryptedMedia, | 87 ::switches::kDisablePrefixedEncryptedMedia, |
87 ::switches::kDisablePanelFitting, | 88 ::switches::kDisablePanelFitting, |
88 ::switches::kDisableRepaintAfterLayout, | 89 ::switches::kDisableRepaintAfterLayout, |
89 ::switches::kDisableSeccompFilterSandbox, | 90 ::switches::kDisableSeccompFilterSandbox, |
90 ::switches::kDisableSetuidSandbox, | 91 ::switches::kDisableSetuidSandbox, |
91 ::switches::kDisableThreadedCompositing, | 92 ::switches::kDisableThreadedCompositing, |
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
377 // Relaunch chrome without session manager on dev box. | 378 // Relaunch chrome without session manager on dev box. |
378 ReLaunch(command_line); | 379 ReLaunch(command_line); |
379 return; | 380 return; |
380 } | 381 } |
381 | 382 |
382 // ChromeRestartRequest deletes itself after request sent to session manager. | 383 // ChromeRestartRequest deletes itself after request sent to session manager. |
383 (new ChromeRestartRequest(command_line))->Start(); | 384 (new ChromeRestartRequest(command_line))->Start(); |
384 } | 385 } |
385 | 386 |
386 } // namespace chromeos | 387 } // namespace chromeos |
OLD | NEW |