| 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 | 7 |
| 8 #include "base/platform_file.h" | 8 #include "base/platform_file.h" |
| 9 #include "chrome/renderer/websharedworkerrepository_impl.h" | 9 #include "chrome/renderer/websharedworkerrepository_impl.h" |
| 10 #include "webkit/glue/simple_webmimeregistry_impl.h" | 10 #include "webkit/glue/simple_webmimeregistry_impl.h" |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 virtual int databaseDeleteFile(const WebKit::WebString& vfs_file_name, | 57 virtual int databaseDeleteFile(const WebKit::WebString& vfs_file_name, |
| 58 bool sync_dir); | 58 bool sync_dir); |
| 59 virtual long databaseGetFileAttributes( | 59 virtual long databaseGetFileAttributes( |
| 60 const WebKit::WebString& vfs_file_name); | 60 const WebKit::WebString& vfs_file_name); |
| 61 virtual long long databaseGetFileSize( | 61 virtual long long databaseGetFileSize( |
| 62 const WebKit::WebString& vfs_file_name); | 62 const WebKit::WebString& vfs_file_name); |
| 63 virtual WebKit::WebString signedPublicKeyAndChallengeString( | 63 virtual WebKit::WebString signedPublicKeyAndChallengeString( |
| 64 unsigned key_size_index, | 64 unsigned key_size_index, |
| 65 const WebKit::WebString& challenge, | 65 const WebKit::WebString& challenge, |
| 66 const WebKit::WebURL& url); | 66 const WebKit::WebURL& url); |
| 67 virtual WebKit::WebApplicationCacheHost* createApplicationCacheHost( | |
| 68 WebKit::WebApplicationCacheHostClient*); | |
| 69 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository(); | 67 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository(); |
| 70 virtual WebKit::WebGraphicsContext3D* createGraphicsContext3D(); | 68 virtual WebKit::WebGraphicsContext3D* createGraphicsContext3D(); |
| 71 | 69 |
| 72 private: | 70 private: |
| 73 class MimeRegistry : public webkit_glue::SimpleWebMimeRegistryImpl { | 71 class MimeRegistry : public webkit_glue::SimpleWebMimeRegistryImpl { |
| 74 public: | 72 public: |
| 75 virtual WebKit::WebString mimeTypeForExtension(const WebKit::WebString&); | 73 virtual WebKit::WebString mimeTypeForExtension(const WebKit::WebString&); |
| 76 virtual WebKit::WebString mimeTypeFromFile(const WebKit::WebString&); | 74 virtual WebKit::WebString mimeTypeFromFile(const WebKit::WebString&); |
| 77 virtual WebKit::WebString preferredExtensionForMIMEType( | 75 virtual WebKit::WebString preferredExtensionForMIMEType( |
| 78 const WebKit::WebString&); | 76 const WebKit::WebString&); |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 // we tell the browser to enable fast termination. | 112 // we tell the browser to enable fast termination. |
| 115 int sudden_termination_disables_; | 113 int sudden_termination_disables_; |
| 116 | 114 |
| 117 // Implementation of the WebSharedWorkerRepository APIs (provides an interface | 115 // Implementation of the WebSharedWorkerRepository APIs (provides an interface |
| 118 // to WorkerService on the browser thread. | 116 // to WorkerService on the browser thread. |
| 119 WebSharedWorkerRepositoryImpl shared_worker_repository_; | 117 WebSharedWorkerRepositoryImpl shared_worker_repository_; |
| 120 | 118 |
| 121 }; | 119 }; |
| 122 | 120 |
| 123 #endif // CHROME_RENDERER_RENDERER_WEBKITCLIENT_IMPL_H_ | 121 #endif // CHROME_RENDERER_RENDERER_WEBKITCLIENT_IMPL_H_ |
| OLD | NEW |