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

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

Issue 2287803002: Add support for edit commands in OOPIFs. (Closed)
Patch Set: Cleanup Created 4 years, 4 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 bc6314859ce7219f13cd1f6e9371f2a55a510c40..72ac9dcb419e7dde49724def0add4c709a2ffe53 100644
--- a/third_party/WebKit/public/web/WebFrameClient.h
+++ b/third_party/WebKit/public/web/WebFrameClient.h
@@ -399,6 +399,14 @@ public:
// operations.
virtual void didChangeSelection(bool isSelectionEmpty) { }
+ // This method is called in response to handleInputEvent() when the
+ // default action for the current keyboard event is not suppressed by the
+ // page, to give the embedder a chance to handle the keyboard event
+ // specially.
+ //
+ // Returns true if the keyboard event was handled by the embedder,
+ // indicating that the default action should be suppressed.
+ virtual bool handleCurrentKeyboardEvent() { return false; }
// Dialogs -------------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698