| 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 649 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 660 UnloadHandler, | 660 UnloadHandler, |
| 661 }; | 661 }; |
| 662 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio
nDisablerType) { } | 662 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio
nDisablerType) { } |
| 663 | 663 |
| 664 | 664 |
| 665 // Permissions --------------------------------------------------------- | 665 // Permissions --------------------------------------------------------- |
| 666 | 666 |
| 667 // Access the embedder API for permission client. | 667 // Access the embedder API for permission client. |
| 668 virtual WebPermissionClient* permissionClient() { return 0; } | 668 virtual WebPermissionClient* permissionClient() { return 0; } |
| 669 | 669 |
| 670 // Virtual Reality ----------------------------------------------------- | |
| 671 | |
| 672 // Access the embedder API for virtual reality client. | |
| 673 virtual WebVRClient* webVRClient() { return 0; } | |
| 674 | |
| 675 // App Banners --------------------------------------------------------- | 670 // App Banners --------------------------------------------------------- |
| 676 virtual WebAppBannerClient* appBannerClient() { return 0; } | 671 virtual WebAppBannerClient* appBannerClient() { return 0; } |
| 677 | 672 |
| 678 // Navigator Content Utils -------------------------------------------- | 673 // Navigator Content Utils -------------------------------------------- |
| 679 | 674 |
| 680 // Registers a new URL handler for the given protocol. | 675 // Registers a new URL handler for the given protocol. |
| 681 virtual void registerProtocolHandler(const WebString& scheme, | 676 virtual void registerProtocolHandler(const WebString& scheme, |
| 682 const WebURL& url, | 677 const WebURL& url, |
| 683 const WebString& title) { } | 678 const WebString& title) { } |
| 684 | 679 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 704 // This method takes ownership of the callbacks pointer. | 699 // This method takes ownership of the callbacks pointer. |
| 705 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId,
const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED();
} | 700 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId,
const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED();
} |
| 706 | 701 |
| 707 protected: | 702 protected: |
| 708 virtual ~WebFrameClient() { } | 703 virtual ~WebFrameClient() { } |
| 709 }; | 704 }; |
| 710 | 705 |
| 711 } // namespace blink | 706 } // namespace blink |
| 712 | 707 |
| 713 #endif | 708 #endif |
| OLD | NEW |