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

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

Issue 266743003: Add flag to enable rendering of text using signed distance fields. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix uses of ResourceProvider::Create() outside of Chrome proper. Created 6 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
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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 const CommandLine& base_command_line, 66 const CommandLine& base_command_line,
67 const base::DictionaryValue& new_switches, 67 const base::DictionaryValue& new_switches,
68 CommandLine* command_line) { 68 CommandLine* command_line) {
69 DCHECK_NE(&base_command_line, command_line); 69 DCHECK_NE(&base_command_line, command_line);
70 70
71 static const char* kForwardSwitches[] = { 71 static const char* kForwardSwitches[] = {
72 ::switches::kDisableAccelerated2dCanvas, 72 ::switches::kDisableAccelerated2dCanvas,
73 ::switches::kDisableAcceleratedOverflowScroll, 73 ::switches::kDisableAcceleratedOverflowScroll,
74 ::switches::kDisableAcceleratedVideoDecode, 74 ::switches::kDisableAcceleratedVideoDecode,
75 ::switches::kDisableDelegatedRenderer, 75 ::switches::kDisableDelegatedRenderer,
76 ::switches::kDisableDistanceFieldText,
76 ::switches::kDisableFastTextAutosizing, 77 ::switches::kDisableFastTextAutosizing,
77 ::switches::kDisableFiltersOverIPC, 78 ::switches::kDisableFiltersOverIPC,
78 ::switches::kDisableGpuShaderDiskCache, 79 ::switches::kDisableGpuShaderDiskCache,
79 ::switches::kDisableGpuWatchdog, 80 ::switches::kDisableGpuWatchdog,
80 ::switches::kDisableGpuCompositing, 81 ::switches::kDisableGpuCompositing,
81 ::switches::kDisableGpuRasterization, 82 ::switches::kDisableGpuRasterization,
82 ::switches::kDisableImplSidePainting, 83 ::switches::kDisableImplSidePainting,
83 ::switches::kDisableLowResTiling, 84 ::switches::kDisableLowResTiling,
84 ::switches::kDisableMediaSource, 85 ::switches::kDisableMediaSource,
85 ::switches::kDisablePrefixedEncryptedMedia, 86 ::switches::kDisablePrefixedEncryptedMedia,
(...skipping 12 matching lines...) Expand all
98 ::switches::kEnableBeginFrameScheduling, 99 ::switches::kEnableBeginFrameScheduling,
99 ::switches::kEnableCompositingForFixedPosition, 100 ::switches::kEnableCompositingForFixedPosition,
100 ::switches::kEnableDelegatedRenderer, 101 ::switches::kEnableDelegatedRenderer,
101 ::switches::kEnableEncryptedMedia, 102 ::switches::kEnableEncryptedMedia,
102 ::switches::kEnableFastTextAutosizing, 103 ::switches::kEnableFastTextAutosizing,
103 ::switches::kEnableGestureTapHighlight, 104 ::switches::kEnableGestureTapHighlight,
104 ::switches::kDisableGestureTapHighlight, 105 ::switches::kDisableGestureTapHighlight,
105 ::switches::kDisableGpuSandbox, 106 ::switches::kDisableGpuSandbox,
106 ::switches::kDisableDeferredFilters, 107 ::switches::kDisableDeferredFilters,
107 ::switches::kEnableContainerCulling, 108 ::switches::kEnableContainerCulling,
109 ::switches::kEnableDistanceFieldText,
108 ::switches::kEnableGpuRasterization, 110 ::switches::kEnableGpuRasterization,
109 ::switches::kEnableImplSidePainting, 111 ::switches::kEnableImplSidePainting,
110 ::switches::kEnableLogging, 112 ::switches::kEnableLogging,
111 ::switches::kEnableLowResTiling, 113 ::switches::kEnableLowResTiling,
112 ::switches::kEnableOneCopy, 114 ::switches::kEnableOneCopy,
113 ::switches::kEnablePinch, 115 ::switches::kEnablePinch,
114 ::switches::kEnableRepaintAfterLayout, 116 ::switches::kEnableRepaintAfterLayout,
115 ::switches::kEnableThreadedCompositing, 117 ::switches::kEnableThreadedCompositing,
116 ::switches::kEnableTouchDragDrop, 118 ::switches::kEnableTouchDragDrop,
117 ::switches::kEnableTouchEditing, 119 ::switches::kEnableTouchEditing,
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 // Relaunch chrome without session manager on dev box. 375 // Relaunch chrome without session manager on dev box.
374 ReLaunch(command_line); 376 ReLaunch(command_line);
375 return; 377 return;
376 } 378 }
377 379
378 // ChromeRestartRequest deletes itself after request sent to session manager. 380 // ChromeRestartRequest deletes itself after request sent to session manager.
379 (new ChromeRestartRequest(command_line))->Start(); 381 (new ChromeRestartRequest(command_line))->Start();
380 } 382 }
381 383
382 } // namespace chromeos 384 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698