| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 #include "WebSandboxFlags.h" | 44 #include "WebSandboxFlags.h" |
| 45 #include "WebSecurityOrigin.h" | 45 #include "WebSecurityOrigin.h" |
| 46 #include "WebTextDirection.h" | 46 #include "WebTextDirection.h" |
| 47 #include "public/platform/WebCommon.h" | 47 #include "public/platform/WebCommon.h" |
| 48 #include "public/platform/WebFileSystem.h" | 48 #include "public/platform/WebFileSystem.h" |
| 49 #include "public/platform/WebFileSystemType.h" | 49 #include "public/platform/WebFileSystemType.h" |
| 50 #include "public/platform/WebStorageQuotaCallbacks.h" | 50 #include "public/platform/WebStorageQuotaCallbacks.h" |
| 51 #include "public/platform/WebStorageQuotaType.h" | 51 #include "public/platform/WebStorageQuotaType.h" |
| 52 #include "public/platform/WebURLError.h" | 52 #include "public/platform/WebURLError.h" |
| 53 #include "public/platform/WebURLRequest.h" | 53 #include "public/platform/WebURLRequest.h" |
| 54 #include "public/web/WebWorkerPermissionClientProxy.h" | |
| 55 #include <v8.h> | 54 #include <v8.h> |
| 56 | 55 |
| 57 namespace blink { | 56 namespace blink { |
| 58 | 57 |
| 59 class WebApplicationCacheHost; | 58 class WebApplicationCacheHost; |
| 60 class WebApplicationCacheHostClient; | 59 class WebApplicationCacheHostClient; |
| 61 class WebCachedURLRequest; | 60 class WebCachedURLRequest; |
| 62 class WebColorChooser; | 61 class WebColorChooser; |
| 63 class WebColorChooserClient; | 62 class WebColorChooserClient; |
| 64 class WebContentDecryptionModule; | 63 class WebContentDecryptionModule; |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 // WebContentDecryptionModule* may be null if one has not yet been set. | 108 // WebContentDecryptionModule* may be null if one has not yet been set. |
| 110 virtual WebMediaPlayer* createMediaPlayer(WebLocalFrame*, const WebURL&, Web
MediaPlayerClient*, WebContentDecryptionModule*) { return 0; } | 109 virtual WebMediaPlayer* createMediaPlayer(WebLocalFrame*, const WebURL&, Web
MediaPlayerClient*, WebContentDecryptionModule*) { return 0; } |
| 111 | 110 |
| 112 // May return null. | 111 // May return null. |
| 113 virtual WebApplicationCacheHost* createApplicationCacheHost(WebLocalFrame*,
WebApplicationCacheHostClient*) { return 0; } | 112 virtual WebApplicationCacheHost* createApplicationCacheHost(WebLocalFrame*,
WebApplicationCacheHostClient*) { return 0; } |
| 114 | 113 |
| 115 // May return null. | 114 // May return null. |
| 116 virtual WebServiceWorkerProvider* createServiceWorkerProvider(WebLocalFrame*
frame) { return 0; } | 115 virtual WebServiceWorkerProvider* createServiceWorkerProvider(WebLocalFrame*
frame) { return 0; } |
| 117 | 116 |
| 118 // May return null. | 117 // May return null. |
| 119 virtual WebWorkerPermissionClientProxy* createWorkerPermissionClientProxy(We
bLocalFrame*) { return 0; } | 118 virtual WebWorkerContentSettingsClientProxy* createWorkerContentSettingsClie
ntProxy(WebLocalFrame* frame) { return 0; } |
| 120 | |
| 121 // May return null. | |
| 122 virtual WebWorkerContentSettingsClientProxy* createWorkerContentSettingsClie
ntProxy(WebLocalFrame* frame) | |
| 123 { | |
| 124 return createWorkerPermissionClientProxy(frame); | |
| 125 } | |
| 126 | 119 |
| 127 // Create a new WebPopupMenu. In the "createExternalPopupMenu" form, the | 120 // Create a new WebPopupMenu. In the "createExternalPopupMenu" form, the |
| 128 // client is responsible for rendering the contents of the popup menu. | 121 // client is responsible for rendering the contents of the popup menu. |
| 129 virtual WebExternalPopupMenu* createExternalPopupMenu( | 122 virtual WebExternalPopupMenu* createExternalPopupMenu( |
| 130 const WebPopupMenuInfo&, WebExternalPopupMenuClient*) { return 0; } | 123 const WebPopupMenuInfo&, WebExternalPopupMenuClient*) { return 0; } |
| 131 | 124 |
| 132 | 125 |
| 133 // Services ------------------------------------------------------------ | 126 // Services ------------------------------------------------------------ |
| 134 | 127 |
| 135 // A frame specific cookie jar. May return null, in which case | 128 // A frame specific cookie jar. May return null, in which case |
| (...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 636 }; | 629 }; |
| 637 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio
nDisablerType) { } | 630 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio
nDisablerType) { } |
| 638 | 631 |
| 639 protected: | 632 protected: |
| 640 virtual ~WebFrameClient() { } | 633 virtual ~WebFrameClient() { } |
| 641 }; | 634 }; |
| 642 | 635 |
| 643 } // namespace blink | 636 } // namespace blink |
| 644 | 637 |
| 645 #endif | 638 #endif |
| OLD | NEW |