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