OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 | 90 |
91 // May return null. The WebEditingClient is passed additional events | 91 // May return null. The WebEditingClient is passed additional events |
92 // related to text editing in the page. | 92 // related to text editing in the page. |
93 virtual WebEditingClient* editingClient() = 0; | 93 virtual WebEditingClient* editingClient() = 0; |
94 | 94 |
95 // The client should perform spell-checking on the given word | 95 // The client should perform spell-checking on the given word |
96 // synchronously. Return a length of 0 if the word is not misspelled. | 96 // synchronously. Return a length of 0 if the word is not misspelled. |
97 virtual void spellCheck( | 97 virtual void spellCheck( |
98 const WebString& word, int& misspelledOffset, int& misspelledLength) = 0; | 98 const WebString& word, int& misspelledOffset, int& misspelledLength) = 0; |
99 | 99 |
100 // Request the text on the selection clipboard be sent back to the | |
101 // WebView so it can be inserted into the current focus area. This is | |
102 // only meaningful on platforms that have a selection clipboard (e.g., | |
103 // X-Windows). | |
104 virtual void pasteFromSelectionClipboard() = 0; | |
105 | |
106 | 100 |
107 // Dialogs ------------------------------------------------------------- | 101 // Dialogs ------------------------------------------------------------- |
108 | 102 |
109 // These methods should not return until the dialog has been closed. | 103 // These methods should not return until the dialog has been closed. |
110 virtual void runModalAlertDialog(const WebString& message) = 0; | 104 virtual void runModalAlertDialog(const WebString& message) = 0; |
111 virtual bool runModalConfirmDialog(const WebString& message) = 0; | 105 virtual bool runModalConfirmDialog(const WebString& message) = 0; |
112 virtual bool runModalPromptDialog( | 106 virtual bool runModalPromptDialog( |
113 const WebString& message, const WebString& defaultValue, | 107 const WebString& message, const WebString& defaultValue, |
114 WebString* actualValue) = 0; | 108 WebString* actualValue) = 0; |
115 virtual bool runModalBeforeUnloadDialog(const WebString& message) = 0; | 109 virtual bool runModalBeforeUnloadDialog(const WebString& message) = 0; |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 // QueryFormFieldAutofill | 164 // QueryFormFieldAutofill |
171 // RemoveStoredAutofillEntry | 165 // RemoveStoredAutofillEntry |
172 // ShowModalHTMLDialog <-- we should be able to kill this | 166 // ShowModalHTMLDialog <-- we should be able to kill this |
173 // GetWebDevToolsAgentDelegate | 167 // GetWebDevToolsAgentDelegate |
174 // WasOpenedByUserGesture | 168 // WasOpenedByUserGesture |
175 }; | 169 }; |
176 | 170 |
177 } // namespace WebKit | 171 } // namespace WebKit |
178 | 172 |
179 #endif | 173 #endif |
OLD | NEW |