| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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( | 67 virtual WebKit::WebApplicationCacheHost* createApplicationCacheHost( |
| 68 WebKit::WebApplicationCacheHostClient*); | 68 WebKit::WebApplicationCacheHostClient*); |
| 69 | |
| 70 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository(); | 69 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository(); |
| 70 virtual WebKit::WebGraphicsContext3D* createGraphicsContext3D(); |
| 71 | 71 |
| 72 private: | 72 private: |
| 73 class MimeRegistry : public webkit_glue::SimpleWebMimeRegistryImpl { | 73 class MimeRegistry : public webkit_glue::SimpleWebMimeRegistryImpl { |
| 74 public: | 74 public: |
| 75 virtual WebKit::WebString mimeTypeForExtension(const WebKit::WebString&); | 75 virtual WebKit::WebString mimeTypeForExtension(const WebKit::WebString&); |
| 76 virtual WebKit::WebString mimeTypeFromFile(const WebKit::WebString&); | 76 virtual WebKit::WebString mimeTypeFromFile(const WebKit::WebString&); |
| 77 virtual WebKit::WebString preferredExtensionForMIMEType( | 77 virtual WebKit::WebString preferredExtensionForMIMEType( |
| 78 const WebKit::WebString&); | 78 const WebKit::WebString&); |
| 79 }; | 79 }; |
| 80 | 80 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 // we tell the browser to enable fast termination. | 114 // we tell the browser to enable fast termination. |
| 115 int sudden_termination_disables_; | 115 int sudden_termination_disables_; |
| 116 | 116 |
| 117 // Implementation of the WebSharedWorkerRepository APIs (provides an interface | 117 // Implementation of the WebSharedWorkerRepository APIs (provides an interface |
| 118 // to WorkerService on the browser thread. | 118 // to WorkerService on the browser thread. |
| 119 WebSharedWorkerRepositoryImpl shared_worker_repository_; | 119 WebSharedWorkerRepositoryImpl shared_worker_repository_; |
| 120 | 120 |
| 121 }; | 121 }; |
| 122 | 122 |
| 123 #endif // CHROME_RENDERER_RENDERER_WEBKITCLIENT_IMPL_H_ | 123 #endif // CHROME_RENDERER_RENDERER_WEBKITCLIENT_IMPL_H_ |
| OLD | NEW |