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

Unified Diff: third_party/WebKit/Source/web/WebRuntimeFeatures.cpp

Issue 2805763004: [System-Keyboard-Lock] Forward navigator functions to RenderFrameHost (Closed)
Patch Set: Resolve review comments Created 3 years, 8 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: third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
diff --git a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
index 596427eb5e27c62eb70d0196f076068c801b561f..8e0962b40a55c2e81fb75786d729ee11198cf0ac 100644
--- a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
+++ b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
@@ -392,4 +392,8 @@ void WebRuntimeFeatures::EnableMediaControlsOverlayPlayButton(bool enable) {
RuntimeEnabledFeatures::setMediaControlsOverlayPlayButtonEnabled(enable);
}
+void WebRuntimeFeatures::EnableKeyboardLock(bool enable) {
+ RuntimeEnabledFeatures::setKeyboardLockEnabled(enable);
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698