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 665 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
676 UnloadHandler, | 676 UnloadHandler, |
677 }; | 677 }; |
678 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio
nDisablerType) { } | 678 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio
nDisablerType) { } |
679 | 679 |
680 | 680 |
681 // Permissions --------------------------------------------------------- | 681 // Permissions --------------------------------------------------------- |
682 | 682 |
683 // Access the embedder API for permission client. | 683 // Access the embedder API for permission client. |
684 virtual WebPermissionClient* permissionClient() { return 0; } | 684 virtual WebPermissionClient* permissionClient() { return 0; } |
685 | 685 |
686 // Virtual Reality ----------------------------------------------------- | |
687 | |
688 // Access the embedder API for virtual reality client. | |
689 virtual WebVRClient* webVRClient() { return 0; } | |
690 | |
691 // App Banners --------------------------------------------------------- | 686 // App Banners --------------------------------------------------------- |
692 virtual WebAppBannerClient* appBannerClient() { return 0; } | 687 virtual WebAppBannerClient* appBannerClient() { return 0; } |
693 | 688 |
694 // Navigator Content Utils -------------------------------------------- | 689 // Navigator Content Utils -------------------------------------------- |
695 | 690 |
696 // Registers a new URL handler for the given protocol. | 691 // Registers a new URL handler for the given protocol. |
697 virtual void registerProtocolHandler(const WebString& scheme, | 692 virtual void registerProtocolHandler(const WebString& scheme, |
698 const WebURL& url, | 693 const WebURL& url, |
699 const WebString& title) { } | 694 const WebString& title) { } |
700 | 695 |
(...skipping 19 matching lines...) Expand all Loading... |
720 // This method takes ownership of the callbacks pointer. | 715 // This method takes ownership of the callbacks pointer. |
721 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId,
const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED();
} | 716 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId,
const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED();
} |
722 | 717 |
723 protected: | 718 protected: |
724 virtual ~WebFrameClient() { } | 719 virtual ~WebFrameClient() { } |
725 }; | 720 }; |
726 | 721 |
727 } // namespace blink | 722 } // namespace blink |
728 | 723 |
729 #endif | 724 #endif |
OLD | NEW |