| 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 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 432 | 432 |
| 433 // Called to dispatch a load event for this frame in the FrameOwner of an | 433 // Called to dispatch a load event for this frame in the FrameOwner of an |
| 434 // out-of-process parent frame. | 434 // out-of-process parent frame. |
| 435 virtual void dispatchLoad() {} | 435 virtual void dispatchLoad() {} |
| 436 | 436 |
| 437 // Returns the effective connection type when the frame was fetched. | 437 // Returns the effective connection type when the frame was fetched. |
| 438 virtual WebEffectiveConnectionType getEffectiveConnectionType() { | 438 virtual WebEffectiveConnectionType getEffectiveConnectionType() { |
| 439 return WebEffectiveConnectionType::TypeUnknown; | 439 return WebEffectiveConnectionType::TypeUnknown; |
| 440 } | 440 } |
| 441 | 441 |
| 442 // PlzNavigate |
| 443 // Called to abort a navigation that is being handled by the browser process. |
| 444 virtual void abortClientNavigation() {} |
| 445 |
| 442 // Push API --------------------------------------------------- | 446 // Push API --------------------------------------------------- |
| 443 | 447 |
| 444 // Used to access the embedder for the Push API. | 448 // Used to access the embedder for the Push API. |
| 445 virtual WebPushClient* pushClient() { return 0; } | 449 virtual WebPushClient* pushClient() { return 0; } |
| 446 | 450 |
| 447 // Presentation API ---------------------------------------------------- | 451 // Presentation API ---------------------------------------------------- |
| 448 | 452 |
| 449 // Used to access the embedder for the Presentation API. | 453 // Used to access the embedder for the Presentation API. |
| 450 virtual WebPresentationClient* presentationClient() { return 0; } | 454 virtual WebPresentationClient* presentationClient() { return 0; } |
| 451 | 455 |
| (...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 745 // Overwrites the given URL to use an HTML5 embed if possible. | 749 // Overwrites the given URL to use an HTML5 embed if possible. |
| 746 // An empty URL is returned if the URL is not overriden. | 750 // An empty URL is returned if the URL is not overriden. |
| 747 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) { | 751 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) { |
| 748 return WebURL(); | 752 return WebURL(); |
| 749 } | 753 } |
| 750 }; | 754 }; |
| 751 | 755 |
| 752 } // namespace blink | 756 } // namespace blink |
| 753 | 757 |
| 754 #endif | 758 #endif |
| OLD | NEW |