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