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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 class WebDataSource; | 66 class WebDataSource; |
67 class WebEncryptedMediaClient; | 67 class WebEncryptedMediaClient; |
68 class WebExternalPopupMenu; | 68 class WebExternalPopupMenu; |
69 class WebExternalPopupMenuClient; | 69 class WebExternalPopupMenuClient; |
70 class WebFormElement; | 70 class WebFormElement; |
71 class WebGeolocationClient; | 71 class WebGeolocationClient; |
72 class WebMediaPlayer; | 72 class WebMediaPlayer; |
73 class WebMediaPlayerClient; | 73 class WebMediaPlayerClient; |
74 class WebMIDIClient; | 74 class WebMIDIClient; |
75 class WebNotificationPermissionCallback; | 75 class WebNotificationPermissionCallback; |
| 76 class WebPermissionClient; |
76 class WebServiceWorkerProvider; | 77 class WebServiceWorkerProvider; |
77 class WebSocketHandle; | 78 class WebSocketHandle; |
78 class WebPlugin; | 79 class WebPlugin; |
79 class WebPluginPlaceholder; | 80 class WebPluginPlaceholder; |
80 class WebPresentationClient; | 81 class WebPresentationClient; |
81 class WebPushClient; | 82 class WebPushClient; |
82 class WebRTCPeerConnectionHandler; | 83 class WebRTCPeerConnectionHandler; |
83 class WebScreenOrientationClient; | 84 class WebScreenOrientationClient; |
84 class WebString; | 85 class WebString; |
85 class WebURL; | 86 class WebURL; |
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
629 | 630 |
630 // Called when elements preventing the sudden termination of the frame | 631 // Called when elements preventing the sudden termination of the frame |
631 // become present or stop being present. |type| is the type of element | 632 // become present or stop being present. |type| is the type of element |
632 // (BeforeUnload handler, Unload handler). | 633 // (BeforeUnload handler, Unload handler). |
633 enum SuddenTerminationDisablerType { | 634 enum SuddenTerminationDisablerType { |
634 BeforeUnloadHandler, | 635 BeforeUnloadHandler, |
635 UnloadHandler, | 636 UnloadHandler, |
636 }; | 637 }; |
637 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio
nDisablerType) { } | 638 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio
nDisablerType) { } |
638 | 639 |
| 640 |
| 641 // Permissions --------------------------------------------------------- |
| 642 |
| 643 // Access the embedder API for permission client. |
| 644 virtual WebPermissionClient* permissionClient() { return 0; } |
| 645 |
639 protected: | 646 protected: |
640 virtual ~WebFrameClient() { } | 647 virtual ~WebFrameClient() { } |
641 }; | 648 }; |
642 | 649 |
643 } // namespace blink | 650 } // namespace blink |
644 | 651 |
645 #endif | 652 #endif |
OLD | NEW |