OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ |
6 #define CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/platform_file.h" | 10 #include "base/platform_file.h" |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 virtual unsigned long long visitedLinkHash( | 62 virtual unsigned long long visitedLinkHash( |
63 const char* canonicalURL, size_t length); | 63 const char* canonicalURL, size_t length); |
64 virtual bool isLinkVisited(unsigned long long linkHash); | 64 virtual bool isLinkVisited(unsigned long long linkHash); |
65 virtual WebKit::WebMessagePortChannel* createMessagePortChannel(); | 65 virtual WebKit::WebMessagePortChannel* createMessagePortChannel(); |
66 virtual void prefetchHostName(const WebKit::WebString&); | 66 virtual void prefetchHostName(const WebKit::WebString&); |
67 virtual WebKit::WebPrescientNetworking* prescientNetworking(); | 67 virtual WebKit::WebPrescientNetworking* prescientNetworking(); |
68 virtual void cacheMetadata( | 68 virtual void cacheMetadata( |
69 const WebKit::WebURL&, double, const char*, size_t); | 69 const WebKit::WebURL&, double, const char*, size_t); |
70 virtual WebKit::WebString defaultLocale(); | 70 virtual WebKit::WebString defaultLocale(); |
71 virtual void suddenTerminationChanged(bool enabled); | 71 virtual void suddenTerminationChanged(bool enabled); |
72 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace( | 72 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace(); |
73 const WebKit::WebString& path, unsigned quota); | |
74 virtual WebKit::Platform::FileHandle databaseOpenFile( | 73 virtual WebKit::Platform::FileHandle databaseOpenFile( |
75 const WebKit::WebString& vfs_file_name, int desired_flags); | 74 const WebKit::WebString& vfs_file_name, int desired_flags); |
76 virtual int databaseDeleteFile(const WebKit::WebString& vfs_file_name, | 75 virtual int databaseDeleteFile(const WebKit::WebString& vfs_file_name, |
77 bool sync_dir); | 76 bool sync_dir); |
78 virtual long databaseGetFileAttributes( | 77 virtual long databaseGetFileAttributes( |
79 const WebKit::WebString& vfs_file_name); | 78 const WebKit::WebString& vfs_file_name); |
80 virtual long long databaseGetFileSize( | 79 virtual long long databaseGetFileSize( |
81 const WebKit::WebString& vfs_file_name); | 80 const WebKit::WebString& vfs_file_name); |
82 virtual long long databaseGetSpaceAvailableForOrigin( | 81 virtual long long databaseGetSpaceAvailableForOrigin( |
83 const WebKit::WebString& origin_identifier); | 82 const WebKit::WebString& origin_identifier); |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 192 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
194 | 193 |
195 scoped_refptr<cc::ContextProvider> shared_offscreen_context_; | 194 scoped_refptr<cc::ContextProvider> shared_offscreen_context_; |
196 | 195 |
197 webkit::WebCompositorSupportImpl compositor_support_; | 196 webkit::WebCompositorSupportImpl compositor_support_; |
198 }; | 197 }; |
199 | 198 |
200 } // namespace content | 199 } // namespace content |
201 | 200 |
202 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ | 201 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ |
OLD | NEW |