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

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

Issue 11818039: Reapply "Add a switch to enable composited scrolling for frames and enable it on Android" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 | « no previous file | content/browser/web_contents/web_contents_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/string_number_conversions.h" 7 #include "base/string_number_conversions.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 "cc/switches.h" 10 #include "cc/switches.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 content::RenderProcessHost::SetMaxRendererProcessCount( 44 content::RenderProcessHost::SetMaxRendererProcessCount(
45 max_render_process_count); 45 max_render_process_count);
46 } 46 }
47 47
48 parsed_command_line->AppendSwitch(switches::kForceCompositingMode); 48 parsed_command_line->AppendSwitch(switches::kForceCompositingMode);
49 parsed_command_line->AppendSwitch(switches::kAllowWebUICompositing); 49 parsed_command_line->AppendSwitch(switches::kAllowWebUICompositing);
50 parsed_command_line->AppendSwitch(switches::kEnableThreadedCompositing); 50 parsed_command_line->AppendSwitch(switches::kEnableThreadedCompositing);
51 parsed_command_line->AppendSwitch( 51 parsed_command_line->AppendSwitch(
52 switches::kEnableCompositingForFixedPosition); 52 switches::kEnableCompositingForFixedPosition);
53 parsed_command_line->AppendSwitch(switches::kEnableAcceleratedOverflowScroll); 53 parsed_command_line->AppendSwitch(switches::kEnableAcceleratedOverflowScroll);
54 parsed_command_line->AppendSwitch(
55 switches::kEnableAcceleratedScrollableFrames);
56 parsed_command_line->AppendSwitch(
57 switches::kEnableCompositedScrollingForFrames);
54 58
55 parsed_command_line->AppendSwitch(switches::kEnableGestureTapHighlight); 59 parsed_command_line->AppendSwitch(switches::kEnableGestureTapHighlight);
56 parsed_command_line->AppendSwitch(switches::kEnableCssTransformPinch); 60 parsed_command_line->AppendSwitch(switches::kEnableCssTransformPinch);
57 61
58 // Run the GPU service as a thread in the browser instead of as a 62 // Run the GPU service as a thread in the browser instead of as a
59 // standalone process. 63 // standalone process.
60 parsed_command_line->AppendSwitch(switches::kInProcessGPU); 64 parsed_command_line->AppendSwitch(switches::kInProcessGPU);
61 65
62 // Always use fixed layout and viewport tag. 66 // Always use fixed layout and viewport tag.
63 parsed_command_line->AppendSwitch(switches::kEnableFixedLayout); 67 parsed_command_line->AppendSwitch(switches::kEnableFixedLayout);
64 parsed_command_line->AppendSwitch(switches::kEnableViewport); 68 parsed_command_line->AppendSwitch(switches::kEnableViewport);
65 69
66 // FIXME(aelias): Commented out due to flaky tests. 70 // FIXME(aelias): Commented out due to flaky tests.
67 // parsed_command_line->AppendSwitch( 71 // parsed_command_line->AppendSwitch(
68 // cc::switches::kEnableCompositorFrameMessage); 72 // cc::switches::kEnableCompositorFrameMessage);
69 } 73 }
70 74
71 } // namespace content 75 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698