| 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 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 331 | 331 |
| 332 // Data exchange ------------------------------------------------------- | 332 // Data exchange ------------------------------------------------------- |
| 333 | 333 |
| 334 // Do a hit test at given point and return the HitTestResult. | 334 // Do a hit test at given point and return the HitTestResult. |
| 335 virtual WebHitTestResult hitTestResultAt(const WebPoint&) = 0; | 335 virtual WebHitTestResult hitTestResultAt(const WebPoint&) = 0; |
| 336 | 336 |
| 337 // Copy to the clipboard the image located at a particular point in the | 337 // Copy to the clipboard the image located at a particular point in the |
| 338 // WebView (if there is such an image) | 338 // WebView (if there is such an image) |
| 339 virtual void copyImageAt(const WebPoint&) = 0; | 339 virtual void copyImageAt(const WebPoint&) = 0; |
| 340 | 340 |
| 341 // Save as the image located at a particular point in the |
| 342 // WebView (if there is such an image) |
| 343 virtual void saveImageAt(const WebPoint&) = 0; |
| 344 |
| 341 // Notifies the WebView that a drag has terminated. | 345 // Notifies the WebView that a drag has terminated. |
| 342 virtual void dragSourceEndedAt( | 346 virtual void dragSourceEndedAt( |
| 343 const WebPoint& clientPoint, const WebPoint& screenPoint, | 347 const WebPoint& clientPoint, const WebPoint& screenPoint, |
| 344 WebDragOperation operation) = 0; | 348 WebDragOperation operation) = 0; |
| 345 | 349 |
| 346 // Notfies the WebView that the system drag and drop operation has ended. | 350 // Notfies the WebView that the system drag and drop operation has ended. |
| 347 virtual void dragSourceSystemDragEnded() = 0; | 351 virtual void dragSourceSystemDragEnded() = 0; |
| 348 | 352 |
| 349 // Callback methods when a drag-and-drop operation is trying to drop | 353 // Callback methods when a drag-and-drop operation is trying to drop |
| 350 // something on the WebView. | 354 // something on the WebView. |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 501 | 505 |
| 502 // Testing functionality for TestRunner --------------------------------- | 506 // Testing functionality for TestRunner --------------------------------- |
| 503 | 507 |
| 504 protected: | 508 protected: |
| 505 ~WebView() {} | 509 ~WebView() {} |
| 506 }; | 510 }; |
| 507 | 511 |
| 508 } // namespace blink | 512 } // namespace blink |
| 509 | 513 |
| 510 #endif | 514 #endif |
| OLD | NEW |