| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_RENDERER_RENDERER_WEBKITCLIENT_IMPL_H_ | 5 #ifndef CHROME_RENDERER_RENDERER_WEBKITCLIENT_IMPL_H_ |
| 6 #define CHROME_RENDERER_RENDERER_WEBKITCLIENT_IMPL_H_ | 6 #define CHROME_RENDERER_RENDERER_WEBKITCLIENT_IMPL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/platform_file.h" | 9 #include "base/platform_file.h" |
| 10 #include "base/scoped_ptr.h" | 10 #include "base/scoped_ptr.h" |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 unsigned key_size_index, | 61 unsigned key_size_index, |
| 62 const WebKit::WebString& challenge, | 62 const WebKit::WebString& challenge, |
| 63 const WebKit::WebURL& url); | 63 const WebKit::WebURL& url); |
| 64 virtual WebKit::WebIDBFactory* idbFactory(); | 64 virtual WebKit::WebIDBFactory* idbFactory(); |
| 65 virtual WebKit::WebFileSystem* fileSystem(); | 65 virtual WebKit::WebFileSystem* fileSystem(); |
| 66 | 66 |
| 67 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository(); | 67 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository(); |
| 68 virtual WebKit::WebGraphicsContext3D* createGraphicsContext3D(); | 68 virtual WebKit::WebGraphicsContext3D* createGraphicsContext3D(); |
| 69 virtual WebKit::WebGLES2Context* createGLES2Context(); | 69 virtual WebKit::WebGLES2Context* createGLES2Context(); |
| 70 | 70 |
| 71 virtual WebKit::WebBlobRegistry* blobRegistry(); |
| 72 |
| 71 private: | 73 private: |
| 72 bool CheckPreparsedJsCachingEnabled() const; | 74 bool CheckPreparsedJsCachingEnabled() const; |
| 73 | 75 |
| 74 // Helper function to send synchronous message from any thread. | 76 // Helper function to send synchronous message from any thread. |
| 75 static bool SendSyncMessageFromAnyThread(IPC::SyncMessage* msg); | 77 static bool SendSyncMessageFromAnyThread(IPC::SyncMessage* msg); |
| 76 | 78 |
| 77 scoped_ptr<webkit_glue::WebClipboardImpl> clipboard_; | 79 scoped_ptr<webkit_glue::WebClipboardImpl> clipboard_; |
| 78 | 80 |
| 79 class FileUtilities; | 81 class FileUtilities; |
| 80 scoped_ptr<FileUtilities> file_utilities_; | 82 scoped_ptr<FileUtilities> file_utilities_; |
| (...skipping 10 matching lines...) Expand all Loading... |
| 91 // we tell the browser to enable fast termination. | 93 // we tell the browser to enable fast termination. |
| 92 int sudden_termination_disables_; | 94 int sudden_termination_disables_; |
| 93 | 95 |
| 94 // Implementation of the WebSharedWorkerRepository APIs (provides an interface | 96 // Implementation of the WebSharedWorkerRepository APIs (provides an interface |
| 95 // to WorkerService on the browser thread. | 97 // to WorkerService on the browser thread. |
| 96 scoped_ptr<WebSharedWorkerRepositoryImpl> shared_worker_repository_; | 98 scoped_ptr<WebSharedWorkerRepositoryImpl> shared_worker_repository_; |
| 97 | 99 |
| 98 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_; | 100 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_; |
| 99 | 101 |
| 100 scoped_ptr<WebFileSystemImpl> web_file_system_; | 102 scoped_ptr<WebFileSystemImpl> web_file_system_; |
| 103 |
| 104 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; |
| 101 }; | 105 }; |
| 102 | 106 |
| 103 #endif // CHROME_RENDERER_RENDERER_WEBKITCLIENT_IMPL_H_ | 107 #endif // CHROME_RENDERER_RENDERER_WEBKITCLIENT_IMPL_H_ |
| OLD | NEW |