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

Side by Side Diff: content/public/common/content_switches.cc

Issue 10808052: Tidy up Android's is-tablet functionality. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: TabletUi -> TabletUI Created 8 years, 5 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/public/common/content_switches.h" 5 #include "content/public/common/content_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // By default, file:// URIs cannot read other file:// URIs. This is an 9 // By default, file:// URIs cannot read other file:// URIs. This is an
10 // override for developers who need the old behavior for testing. 10 // override for developers who need the old behavior for testing.
(...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after
627 627
628 // The prefix used when starting the zygote process. (i.e. 'gdb --args') 628 // The prefix used when starting the zygote process. (i.e. 'gdb --args')
629 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix"; 629 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix";
630 630
631 // Causes the process to run as a renderer zygote. 631 // Causes the process to run as a renderer zygote.
632 const char kZygoteProcess[] = "zygote"; 632 const char kZygoteProcess[] = "zygote";
633 633
634 // Enables moving cursor by word in visual order. 634 // Enables moving cursor by word in visual order.
635 const char kEnableVisualWordMovement[] = "enable-visual-word-movement"; 635 const char kEnableVisualWordMovement[] = "enable-visual-word-movement";
636 636
637 #if defined(OS_ANDROID)
638 // Set when Chromium should use a mobile user agent.
639 const char kUseMobileUserAgent[] = "use-mobile-user-agent";
640 #endif
641
637 #if defined(OS_POSIX) && !defined(OS_MACOSX) 642 #if defined(OS_POSIX) && !defined(OS_MACOSX)
638 // Specify the amount the trackpad should scroll by. 643 // Specify the amount the trackpad should scroll by.
639 const char kScrollPixels[] = "scroll-pixels"; 644 const char kScrollPixels[] = "scroll-pixels";
640 #endif 645 #endif
641 646
642 #if defined(OS_MACOSX) || defined(OS_WIN) 647 #if defined(OS_MACOSX) || defined(OS_WIN)
643 // Use the system SSL library (Secure Transport on Mac, SChannel on Windows) 648 // Use the system SSL library (Secure Transport on Mac, SChannel on Windows)
644 // instead of NSS for SSL. 649 // instead of NSS for SSL.
645 const char kUseSystemSSL[] = "use-system-ssl"; 650 const char kUseSystemSSL[] = "use-system-ssl";
646 #endif 651 #endif
(...skipping 19 matching lines...) Expand all
666 const char kDefaultTileWidth[] = "default-tile-width"; 671 const char kDefaultTileWidth[] = "default-tile-width";
667 const char kDefaultTileHeight[] = "default-tile-height"; 672 const char kDefaultTileHeight[] = "default-tile-height";
668 673
669 // Sets the width and height above which a composited layer will get tiled. 674 // Sets the width and height above which a composited layer will get tiled.
670 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; 675 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width";
671 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; 676 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height";
672 677
673 const char kFixedPositionCreatesStackingContext[] 678 const char kFixedPositionCreatesStackingContext[]
674 = "fixed-position-creates-stacking-context"; 679 = "fixed-position-creates-stacking-context";
675 } // namespace switches 680 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698