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

Unified Diff: third_party/WebKit/public/web/WebFrameClient.h

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/public/web/WebFrameClient.h
diff --git a/third_party/WebKit/public/web/WebFrameClient.h b/third_party/WebKit/public/web/WebFrameClient.h
index 84a37f6b15762c1559f4ba6800868e2923db7c61..dc0b5f47f98e6053433835988f7678f2e015f95c 100644
--- a/third_party/WebKit/public/web/WebFrameClient.h
+++ b/third_party/WebKit/public/web/WebFrameClient.h
@@ -82,6 +82,7 @@ class WebExternalPopupMenu;
class WebExternalPopupMenuClient;
class WebFileChooserCompletion;
class WebLocalFrame;
+class WebKeyLockRequestCompletion;
class WebMediaPlayer;
class WebMediaPlayerClient;
class WebMediaPlayerEncryptedMediaClient;
@@ -760,6 +761,12 @@ class BLINK_EXPORT WebFrameClient {
virtual WebURL OverrideFlashEmbedWithHTML(const WebURL& url) {
return WebURL();
}
+
+ // System Keyboard Lock
+ virtual void RequestKeyLock(const WebVector<WebString>& key_codes,
+ WebKeyLockRequestCompletion* completion) {}
+
+ virtual void CancelKeyLock() {}
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698