| 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 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 352 | 352 |
| 353 // Performs the specified media player action on the node at the given | 353 // Performs the specified media player action on the node at the given |
| 354 // location. | 354 // location. |
| 355 virtual void performMediaPlayerAction(const WebMediaPlayerAction&, | 355 virtual void performMediaPlayerAction(const WebMediaPlayerAction&, |
| 356 const WebPoint& location) = 0; | 356 const WebPoint& location) = 0; |
| 357 | 357 |
| 358 // Performs the specified plugin action on the node at the given location. | 358 // Performs the specified plugin action on the node at the given location. |
| 359 virtual void performPluginAction(const WebPluginAction&, | 359 virtual void performPluginAction(const WebPluginAction&, |
| 360 const WebPoint& location) = 0; | 360 const WebPoint& location) = 0; |
| 361 | 361 |
| 362 // Notifies WebView when audio is started or stopped. | |
| 363 virtual void audioStateChanged(bool isAudioPlaying) = 0; | |
| 364 | |
| 365 // Data exchange ------------------------------------------------------- | 362 // Data exchange ------------------------------------------------------- |
| 366 | 363 |
| 367 // Do a hit test at given point and return the HitTestResult. | 364 // Do a hit test at given point and return the HitTestResult. |
| 368 virtual WebHitTestResult hitTestResultAt(const WebPoint&) = 0; | 365 virtual WebHitTestResult hitTestResultAt(const WebPoint&) = 0; |
| 369 | 366 |
| 370 // Do a hit test equivalent to what would be done for a GestureTap event | 367 // Do a hit test equivalent to what would be done for a GestureTap event |
| 371 // that has width/height corresponding to the supplied |tapArea|. | 368 // that has width/height corresponding to the supplied |tapArea|. |
| 372 virtual WebHitTestResult hitTestResultForTap(const WebPoint& tapPoint, | 369 virtual WebHitTestResult hitTestResultForTap(const WebPoint& tapPoint, |
| 373 const WebSize& tapArea) = 0; | 370 const WebSize& tapArea) = 0; |
| 374 | 371 |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 534 // completed. | 531 // completed. |
| 535 WebWidget* widget() { return this; } | 532 WebWidget* widget() { return this; } |
| 536 | 533 |
| 537 protected: | 534 protected: |
| 538 ~WebView() {} | 535 ~WebView() {} |
| 539 }; | 536 }; |
| 540 | 537 |
| 541 } // namespace blink | 538 } // namespace blink |
| 542 | 539 |
| 543 #endif | 540 #endif |
| OLD | NEW |