OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (C) 2009, 2010, 2011, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2009, 2010, 2011, 2012 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
42 #include "WebWidget.h" | 42 #include "WebWidget.h" |
43 | 43 |
44 namespace blink { | 44 namespace blink { |
45 | 45 |
46 class WebAXObject; | 46 class WebAXObject; |
47 class WebAutofillClient; | 47 class WebAutofillClient; |
48 class WebCredentialManagerClient; | 48 class WebCredentialManagerClient; |
49 class WebDragData; | 49 class WebDragData; |
50 class WebFrame; | 50 class WebFrame; |
51 class WebHitTestResult; | 51 class WebHitTestResult; |
52 class WebNode; | |
52 class WebPageOverlay; | 53 class WebPageOverlay; |
53 class WebPrerendererClient; | 54 class WebPrerendererClient; |
54 class WebSettings; | 55 class WebSettings; |
55 class WebSpellCheckClient; | 56 class WebSpellCheckClient; |
56 class WebString; | 57 class WebString; |
57 class WebViewClient; | 58 class WebViewClient; |
58 struct WebActiveWheelFlingParameters; | 59 struct WebActiveWheelFlingParameters; |
59 struct WebDeviceEmulationParams; | 60 struct WebDeviceEmulationParams; |
60 struct WebMediaPlayerAction; | 61 struct WebMediaPlayerAction; |
61 struct WebPluginAction; | 62 struct WebPluginAction; |
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
322 const WebSize& tapArea) = 0; | 323 const WebSize& tapArea) = 0; |
323 | 324 |
324 // Copy to the clipboard the image located at a particular point in the | 325 // Copy to the clipboard the image located at a particular point in the |
325 // WebView (if there is such an image) | 326 // WebView (if there is such an image) |
326 virtual void copyImageAt(const WebPoint&) = 0; | 327 virtual void copyImageAt(const WebPoint&) = 0; |
327 | 328 |
328 // Save as the image located at a particular point in the | 329 // Save as the image located at a particular point in the |
329 // WebView (if there is such an image) | 330 // WebView (if there is such an image) |
330 virtual void saveImageAt(const WebPoint&) = 0; | 331 virtual void saveImageAt(const WebPoint&) = 0; |
331 | 332 |
333 // Reload the image located at a particular point in the | |
334 // WebView (if there is such an image) | |
335 virtual void reloadImageAt(const WebNode&) = 0; | |
Nate Chapin
2015/05/05 22:03:49
This should probably just be reloadImage() now. It
megjablon
2015/05/06 18:33:02
Done.
| |
336 | |
332 // Notifies the WebView that a drag has terminated. | 337 // Notifies the WebView that a drag has terminated. |
333 virtual void dragSourceEndedAt( | 338 virtual void dragSourceEndedAt( |
334 const WebPoint& clientPoint, const WebPoint& screenPoint, | 339 const WebPoint& clientPoint, const WebPoint& screenPoint, |
335 WebDragOperation operation) = 0; | 340 WebDragOperation operation) = 0; |
336 | 341 |
337 // Notfies the WebView that the system drag and drop operation has ended. | 342 // Notfies the WebView that the system drag and drop operation has ended. |
338 virtual void dragSourceSystemDragEnded() = 0; | 343 virtual void dragSourceSystemDragEnded() = 0; |
339 | 344 |
340 // Callback methods when a drag-and-drop operation is trying to drop | 345 // Callback methods when a drag-and-drop operation is trying to drop |
341 // something on the WebView. | 346 // something on the WebView. |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
470 // event gets generated/tested. | 475 // event gets generated/tested. |
471 virtual void forceNextWebGLContextCreationToFail() = 0; | 476 virtual void forceNextWebGLContextCreationToFail() = 0; |
472 | 477 |
473 protected: | 478 protected: |
474 ~WebView() {} | 479 ~WebView() {} |
475 }; | 480 }; |
476 | 481 |
477 } // namespace blink | 482 } // namespace blink |
478 | 483 |
479 #endif | 484 #endif |
OLD | NEW |