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

Side by Side Diff: trunk/src/content/browser/android/content_startup_flags.cc

Issue 189373012: Revert 255481 "Remove --ui-prioritize-in-gpu-process" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "content/browser/android/content_startup_flags.h" 5 #include "content/browser/android/content_startup_flags.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 82
83 parsed_command_line->AppendSwitch(switches::kEnableViewport); 83 parsed_command_line->AppendSwitch(switches::kEnableViewport);
84 parsed_command_line->AppendSwitch(switches::kEnableViewportMeta); 84 parsed_command_line->AppendSwitch(switches::kEnableViewportMeta);
85 parsed_command_line->AppendSwitch( 85 parsed_command_line->AppendSwitch(
86 switches::kMainFrameResizesAreOrientationChanges); 86 switches::kMainFrameResizesAreOrientationChanges);
87 87
88 // Disable anti-aliasing. 88 // Disable anti-aliasing.
89 parsed_command_line->AppendSwitch( 89 parsed_command_line->AppendSwitch(
90 cc::switches::kDisableCompositedAntialiasing); 90 cc::switches::kDisableCompositedAntialiasing);
91 91
92 parsed_command_line->AppendSwitch(switches::kUIPrioritizeInGpuProcess);
93
92 parsed_command_line->AppendSwitch(switches::kEnableDelegatedRenderer); 94 parsed_command_line->AppendSwitch(switches::kEnableDelegatedRenderer);
93 95
94 if (!plugin_descriptor.empty()) { 96 if (!plugin_descriptor.empty()) {
95 parsed_command_line->AppendSwitchNative( 97 parsed_command_line->AppendSwitchNative(
96 switches::kRegisterPepperPlugins, plugin_descriptor); 98 switches::kRegisterPepperPlugins, plugin_descriptor);
97 } 99 }
98 100
99 // Disable profiler timing by default. 101 // Disable profiler timing by default.
100 if (!parsed_command_line->HasSwitch(switches::kProfilerTiming)) { 102 if (!parsed_command_line->HasSwitch(switches::kProfilerTiming)) {
101 parsed_command_line->AppendSwitchASCII( 103 parsed_command_line->AppendSwitchASCII(
102 switches::kProfilerTiming, switches::kProfilerTimingDisabledValue); 104 switches::kProfilerTiming, switches::kProfilerTimingDisabledValue);
103 } 105 }
104 } 106 }
105 107
106 } // namespace content 108 } // namespace content
OLDNEW
« no previous file with comments | « trunk/src/chrome/browser/chromeos/login/chrome_restart_request.cc ('k') | trunk/src/content/browser/gpu/gpu_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698