Commit d124db2b authored by wkorman@chromium.org's avatar wkorman@chromium.org

Allow turning on selection painting without selection gaps via window.internals.

BUG=474759

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

git-svn-id: svn://svn.chromium.org/blink/trunk@201943 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 3a4d52a5
......@@ -2498,6 +2498,11 @@ void Internals::setCapsLockState(bool enabled)
PlatformKeyboardEvent::OverrideCapsLockState::On : PlatformKeyboardEvent::OverrideCapsLockState::Off);
}
void Internals::setSelectionPaintingWithoutSelectionGapsEnabled(bool enabled)
{
RuntimeEnabledFeatures::setSelectionPaintingWithoutSelectionGapsEnabled(enabled);
}
bool Internals::setScrollbarVisibilityInScrollableArea(Node* node, bool visible)
{
LayoutObject* layoutObject = node->layoutObject();
......
......@@ -378,6 +378,8 @@ public:
void setCapsLockState(bool enabled);
void setSelectionPaintingWithoutSelectionGapsEnabled(bool);
bool setScrollbarVisibilityInScrollableArea(Node*, bool visible);
void forceRestrictIFramePermissions();
......
......@@ -343,6 +343,7 @@
ClientRectList outlineRects(Element element);
void setCapsLockState(boolean enabled);
void setSelectionPaintingWithoutSelectionGapsEnabled(boolean enabled);
// Returns whether the scrollbar was able to be shown or hidden; not all platforms
// support overlay scrollbars.
......
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