| 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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 virtual void showContextMenu(WebFrame*, const WebContextMenuData&) = 0; | 197 virtual void showContextMenu(WebFrame*, const WebContextMenuData&) = 0; |
| 198 | 198 |
| 199 // UI ------------------------------------------------------------------ | 199 // UI ------------------------------------------------------------------ |
| 200 | 200 |
| 201 // Called when script modifies window.status | 201 // Called when script modifies window.status |
| 202 virtual void setStatusText(const WebString&) = 0; | 202 virtual void setStatusText(const WebString&) = 0; |
| 203 | 203 |
| 204 // Called when hovering over an anchor with the given URL. | 204 // Called when hovering over an anchor with the given URL. |
| 205 virtual void setMouseOverURL(const WebURL&) = 0; | 205 virtual void setMouseOverURL(const WebURL&) = 0; |
| 206 | 206 |
| 207 // Called when keyboard focus switches to an anchor with the given URL. |
| 208 virtual void setKeyboardFocusURL(const WebURL&) = 0; |
| 209 |
| 207 // Called when a tooltip should be shown at the current cursor position. | 210 // Called when a tooltip should be shown at the current cursor position. |
| 208 virtual void setToolTipText(const WebString&, WebTextDirection hint) = 0; | 211 virtual void setToolTipText(const WebString&, WebTextDirection hint) = 0; |
| 209 | 212 |
| 210 // Called when a context menu should be shown at the current cursor position. | 213 // Called when a context menu should be shown at the current cursor position. |
| 211 // FIXME hook this up | 214 // FIXME hook this up |
| 212 //virtual void showContextMenu(const WebContextMenuInfo&) = 0; | 215 //virtual void showContextMenu(const WebContextMenuInfo&) = 0; |
| 213 | 216 |
| 214 // Called when a drag-n-drop operation should begin. | 217 // Called when a drag-n-drop operation should begin. |
| 215 virtual void startDragging( | 218 virtual void startDragging( |
| 216 const WebPoint& from, const WebDragData&, WebDragOperationsMask) = 0; | 219 const WebPoint& from, const WebDragData&, WebDragOperationsMask) = 0; |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 271 virtual void removeAutofillSuggestions(const WebString& name, | 274 virtual void removeAutofillSuggestions(const WebString& name, |
| 272 const WebString& value) = 0; | 275 const WebString& value) = 0; |
| 273 | 276 |
| 274 protected: | 277 protected: |
| 275 ~WebViewClient() { } | 278 ~WebViewClient() { } |
| 276 }; | 279 }; |
| 277 | 280 |
| 278 } // namespace WebKit | 281 } // namespace WebKit |
| 279 | 282 |
| 280 #endif | 283 #endif |
| OLD | NEW |