Commit eb2df272 authored by jochen@chromium.org's avatar jochen@chromium.org

Expose showModalDialog runtime flag via WebRuntimeFeatures

BUG=none
R=ojan@chromium.org,atwilson@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176037 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent dd5d25c4
...@@ -285,4 +285,9 @@ void WebRuntimeFeatures::enableLayerSquashing(bool enable) ...@@ -285,4 +285,9 @@ void WebRuntimeFeatures::enableLayerSquashing(bool enable)
RuntimeEnabledFeatures::setLayerSquashingEnabled(enable); RuntimeEnabledFeatures::setLayerSquashingEnabled(enable);
} }
void WebRuntimeFeatures::enableShowModalDialog(bool enable)
{
RuntimeEnabledFeatures::setShowModalDialogEnabled(enable);
}
} // namespace blink } // namespace blink
...@@ -130,6 +130,8 @@ public: ...@@ -130,6 +130,8 @@ public:
BLINK_EXPORT static void enableLayerSquashing(bool); BLINK_EXPORT static void enableLayerSquashing(bool);
BLINK_EXPORT static void enableShowModalDialog(bool);
private: private:
WebRuntimeFeatures(); WebRuntimeFeatures();
}; };
......
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