| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 virtual WebCore::WorkerLoaderProxy* workerLoaderProxy() OVERRIDE { return th
is; } | 78 virtual WebCore::WorkerLoaderProxy* workerLoaderProxy() OVERRIDE { return th
is; } |
| 79 virtual WebCommonWorkerClient* commonClient() OVERRIDE { return this; } | 79 virtual WebCommonWorkerClient* commonClient() OVERRIDE { return this; } |
| 80 virtual WebView* view() const OVERRIDE; | 80 virtual WebView* view() const OVERRIDE; |
| 81 | 81 |
| 82 // WebCommonWorkerClient methods: | 82 // WebCommonWorkerClient methods: |
| 83 virtual bool allowDatabase(WebFrame*, const WebString& name, const WebString
& displayName, unsigned long estimatedSize) OVERRIDE; | 83 virtual bool allowDatabase(WebFrame*, const WebString& name, const WebString
& displayName, unsigned long estimatedSize) OVERRIDE; |
| 84 virtual bool allowFileSystem(); | 84 virtual bool allowFileSystem(); |
| 85 virtual void openFileSystem(WebFileSystemType, long long size, bool create, | 85 virtual void openFileSystem(WebFileSystemType, long long size, bool create, |
| 86 WebFileSystemCallbacks*) OVERRIDE; | 86 WebFileSystemCallbacks*) OVERRIDE; |
| 87 virtual bool allowIndexedDB(const WebString& name) OVERRIDE; | 87 virtual bool allowIndexedDB(const WebString& name) OVERRIDE; |
| 88 virtual void queryUsageAndQuota(WebStorageQuotaType, WebStorageQuotaCallback
s*) OVERRIDE; | |
| 89 | 88 |
| 90 private: | 89 private: |
| 91 WebWorkerClientImpl(WebCore::Worker*, WebFrameImpl*, PassOwnPtr<WebCore::Wor
kerClients>); | 90 WebWorkerClientImpl(WebCore::Worker*, WebFrameImpl*, PassOwnPtr<WebCore::Wor
kerClients>); |
| 92 virtual ~WebWorkerClientImpl(); | 91 virtual ~WebWorkerClientImpl(); |
| 93 | 92 |
| 94 WebFrameImpl* m_webFrame; | 93 WebFrameImpl* m_webFrame; |
| 95 }; | 94 }; |
| 96 | 95 |
| 97 } // namespace WebKit; | 96 } // namespace WebKit; |
| 98 | 97 |
| 99 #endif | 98 #endif |
| OLD | NEW |