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

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

Issue 484473002: Revert of Replace enable-compositing-for-fixed-position with prefer-compositing-to-lcd-text. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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
« no previous file with comments | « chrome/common/crash_keys.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 (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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 RenderProcessHost::SetMaxRendererProcessCount(limit); 45 RenderProcessHost::SetMaxRendererProcessCount(limit);
46 } 46 }
47 47
48 if (single_process || command_line_renderer_limit == 0) { 48 if (single_process || command_line_renderer_limit == 0) {
49 // Need to ensure the command line flag is consistent as a lot of chrome 49 // Need to ensure the command line flag is consistent as a lot of chrome
50 // internal code checks this directly, but it wouldn't normally get set when 50 // internal code checks this directly, but it wouldn't normally get set when
51 // we are implementing an embedded WebView. 51 // we are implementing an embedded WebView.
52 parsed_command_line->AppendSwitch(switches::kSingleProcess); 52 parsed_command_line->AppendSwitch(switches::kSingleProcess);
53 } 53 }
54 54
55 parsed_command_line->AppendSwitch(
56 switches::kEnableCompositingForFixedPosition);
55 parsed_command_line->AppendSwitch(switches::kEnableAcceleratedOverflowScroll); 57 parsed_command_line->AppendSwitch(switches::kEnableAcceleratedOverflowScroll);
56 parsed_command_line->AppendSwitch(switches::kEnableBeginFrameScheduling); 58 parsed_command_line->AppendSwitch(switches::kEnableBeginFrameScheduling);
57 59
58 parsed_command_line->AppendSwitch(switches::kEnablePinch); 60 parsed_command_line->AppendSwitch(switches::kEnablePinch);
59 parsed_command_line->AppendSwitch(switches::kEnableOverlayFullscreenVideo); 61 parsed_command_line->AppendSwitch(switches::kEnableOverlayFullscreenVideo);
60 parsed_command_line->AppendSwitch(switches::kEnableOverlayScrollbar); 62 parsed_command_line->AppendSwitch(switches::kEnableOverlayScrollbar);
61 parsed_command_line->AppendSwitch(switches::kEnableOverscrollNotifications); 63 parsed_command_line->AppendSwitch(switches::kEnableOverscrollNotifications);
62 64
63 // Run the GPU service as a thread in the browser instead of as a 65 // Run the GPU service as a thread in the browser instead of as a
64 // standalone process. 66 // standalone process.
(...skipping 19 matching lines...) Expand all
84 } 86 }
85 87
86 // Disable profiler timing by default. 88 // Disable profiler timing by default.
87 if (!parsed_command_line->HasSwitch(switches::kProfilerTiming)) { 89 if (!parsed_command_line->HasSwitch(switches::kProfilerTiming)) {
88 parsed_command_line->AppendSwitchASCII( 90 parsed_command_line->AppendSwitchASCII(
89 switches::kProfilerTiming, switches::kProfilerTimingDisabledValue); 91 switches::kProfilerTiming, switches::kProfilerTimingDisabledValue);
90 } 92 }
91 } 93 }
92 94
93 } // namespace content 95 } // namespace content
OLDNEW
« no previous file with comments | « chrome/common/crash_keys.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