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

Side by Side Diff: webkit/glue/webview_delegate.h

Issue 174367: Change the ChromiumPasteboard to have a notion of an alternate clipboard... (Closed) Base URL: svn://chrome-svn/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/webkit_glue.h ('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 701 matching lines...) Expand 10 before | Expand all | Expand 10 after
712 // InspectorClient --------------------------------------------------------- 712 // InspectorClient ---------------------------------------------------------
713 713
714 virtual void UpdateInspectorSettings(const std::wstring& raw_settings) { } 714 virtual void UpdateInspectorSettings(const std::wstring& raw_settings) { }
715 715
716 // DevTools ---------------------------------------------------------------- 716 // DevTools ----------------------------------------------------------------
717 717
718 virtual WebDevToolsAgentDelegate* GetWebDevToolsAgentDelegate() { 718 virtual WebDevToolsAgentDelegate* GetWebDevToolsAgentDelegate() {
719 return NULL; 719 return NULL;
720 } 720 }
721 721
722 // Selection clipboard -----------------------------------------------------
723
724 // Request the text on the selection clipboard be sent back to the webview
725 // so it can be inserted into the current focus area. In response to this call
726 // the delegate should get the text and send it to the WebView via
727 // InsertText().
728 virtual void PasteFromSelectionClipboard() { }
729
730 // Editor Client ----------------------------------------------------------- 722 // Editor Client -----------------------------------------------------------
731 723
732 // Returns true if the word is spelled correctly. The word may begin or end 724 // Returns true if the word is spelled correctly. The word may begin or end
733 // with whitespace or punctuation, so the implementor should be sure to handle 725 // with whitespace or punctuation, so the implementor should be sure to handle
734 // these cases. 726 // these cases.
735 // 727 //
736 // If the word is misspelled (returns false), the given first and last 728 // If the word is misspelled (returns false), the given first and last
737 // indices (inclusive) will be filled with the offsets of the boundary of the 729 // indices (inclusive) will be filled with the offsets of the boundary of the
738 // word within the given buffer. The out pointers must be specified. If the 730 // word within the given buffer. The out pointers must be specified. If the
739 // word is correctly spelled (returns true), they will be set to (0,0). 731 // word is correctly spelled (returns true), they will be set to (0,0).
(...skipping 15 matching lines...) Expand all
755 // Called when an item was added to the history 747 // Called when an item was added to the history
756 virtual void DidAddHistoryItem() { } 748 virtual void DidAddHistoryItem() { }
757 749
758 WebViewDelegate() { } 750 WebViewDelegate() { }
759 751
760 protected: 752 protected:
761 ~WebViewDelegate() { } 753 ~WebViewDelegate() { }
762 }; 754 };
763 755
764 #endif // WEBKIT_GLUE_WEBVIEW_DELEGATE_H_ 756 #endif // WEBKIT_GLUE_WEBVIEW_DELEGATE_H_
OLDNEW
« no previous file with comments | « webkit/glue/webkit_glue.h ('k') | webkit/glue/webview_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698