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

Unified Diff: third_party/WebKit/Source/core/page/ChromeClient.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/Source/core/page/ChromeClient.h
diff --git a/third_party/WebKit/Source/core/page/ChromeClient.h b/third_party/WebKit/Source/core/page/ChromeClient.h
index 6587f1dfa15a243b598a33068af351df2482907d..8adbf7a9e61f841ee9ffdee68b9ab88db7c1441f 100644
--- a/third_party/WebKit/Source/core/page/ChromeClient.h
+++ b/third_party/WebKit/Source/core/page/ChromeClient.h
@@ -68,6 +68,7 @@ class HTMLSelectElement;
class HitTestResult;
class IntRect;
class KeyboardEvent;
+class KeyboardLocker;
class LocalFrame;
class Node;
class Page;
@@ -352,6 +353,9 @@ class CORE_EXPORT ChromeClient : public HostWindow {
virtual WebLayerTreeView* GetWebLayerTreeView(LocalFrame*) { return nullptr; }
+ virtual void RequestKeyLock(LocalFrame*, PassRefPtr<KeyboardLocker>) = 0;
+ virtual void CancelKeyLock(LocalFrame*) = 0;
+
DECLARE_TRACE();
protected:

Powered by Google App Engine
This is Rietveld 408576698