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

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

Issue 1412663005: Introduce painted-device-scale-factor and use it when --enable-use-zoom-for-dsf is specified. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/base_switches.h" 10 #include "base/base_switches.h"
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 ::switches::kEnableGpuRasterization, 106 ::switches::kEnableGpuRasterization,
107 ::switches::kEnableImageColorProfiles, 107 ::switches::kEnableImageColorProfiles,
108 ::switches::kEnableLogging, 108 ::switches::kEnableLogging,
109 ::switches::kEnableLowResTiling, 109 ::switches::kEnableLowResTiling,
110 ::switches::kEnablePartialRaster, 110 ::switches::kEnablePartialRaster,
111 ::switches::kEnablePinch, 111 ::switches::kEnablePinch,
112 ::switches::kEnablePreferCompositingToLCDText, 112 ::switches::kEnablePreferCompositingToLCDText,
113 ::switches::kEnableRGBA4444Textures, 113 ::switches::kEnableRGBA4444Textures,
114 ::switches::kEnableSlimmingPaintV2, 114 ::switches::kEnableSlimmingPaintV2,
115 ::switches::kEnableTouchDragDrop, 115 ::switches::kEnableTouchDragDrop,
116 ::switches::kEnableUseZoomForDSF,
116 ::switches::kEnableViewport, 117 ::switches::kEnableViewport,
117 ::switches::kEnableZeroCopy, 118 ::switches::kEnableZeroCopy,
118 #if defined(USE_OZONE) 119 #if defined(USE_OZONE)
119 ::switches::kExtraTouchNoiseFiltering, 120 ::switches::kExtraTouchNoiseFiltering,
120 #endif 121 #endif
121 ::switches::kMainFrameResizesAreOrientationChanges, 122 ::switches::kMainFrameResizesAreOrientationChanges,
122 ::switches::kForceDeviceScaleFactor, 123 ::switches::kForceDeviceScaleFactor,
123 ::switches::kForceGpuRasterization, 124 ::switches::kForceGpuRasterization,
124 ::switches::kGpuRasterizationMSAASampleCount, 125 ::switches::kGpuRasterizationMSAASampleCount,
125 ::switches::kGpuStartupDialog, 126 ::switches::kGpuStartupDialog,
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
349 // Relaunch chrome without session manager on dev box. 350 // Relaunch chrome without session manager on dev box.
350 ReLaunch(command_line); 351 ReLaunch(command_line);
351 return; 352 return;
352 } 353 }
353 354
354 // ChromeRestartRequest deletes itself after request sent to session manager. 355 // ChromeRestartRequest deletes itself after request sent to session manager.
355 (new ChromeRestartRequest(command_line.argv()))->Start(); 356 (new ChromeRestartRequest(command_line.argv()))->Start();
356 } 357 }
357 358
358 } // namespace chromeos 359 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698