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

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

Issue 85813003: --enable-gpu-rasterization flag for turning on hybrid ganesh mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years 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 | « cc/resources/picture_pile.cc ('k') | content/browser/renderer_host/render_process_host_impl.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 30 matching lines...) Expand all
41 #include "ui/gl/gl_switches.h" 41 #include "ui/gl/gl_switches.h"
42 #include "ui/views/corewm/corewm_switches.h" 42 #include "ui/views/corewm/corewm_switches.h"
43 #include "url/gurl.h" 43 #include "url/gurl.h"
44 44
45 using content::BrowserThread; 45 using content::BrowserThread;
46 46
47 namespace chromeos { 47 namespace chromeos {
48 48
49 namespace { 49 namespace {
50 50
51 // Increase logging level for Guest mode to avoid LOG(INFO) messages in logs. 51 // Increase logging level for Guest mode to avoid INFO messages in logs.
humper 2013/11/25 22:34:34 Had to make this change because the slightly overz
52 const char kGuestModeLoggingLevel[] = "1"; 52 const char kGuestModeLoggingLevel[] = "1";
53 53
54 // Format of command line switch. 54 // Format of command line switch.
55 const char kSwitchFormatString[] = " --%s=\"%s\""; 55 const char kSwitchFormatString[] = " --%s=\"%s\"";
56 56
57 // Derives the new command line from |base_command_line| by doing the following: 57 // Derives the new command line from |base_command_line| by doing the following:
58 // - Forward a given switches list to new command; 58 // - Forward a given switches list to new command;
59 // - Set start url if given; 59 // - Set start url if given;
60 // - Append/override switches using |new_switches|; 60 // - Append/override switches using |new_switches|;
61 std::string DeriveCommandLine(const GURL& start_url, 61 std::string DeriveCommandLine(const GURL& start_url,
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 // Please keep these in alphabetical order. Non-UI Compositor switches 162 // Please keep these in alphabetical order. Non-UI Compositor switches
163 // here should also be added to 163 // here should also be added to
164 // content/browser/renderer_host/render_process_host_impl.cc. 164 // content/browser/renderer_host/render_process_host_impl.cc.
165 cc::switches::kBackgroundColorInsteadOfCheckerboard, 165 cc::switches::kBackgroundColorInsteadOfCheckerboard,
166 cc::switches::kCompositeToMailbox, 166 cc::switches::kCompositeToMailbox,
167 cc::switches::kDisableCompositedAntialiasing, 167 cc::switches::kDisableCompositedAntialiasing,
168 cc::switches::kDisableCompositorTouchHitTesting, 168 cc::switches::kDisableCompositorTouchHitTesting,
169 cc::switches::kDisableImplSidePainting, 169 cc::switches::kDisableImplSidePainting,
170 cc::switches::kDisableMapImage, 170 cc::switches::kDisableMapImage,
171 cc::switches::kDisableThreadedAnimation, 171 cc::switches::kDisableThreadedAnimation,
172 cc::switches::kEnableGPURasterization,
172 cc::switches::kEnableImplSidePainting, 173 cc::switches::kEnableImplSidePainting,
173 cc::switches::kEnableMapImage, 174 cc::switches::kEnableMapImage,
174 cc::switches::kEnablePartialSwap, 175 cc::switches::kEnablePartialSwap,
175 cc::switches::kEnablePerTilePainting, 176 cc::switches::kEnablePerTilePainting,
176 cc::switches::kEnablePinchVirtualViewport, 177 cc::switches::kEnablePinchVirtualViewport,
177 cc::switches::kEnableTopControlsPositionCalculation, 178 cc::switches::kEnableTopControlsPositionCalculation,
178 cc::switches::kForceDirectLayerDrawing, 179 cc::switches::kForceDirectLayerDrawing,
179 cc::switches::kLowResolutionContentsScaleFactor, 180 cc::switches::kLowResolutionContentsScaleFactor,
180 cc::switches::kMaxTilesForInterestArea, 181 cc::switches::kMaxTilesForInterestArea,
181 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, 182 cc::switches::kMaxUnusedResourceMemoryUsagePercentage,
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 // Relaunch chrome without session manager on dev box. 367 // Relaunch chrome without session manager on dev box.
367 ReLaunch(command_line); 368 ReLaunch(command_line);
368 return; 369 return;
369 } 370 }
370 371
371 // ChromeRestartRequest deletes itself after request sent to session manager. 372 // ChromeRestartRequest deletes itself after request sent to session manager.
372 (new ChromeRestartRequest(command_line))->Start(); 373 (new ChromeRestartRequest(command_line))->Start();
373 } 374 }
374 375
375 } // namespace chromeos 376 } // namespace chromeos
OLDNEW
« no previous file with comments | « cc/resources/picture_pile.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