summaryrefslogtreecommitdiffstats
path: root/content/public/common
diff options
context:
space:
mode:
authorsadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-16 21:18:46 +0000
committersadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-16 21:18:46 +0000
commite42b1f81e35f636bac562d1158f481bdb9bddbe0 (patch)
tree8834b99a6904198f1641293f3a76ce51c78e8703 /content/public/common
parentf5b39b6f8c77c86c84f65d7e6195bc544c960c13 (diff)
downloadchromium_src-e42b1f81e35f636bac562d1158f481bdb9bddbe0.zip
chromium_src-e42b1f81e35f636bac562d1158f481bdb9bddbe0.tar.gz
chromium_src-e42b1f81e35f636bac562d1158f481bdb9bddbe0.tar.bz2
overscroll: Add experimental overscroll navigation support for aura.
This is hidden behind --edit-overscroll-history-navigation flag. BUG=160668 TBR=joi@chromium.org (for content/public/) Review URL: https://codereview.chromium.org/11416029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168291 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/public/common')
-rw-r--r--content/public/common/content_switches.cc4
-rw-r--r--content/public/common/content_switches.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/content/public/common/content_switches.cc b/content/public/common/content_switches.cc
index 45d6870..689e39e 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -748,4 +748,8 @@ const char kDisableFixedPositionCreatesStackingContext[]
// Defer image decoding in WebKit until painting.
const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding";
+// Enables history navigation in response to horizontal overscroll.
+const char kEnableOverscrollHistoryNavigation[] =
+ "enable-overscroll-history-navigation";
+
} // namespace switches
diff --git a/content/public/common/content_switches.h b/content/public/common/content_switches.h
index e59d15b..2f8bceb 100644
--- a/content/public/common/content_switches.h
+++ b/content/public/common/content_switches.h
@@ -238,6 +238,8 @@ CONTENT_EXPORT extern const char kFlingTapSuppressMaxGap[];
CONTENT_EXPORT extern const char kTestCompositor[];
#endif
+CONTENT_EXPORT extern const char kEnableOverscrollHistoryNavigation[];
+
} // namespace switches
#endif // CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_