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