OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 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 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
443 | 443 |
444 // Called to dispatch a load event for this frame in the FrameOwner of an | 444 // Called to dispatch a load event for this frame in the FrameOwner of an |
445 // out-of-process parent frame. | 445 // out-of-process parent frame. |
446 virtual void dispatchLoad() {} | 446 virtual void dispatchLoad() {} |
447 | 447 |
448 // Returns the effective connection type when the frame was fetched. | 448 // Returns the effective connection type when the frame was fetched. |
449 virtual WebEffectiveConnectionType getEffectiveConnectionType() { | 449 virtual WebEffectiveConnectionType getEffectiveConnectionType() { |
450 return WebEffectiveConnectionType::TypeUnknown; | 450 return WebEffectiveConnectionType::TypeUnknown; |
451 } | 451 } |
452 | 452 |
| 453 // PlzNavigate |
| 454 // Called to abort a navigation that is being handled by the browser process. |
| 455 virtual void abortClientNavigation() {} |
| 456 |
453 // Push API --------------------------------------------------- | 457 // Push API --------------------------------------------------- |
454 | 458 |
455 // Used to access the embedder for the Push API. | 459 // Used to access the embedder for the Push API. |
456 virtual WebPushClient* pushClient() { return 0; } | 460 virtual WebPushClient* pushClient() { return 0; } |
457 | 461 |
458 // Presentation API ---------------------------------------------------- | 462 // Presentation API ---------------------------------------------------- |
459 | 463 |
460 // Used to access the embedder for the Presentation API. | 464 // Used to access the embedder for the Presentation API. |
461 virtual WebPresentationClient* presentationClient() { return 0; } | 465 virtual WebPresentationClient* presentationClient() { return 0; } |
462 | 466 |
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
756 // Overwrites the given URL to use an HTML5 embed if possible. | 760 // Overwrites the given URL to use an HTML5 embed if possible. |
757 // An empty URL is returned if the URL is not overriden. | 761 // An empty URL is returned if the URL is not overriden. |
758 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) { | 762 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) { |
759 return WebURL(); | 763 return WebURL(); |
760 } | 764 } |
761 }; | 765 }; |
762 | 766 |
763 } // namespace blink | 767 } // namespace blink |
764 | 768 |
765 #endif | 769 #endif |
OLD | NEW |