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

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

Issue 11348353: Simplify pinch flags. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add early out if not compositing. Created 8 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 | 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/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 "content/public/browser/render_process_host.h" 10 #include "content/public/browser/render_process_host.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 max_render_process_count); 44 max_render_process_count);
45 } 45 }
46 46
47 parsed_command_line->AppendSwitch(switches::kForceCompositingMode); 47 parsed_command_line->AppendSwitch(switches::kForceCompositingMode);
48 parsed_command_line->AppendSwitch(switches::kAllowWebUICompositing); 48 parsed_command_line->AppendSwitch(switches::kAllowWebUICompositing);
49 parsed_command_line->AppendSwitch(switches::kEnableThreadedCompositing); 49 parsed_command_line->AppendSwitch(switches::kEnableThreadedCompositing);
50 parsed_command_line->AppendSwitch( 50 parsed_command_line->AppendSwitch(
51 switches::kEnableCompositingForFixedPosition); 51 switches::kEnableCompositingForFixedPosition);
52 52
53 parsed_command_line->AppendSwitch(switches::kEnableGestureTapHighlight); 53 parsed_command_line->AppendSwitch(switches::kEnableGestureTapHighlight);
54 parsed_command_line->AppendSwitch(switches::kEnablePinch); 54 parsed_command_line->AppendSwitch(switches::kEnableCssTransformPinch);
55 55
56 // Run the GPU service as a thread in the browser instead of as a 56 // Run the GPU service as a thread in the browser instead of as a
57 // standalone process. 57 // standalone process.
58 parsed_command_line->AppendSwitch(switches::kInProcessGPU); 58 parsed_command_line->AppendSwitch(switches::kInProcessGPU);
59 59
60 // Always use fixed layout and viewport tag. 60 // Always use fixed layout and viewport tag.
61 parsed_command_line->AppendSwitch(switches::kEnableFixedLayout); 61 parsed_command_line->AppendSwitch(switches::kEnableFixedLayout);
62 parsed_command_line->AppendSwitch(switches::kEnableViewport); 62 parsed_command_line->AppendSwitch(switches::kEnableViewport);
63 } 63 }
64 64
65 } // namespace content 65 } // namespace content
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/login_utils.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698