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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/glue/editor_client_impl.cc ('k') | webkit/glue/webview_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // WebCore provides hooks for several kinds of functionality, allowing separate 5 // WebCore provides hooks for several kinds of functionality, allowing separate
6 // classes termed "delegates" to receive notifications (in the form of direct 6 // classes termed "delegates" to receive notifications (in the form of direct
7 // function calls) when certain events are about to occur or have just occurred. 7 // function calls) when certain events are about to occur or have just occurred.
8 // In some cases, the delegate implements the needed functionality; in others, 8 // In some cases, the delegate implements the needed functionality; in others,
9 // the delegate has some control over the behavior but doesn't actually 9 // the delegate has some control over the behavior but doesn't actually
10 // implement it. For example, the UI delegate is responsible for showing a 10 // implement it. For example, the UI delegate is responsible for showing a
(...skipping 729 matching lines...) Expand 10 before | Expand all | Expand 10 after
740 return std::wstring(); 740 return std::wstring();
741 } 741 }
742 742
743 // Asks the user to print the page or a specific frame. Called in response to 743 // Asks the user to print the page or a specific frame. Called in response to
744 // a window.print() call. 744 // a window.print() call.
745 virtual void ScriptedPrint(WebKit::WebFrame* frame) { } 745 virtual void ScriptedPrint(WebKit::WebFrame* frame) { }
746 746
747 // Called when an item was added to the history 747 // Called when an item was added to the history
748 virtual void DidAddHistoryItem() { } 748 virtual void DidAddHistoryItem() { }
749 749
750 // The "CurrentKeyboardEvent" refers to the keyboard event passed to
751 // WebView's handleInputEvent method.
752 //
753 // This method is called in response to WebView's handleInputEvent() when
754 // the default action for the current keyboard event is not suppressed by the
755 // page, to give WebViewDelegate a chance to handle the keyboard event
756 // specially.
757 //
758 // Returns true if the keyboard event was handled by WebViewDelegate.
759 virtual bool HandleCurrentKeyboardEvent() {
760 return false;
761 }
762
750 WebViewDelegate() { } 763 WebViewDelegate() { }
751 764
752 protected: 765 protected:
753 ~WebViewDelegate() { } 766 ~WebViewDelegate() { }
754 }; 767 };
755 768
756 #endif // WEBKIT_GLUE_WEBVIEW_DELEGATE_H_ 769 #endif // WEBKIT_GLUE_WEBVIEW_DELEGATE_H_
OLDNEW
« 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