| 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 #include "public/platform/WebStorageQuotaType.h" | 45 #include "public/platform/WebStorageQuotaType.h" |
| 46 #include "public/platform/WebURLError.h" | 46 #include "public/platform/WebURLError.h" |
| 47 #include "public/platform/WebURLRequest.h" | 47 #include "public/platform/WebURLRequest.h" |
| 48 #include <v8.h> | 48 #include <v8.h> |
| 49 | 49 |
| 50 namespace blink { | 50 namespace blink { |
| 51 | 51 |
| 52 class WebApplicationCacheHost; | 52 class WebApplicationCacheHost; |
| 53 class WebApplicationCacheHostClient; | 53 class WebApplicationCacheHostClient; |
| 54 class WebCachedURLRequest; | 54 class WebCachedURLRequest; |
| 55 class WebContentDecryptionModule; |
| 55 class WebCookieJar; | 56 class WebCookieJar; |
| 56 class WebDataSource; | 57 class WebDataSource; |
| 57 class WebDOMEvent; | 58 class WebDOMEvent; |
| 58 class WebFormElement; | 59 class WebFormElement; |
| 59 class WebFrame; | 60 class WebFrame; |
| 60 class WebInputEvent; | 61 class WebInputEvent; |
| 61 class WebMediaPlayer; | 62 class WebMediaPlayer; |
| 62 class WebMediaPlayerClient; | 63 class WebMediaPlayerClient; |
| 63 class WebServiceWorkerProvider; | 64 class WebServiceWorkerProvider; |
| 64 class WebServiceWorkerProviderClient; | 65 class WebServiceWorkerProviderClient; |
| (...skipping 18 matching lines...) Expand all Loading... |
| 83 public: | 84 public: |
| 84 // Factory methods ----------------------------------------------------- | 85 // Factory methods ----------------------------------------------------- |
| 85 | 86 |
| 86 // May return null. | 87 // May return null. |
| 87 virtual WebPlugin* createPlugin(WebFrame*, const WebPluginParams&) { return
0; } | 88 virtual WebPlugin* createPlugin(WebFrame*, const WebPluginParams&) { return
0; } |
| 88 | 89 |
| 89 // May return null. | 90 // May return null. |
| 90 virtual WebMediaPlayer* createMediaPlayer(WebFrame*, const WebURL&, WebMedia
PlayerClient*) { return 0; } | 91 virtual WebMediaPlayer* createMediaPlayer(WebFrame*, const WebURL&, WebMedia
PlayerClient*) { return 0; } |
| 91 | 92 |
| 92 // May return null. | 93 // May return null. |
| 94 virtual WebContentDecryptionModule* createContentDecryptionModule(WebFrame*,
const WebSecurityOrigin&, const WebString& keySystem) { return 0; } |
| 95 |
| 96 // May return null. |
| 93 virtual WebApplicationCacheHost* createApplicationCacheHost(WebFrame*, WebAp
plicationCacheHostClient*) { return 0; } | 97 virtual WebApplicationCacheHost* createApplicationCacheHost(WebFrame*, WebAp
plicationCacheHostClient*) { return 0; } |
| 94 | 98 |
| 95 // May return null. Takes ownership of the client. | 99 // May return null. Takes ownership of the client. |
| 96 // FIXME: Deprecate the second argument. | 100 // FIXME: Deprecate the second argument. |
| 97 virtual WebServiceWorkerProvider* createServiceWorkerProvider(WebFrame*, Web
ServiceWorkerProviderClient*) { return 0; } | 101 virtual WebServiceWorkerProvider* createServiceWorkerProvider(WebFrame*, Web
ServiceWorkerProviderClient*) { return 0; } |
| 98 virtual WebServiceWorkerProvider* createServiceWorkerProvider(WebFrame* fram
e) { return createServiceWorkerProvider(frame, 0); } | 102 virtual WebServiceWorkerProvider* createServiceWorkerProvider(WebFrame* fram
e) { return createServiceWorkerProvider(frame, 0); } |
| 99 | 103 |
| 100 // May return null. | 104 // May return null. |
| 101 virtual WebWorkerPermissionClientProxy* createWorkerPermissionClientProxy(We
bFrame*) { return 0; } | 105 virtual WebWorkerPermissionClientProxy* createWorkerPermissionClientProxy(We
bFrame*) { return 0; } |
| 102 | 106 |
| (...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 396 // Send initial drawing parameters to a child frame that is being rendered o
ut of process. | 400 // Send initial drawing parameters to a child frame that is being rendered o
ut of process. |
| 397 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto
r) { } | 401 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto
r) { } |
| 398 | 402 |
| 399 protected: | 403 protected: |
| 400 ~WebFrameClient() { } | 404 ~WebFrameClient() { } |
| 401 }; | 405 }; |
| 402 | 406 |
| 403 } // namespace blink | 407 } // namespace blink |
| 404 | 408 |
| 405 #endif | 409 #endif |
| OLD | NEW |