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" |
54 #include <v8.h> | 55 #include <v8.h> |
55 | 56 |
56 namespace blink { | 57 namespace blink { |
57 | 58 |
58 class WebApplicationCacheHost; | 59 class WebApplicationCacheHost; |
59 class WebApplicationCacheHostClient; | 60 class WebApplicationCacheHostClient; |
60 class WebCachedURLRequest; | 61 class WebCachedURLRequest; |
61 class WebColorChooser; | 62 class WebColorChooser; |
62 class WebColorChooserClient; | 63 class WebColorChooserClient; |
63 class WebContentDecryptionModule; | 64 class WebContentDecryptionModule; |
(...skipping 13 matching lines...) Expand all Loading... |
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; |
85 class WebURLResponse; | 86 class WebURLResponse; |
86 class WebUserMediaClient; | 87 class WebUserMediaClient; |
87 class WebWorkerPermissionClientProxy; | 88 class WebWorkerContentSettingsClientProxy; |
88 struct WebColorSuggestion; | 89 struct WebColorSuggestion; |
89 struct WebConsoleMessage; | 90 struct WebConsoleMessage; |
90 struct WebContextMenuData; | 91 struct WebContextMenuData; |
91 struct WebPluginParams; | 92 struct WebPluginParams; |
92 struct WebPopupMenuInfo; | 93 struct WebPopupMenuInfo; |
93 struct WebRect; | 94 struct WebRect; |
94 struct WebTransitionElementData; | 95 struct WebTransitionElementData; |
95 struct WebURLError; | 96 struct WebURLError; |
96 | 97 |
97 class WebFrameClient { | 98 class WebFrameClient { |
(...skipping 12 matching lines...) Expand all Loading... |
110 | 111 |
111 // May return null. | 112 // May return null. |
112 virtual WebApplicationCacheHost* createApplicationCacheHost(WebLocalFrame*,
WebApplicationCacheHostClient*) { return 0; } | 113 virtual WebApplicationCacheHost* createApplicationCacheHost(WebLocalFrame*,
WebApplicationCacheHostClient*) { return 0; } |
113 | 114 |
114 // May return null. | 115 // May return null. |
115 virtual WebServiceWorkerProvider* createServiceWorkerProvider(WebLocalFrame*
frame) { return 0; } | 116 virtual WebServiceWorkerProvider* createServiceWorkerProvider(WebLocalFrame*
frame) { return 0; } |
116 | 117 |
117 // May return null. | 118 // May return null. |
118 virtual WebWorkerPermissionClientProxy* createWorkerPermissionClientProxy(We
bLocalFrame*) { return 0; } | 119 virtual WebWorkerPermissionClientProxy* createWorkerPermissionClientProxy(We
bLocalFrame*) { return 0; } |
119 | 120 |
| 121 // May return null. |
| 122 virtual WebWorkerContentSettingsClientProxy* createWorkerContentSettingsClie
ntProxy(WebLocalFrame* frame) |
| 123 { |
| 124 return createWorkerPermissionClientProxy(frame); |
| 125 } |
| 126 |
120 // Create a new WebPopupMenu. In the "createExternalPopupMenu" form, the | 127 // Create a new WebPopupMenu. In the "createExternalPopupMenu" form, the |
121 // client is responsible for rendering the contents of the popup menu. | 128 // client is responsible for rendering the contents of the popup menu. |
122 virtual WebExternalPopupMenu* createExternalPopupMenu( | 129 virtual WebExternalPopupMenu* createExternalPopupMenu( |
123 const WebPopupMenuInfo&, WebExternalPopupMenuClient*) { return 0; } | 130 const WebPopupMenuInfo&, WebExternalPopupMenuClient*) { return 0; } |
124 | 131 |
125 | 132 |
126 // Services ------------------------------------------------------------ | 133 // Services ------------------------------------------------------------ |
127 | 134 |
128 // A frame specific cookie jar. May return null, in which case | 135 // A frame specific cookie jar. May return null, in which case |
129 // WebKitPlatformSupport::cookieJar() will be called to access cookies. | 136 // WebKitPlatformSupport::cookieJar() will be called to access cookies. |
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
629 }; | 636 }; |
630 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio
nDisablerType) { } | 637 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio
nDisablerType) { } |
631 | 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 |