Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1649)

Unified Diff: Source/core/testing/Internals.cpp

Issue 1328293002: Allow turning on selection painting without selection gaps via window.internals. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/testing/Internals.cpp
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp
index 34a34af9dd054a0d727e68bffc30aa274472b138..fd5efade26661a4fe749f0ff6833c317dd2b1578 100644
--- a/Source/core/testing/Internals.cpp
+++ b/Source/core/testing/Internals.cpp
@@ -2475,6 +2475,11 @@ void Internals::setCapsLockState(bool enabled)
PlatformKeyboardEvent::OverrideCapsLockState::On : PlatformKeyboardEvent::OverrideCapsLockState::Off);
}
+void Internals::setSelectionPaintingWithoutSelectionGaps(bool enabled)
+{
+ RuntimeEnabledFeatures::setSelectionPaintingWithoutSelectionGapsEnabled(enabled);
+}
+
bool Internals::setScrollbarVisibilityInScrollableArea(Node* node, bool visible)
{
LayoutObject* layoutObject = node->layoutObject();

Powered by Google App Engine
This is Rietveld 408576698