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

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

Issue 38793007: Experimental viewport meta tag support for desktop (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | 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/command_line.h" 7 #include "base/command_line.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/strings/string_number_conversions.h" 9 #include "base/strings/string_number_conversions.h"
10 #include "cc/base/switches.h" 10 #include "cc/base/switches.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 parsed_command_line->AppendSwitch(switches::kEnableOverlayFullscreenVideo); 66 parsed_command_line->AppendSwitch(switches::kEnableOverlayFullscreenVideo);
67 parsed_command_line->AppendSwitch(switches::kEnableOverlayScrollbars); 67 parsed_command_line->AppendSwitch(switches::kEnableOverlayScrollbars);
68 parsed_command_line->AppendSwitch(switches::kEnableOverscrollNotifications); 68 parsed_command_line->AppendSwitch(switches::kEnableOverscrollNotifications);
69 69
70 // Run the GPU service as a thread in the browser instead of as a 70 // Run the GPU service as a thread in the browser instead of as a
71 // standalone process. 71 // standalone process.
72 parsed_command_line->AppendSwitch(switches::kInProcessGPU); 72 parsed_command_line->AppendSwitch(switches::kInProcessGPU);
73 parsed_command_line->AppendSwitch(switches::kDisableGpuShaderDiskCache); 73 parsed_command_line->AppendSwitch(switches::kDisableGpuShaderDiskCache);
74 74
75 parsed_command_line->AppendSwitch(switches::kEnableViewport); 75 parsed_command_line->AppendSwitch(switches::kEnableViewport);
76 parsed_command_line->AppendSwitch(switches::kEnableViewportMeta);
77 parsed_command_line->AppendSwitch(
78 switches::kMainFrameResizesAreOrientationChanges);
76 79
77 // Disable anti-aliasing. 80 // Disable anti-aliasing.
78 parsed_command_line->AppendSwitch( 81 parsed_command_line->AppendSwitch(
79 cc::switches::kDisableCompositedAntialiasing); 82 cc::switches::kDisableCompositedAntialiasing);
80 83
81 if (!plugin_descriptor.empty()) { 84 if (!plugin_descriptor.empty()) {
82 parsed_command_line->AppendSwitchNative( 85 parsed_command_line->AppendSwitchNative(
83 switches::kRegisterPepperPlugins, plugin_descriptor); 86 switches::kRegisterPepperPlugins, plugin_descriptor);
84 } 87 }
85 } 88 }
86 89
87 } // namespace content 90 } // namespace content
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/chrome_restart_request.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