Navigation transitions: Expose navigation transitions feature to WebRuntimeFeatures.

Thought it would be nice to keep this feature behind the experimental flag, but be able to turn it on via a finch trial from chrome.

Will be followed by: https://codereview.chromium.org/389583004/

Design doc: https://docs.google.com/a/chromium.org/document/d/17jg1RRL3RI969cLwbKBIcoGDsPwqaEdBxafGNYGwiY4/edit# 
Implementation details: https://docs.google.com/a/chromium.org/document/d/1kREPtFJaeLoDKwrfmrYTD7DHCdxX1RzFBga2gNY8lyE/edit#heading=h.bng2kpmyvxq5
BUG=370696

Review URL: https://codereview.chromium.org/386943009

git-svn-id: svn://svn.chromium.org/blink/trunk@178575 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 2da77fe5
...@@ -160,6 +160,11 @@ void WebRuntimeFeatures::enableNavigatorContentUtils(bool enable) ...@@ -160,6 +160,11 @@ void WebRuntimeFeatures::enableNavigatorContentUtils(bool enable)
RuntimeEnabledFeatures::setNavigatorContentUtilsEnabled(enable); RuntimeEnabledFeatures::setNavigatorContentUtilsEnabled(enable);
} }
void WebRuntimeFeatures::enableNavigationTransitions(bool enable)
{
RuntimeEnabledFeatures::setNavigationTransitionsEnabled(enable);
}
void WebRuntimeFeatures::enableOrientationEvent(bool enable) void WebRuntimeFeatures::enableOrientationEvent(bool enable)
{ {
RuntimeEnabledFeatures::setOrientationEventEnabled(enable); RuntimeEnabledFeatures::setOrientationEventEnabled(enable);
......
...@@ -80,6 +80,8 @@ public: ...@@ -80,6 +80,8 @@ public:
BLINK_EXPORT static void enableNavigatorContentUtils(bool); BLINK_EXPORT static void enableNavigatorContentUtils(bool);
BLINK_EXPORT static void enableNavigationTransitions(bool);
BLINK_EXPORT static void enableOrientationEvent(bool); BLINK_EXPORT static void enableOrientationEvent(bool);
BLINK_EXPORT static void enablePagePopup(bool); BLINK_EXPORT static void enablePagePopup(bool);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment