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

Unified Diff: webkit/glue/webview_delegate.h

Issue 165293: Supports Gtk keyboard themes.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 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
« no previous file with comments | « webkit/glue/editor_client_impl.cc ('k') | webkit/glue/webview_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webview_delegate.h
===================================================================
--- webkit/glue/webview_delegate.h (revision 25695)
+++ webkit/glue/webview_delegate.h (working copy)
@@ -747,6 +747,19 @@
// Called when an item was added to the history
virtual void DidAddHistoryItem() { }
+ // The "CurrentKeyboardEvent" refers to the keyboard event passed to
+ // WebView's handleInputEvent method.
+ //
+ // This method is called in response to WebView's handleInputEvent() when
+ // the default action for the current keyboard event is not suppressed by the
+ // page, to give WebViewDelegate a chance to handle the keyboard event
+ // specially.
+ //
+ // Returns true if the keyboard event was handled by WebViewDelegate.
+ virtual bool HandleCurrentKeyboardEvent() {
+ return false;
+ }
+
WebViewDelegate() { }
protected:
« no previous file with comments | « webkit/glue/editor_client_impl.cc ('k') | webkit/glue/webview_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698