| 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 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 322 const WebSize& tapArea) = 0; | 322 const WebSize& tapArea) = 0; |
| 323 | 323 |
| 324 // Copy to the clipboard the image located at a particular point in the | 324 // Copy to the clipboard the image located at a particular point in the |
| 325 // WebView (if there is such an image) | 325 // WebView (if there is such an image) |
| 326 virtual void copyImageAt(const WebPoint&) = 0; | 326 virtual void copyImageAt(const WebPoint&) = 0; |
| 327 | 327 |
| 328 // Save as the image located at a particular point in the | 328 // Save as the image located at a particular point in the |
| 329 // WebView (if there is such an image) | 329 // WebView (if there is such an image) |
| 330 virtual void saveImageAt(const WebPoint&) = 0; | 330 virtual void saveImageAt(const WebPoint&) = 0; |
| 331 | 331 |
| 332 // Reload the image located at a particular point in the |
| 333 // WebView (if there is such an image) |
| 334 virtual void reloadImageAt(const WebPoint&, bool bypass_cache) = 0; |
| 335 |
| 332 // Notifies the WebView that a drag has terminated. | 336 // Notifies the WebView that a drag has terminated. |
| 333 virtual void dragSourceEndedAt( | 337 virtual void dragSourceEndedAt( |
| 334 const WebPoint& clientPoint, const WebPoint& screenPoint, | 338 const WebPoint& clientPoint, const WebPoint& screenPoint, |
| 335 WebDragOperation operation) = 0; | 339 WebDragOperation operation) = 0; |
| 336 | 340 |
| 337 // Notfies the WebView that the system drag and drop operation has ended. | 341 // Notfies the WebView that the system drag and drop operation has ended. |
| 338 virtual void dragSourceSystemDragEnded() = 0; | 342 virtual void dragSourceSystemDragEnded() = 0; |
| 339 | 343 |
| 340 // Callback methods when a drag-and-drop operation is trying to drop | 344 // Callback methods when a drag-and-drop operation is trying to drop |
| 341 // something on the WebView. | 345 // something on the WebView. |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 470 // event gets generated/tested. | 474 // event gets generated/tested. |
| 471 virtual void forceNextWebGLContextCreationToFail() = 0; | 475 virtual void forceNextWebGLContextCreationToFail() = 0; |
| 472 | 476 |
| 473 protected: | 477 protected: |
| 474 ~WebView() {} | 478 ~WebView() {} |
| 475 }; | 479 }; |
| 476 | 480 |
| 477 } // namespace blink | 481 } // namespace blink |
| 478 | 482 |
| 479 #endif | 483 #endif |
| OLD | NEW |