| 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 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 312 // Performs the specified plugin action on the node at the given location. | 312 // Performs the specified plugin action on the node at the given location. |
| 313 virtual void performPluginAction( | 313 virtual void performPluginAction( |
| 314 const WebPluginAction&, const WebPoint& location) = 0; | 314 const WebPluginAction&, const WebPoint& location) = 0; |
| 315 | 315 |
| 316 | 316 |
| 317 // Data exchange ------------------------------------------------------- | 317 // Data exchange ------------------------------------------------------- |
| 318 | 318 |
| 319 // Do a hit test at given point and return the HitTestResult. | 319 // Do a hit test at given point and return the HitTestResult. |
| 320 virtual WebHitTestResult hitTestResultAt(const WebPoint&) = 0; | 320 virtual WebHitTestResult hitTestResultAt(const WebPoint&) = 0; |
| 321 | 321 |
| 322 // Do a hit test equivalent to what would be done for a GestureTap event |
| 323 // that has width/height corresponding to the supplied |tapArea|. |
| 324 virtual WebHitTestResult hitTestResultForTap(const WebPoint& tapPoint, |
| 325 const WebSize& tapArea) = 0; |
| 326 |
| 322 // Copy to the clipboard the image located at a particular point in the | 327 // Copy to the clipboard the image located at a particular point in the |
| 323 // WebView (if there is such an image) | 328 // WebView (if there is such an image) |
| 324 virtual void copyImageAt(const WebPoint&) = 0; | 329 virtual void copyImageAt(const WebPoint&) = 0; |
| 325 | 330 |
| 326 // Save as the image located at a particular point in the | 331 // Save as the image located at a particular point in the |
| 327 // WebView (if there is such an image) | 332 // WebView (if there is such an image) |
| 328 virtual void saveImageAt(const WebPoint&) = 0; | 333 virtual void saveImageAt(const WebPoint&) = 0; |
| 329 | 334 |
| 330 // Notifies the WebView that a drag has terminated. | 335 // Notifies the WebView that a drag has terminated. |
| 331 virtual void dragSourceEndedAt( | 336 virtual void dragSourceEndedAt( |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 488 | 493 |
| 489 // Testing functionality for TestRunner --------------------------------- | 494 // Testing functionality for TestRunner --------------------------------- |
| 490 | 495 |
| 491 protected: | 496 protected: |
| 492 ~WebView() {} | 497 ~WebView() {} |
| 493 }; | 498 }; |
| 494 | 499 |
| 495 } // namespace blink | 500 } // namespace blink |
| 496 | 501 |
| 497 #endif | 502 #endif |
| OLD | NEW |