summaryrefslogtreecommitdiffstats
path: root/cc/base
diff options
context:
space:
mode:
authorbokan <bokan@chromium.org>2015-05-29 06:14:21 -0700
committerCommit bot <commit-bot@chromium.org>2015-05-29 13:14:48 +0000
commit57ebc05f9c1c509cc91fa8fabda1af858e0b4317 (patch)
tree01b5da20d4ce68221ce2245bc64c15ef75c6ae6c /cc/base
parent4216ee12a25790155533cf6f92e4108fd6887fb2 (diff)
downloadchromium_src-57ebc05f9c1c509cc91fa8fabda1af858e0b4317.zip
chromium_src-57ebc05f9c1c509cc91fa8fabda1af858e0b4317.tar.gz
chromium_src-57ebc05f9c1c509cc91fa8fabda1af858e0b4317.tar.bz2
Remove flag for virtual-viewport pinch to zoom and old paths.
Virtual viewport has been shipping by default for a while now and the old path is mostly removed in Blink so this flag doesn't do anything. There's also some branching based on this flag that we can now remove. This patch removes all dead code so it should have no effect. BUG=304869 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1155063003 Cr-Commit-Position: refs/heads/master@{#331955}
Diffstat (limited to 'cc/base')
-rw-r--r--cc/base/switches.cc4
-rw-r--r--cc/base/switches.h2
2 files changed, 0 insertions, 6 deletions
diff --git a/cc/base/switches.cc b/cc/base/switches.cc
index 02a516a..b95ac11 100644
--- a/cc/base/switches.cc
+++ b/cc/base/switches.cc
@@ -48,10 +48,6 @@ const char kCompositeToMailbox[] = "composite-to-mailbox";
const char kStrictLayerPropertyChangeChecking[] =
"strict-layer-property-change-checking";
-// Virtual viewport for fixed-position elements, scrollbars during pinch.
-const char kEnablePinchVirtualViewport[] = "enable-pinch-virtual-viewport";
-const char kDisablePinchVirtualViewport[] = "disable-pinch-virtual-viewport";
-
// Ensures that the draw properties computed via the property trees match those
// computed by CalcDrawProperties.
const char kEnablePropertyTreeVerification[] =
diff --git a/cc/base/switches.h b/cc/base/switches.h
index c7a809a..2d29341 100644
--- a/cc/base/switches.h
+++ b/cc/base/switches.h
@@ -26,8 +26,6 @@ CC_EXPORT extern const char kTopControlsShowThreshold[];
CC_EXPORT extern const char kSlowDownRasterScaleFactor[];
CC_EXPORT extern const char kCompositeToMailbox[];
CC_EXPORT extern const char kMaxUnusedResourceMemoryUsagePercentage[];
-CC_EXPORT extern const char kEnablePinchVirtualViewport[];
-CC_EXPORT extern const char kDisablePinchVirtualViewport[];
CC_EXPORT extern const char kStrictLayerPropertyChangeChecking[];
CC_EXPORT extern const char kEnablePropertyTreeVerification[];