| 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 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 359 // Data exchange ------------------------------------------------------- | 359 // Data exchange ------------------------------------------------------- |
| 360 | 360 |
| 361 // Do a hit test at given point and return the HitTestResult. | 361 // Do a hit test at given point and return the HitTestResult. |
| 362 virtual WebHitTestResult hitTestResultAt(const WebPoint&) = 0; | 362 virtual WebHitTestResult hitTestResultAt(const WebPoint&) = 0; |
| 363 | 363 |
| 364 // Do a hit test equivalent to what would be done for a GestureTap event | 364 // Do a hit test equivalent to what would be done for a GestureTap event |
| 365 // that has width/height corresponding to the supplied |tapArea|. | 365 // that has width/height corresponding to the supplied |tapArea|. |
| 366 virtual WebHitTestResult hitTestResultForTap(const WebPoint& tapPoint, | 366 virtual WebHitTestResult hitTestResultForTap(const WebPoint& tapPoint, |
| 367 const WebSize& tapArea) = 0; | 367 const WebSize& tapArea) = 0; |
| 368 | 368 |
| 369 // Copy to the clipboard the image located at a particular point in the | |
| 370 // WebView (if there is such an image) | |
| 371 virtual void copyImageAt(const WebPoint&) = 0; | |
| 372 | |
| 373 // Save as the image located at a particular point in the | |
| 374 // WebView (if there is such an image) | |
| 375 virtual void saveImageAt(const WebPoint&) = 0; | |
| 376 | |
| 377 // Notifies the WebView that a drag has terminated. | 369 // Notifies the WebView that a drag has terminated. |
| 378 virtual void dragSourceEndedAt( | 370 virtual void dragSourceEndedAt( |
| 379 const WebPoint& clientPoint, const WebPoint& screenPoint, | 371 const WebPoint& clientPoint, const WebPoint& screenPoint, |
| 380 WebDragOperation operation) = 0; | 372 WebDragOperation operation) = 0; |
| 381 | 373 |
| 382 // Notfies the WebView that the system drag and drop operation has ended. | 374 // Notfies the WebView that the system drag and drop operation has ended. |
| 383 virtual void dragSourceSystemDragEnded() = 0; | 375 virtual void dragSourceSystemDragEnded() = 0; |
| 384 | 376 |
| 385 // Callback methods when a drag-and-drop operation is trying to drop | 377 // Callback methods when a drag-and-drop operation is trying to drop |
| 386 // something on the WebView. | 378 // something on the WebView. |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 533 // completed. | 525 // completed. |
| 534 WebWidget* widget() { return this; } | 526 WebWidget* widget() { return this; } |
| 535 | 527 |
| 536 protected: | 528 protected: |
| 537 ~WebView() {} | 529 ~WebView() {} |
| 538 }; | 530 }; |
| 539 | 531 |
| 540 } // namespace blink | 532 } // namespace blink |
| 541 | 533 |
| 542 #endif | 534 #endif |
| OLD | NEW |