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_BLINK_PLATFORM_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ |
6 #define CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/id_map.h" | 9 #include "base/id_map.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 virtual blink::Platform::FileHandle databaseOpenFile( | 85 virtual blink::Platform::FileHandle databaseOpenFile( |
86 const blink::WebString& vfs_file_name, int desired_flags); | 86 const blink::WebString& vfs_file_name, int desired_flags); |
87 virtual int databaseDeleteFile(const blink::WebString& vfs_file_name, | 87 virtual int databaseDeleteFile(const blink::WebString& vfs_file_name, |
88 bool sync_dir); | 88 bool sync_dir); |
89 virtual long databaseGetFileAttributes( | 89 virtual long databaseGetFileAttributes( |
90 const blink::WebString& vfs_file_name); | 90 const blink::WebString& vfs_file_name); |
91 virtual long long databaseGetFileSize( | 91 virtual long long databaseGetFileSize( |
92 const blink::WebString& vfs_file_name); | 92 const blink::WebString& vfs_file_name); |
93 virtual long long databaseGetSpaceAvailableForOrigin( | 93 virtual long long databaseGetSpaceAvailableForOrigin( |
94 const blink::WebString& origin_identifier); | 94 const blink::WebString& origin_identifier); |
| 95 virtual bool databaseSetFileSize( |
| 96 const blink::WebString& vfs_file_name, long long size); |
95 virtual blink::WebString signedPublicKeyAndChallengeString( | 97 virtual blink::WebString signedPublicKeyAndChallengeString( |
96 unsigned key_size_index, | 98 unsigned key_size_index, |
97 const blink::WebString& challenge, | 99 const blink::WebString& challenge, |
98 const blink::WebURL& url); | 100 const blink::WebURL& url); |
99 virtual void getPluginList(bool refresh, | 101 virtual void getPluginList(bool refresh, |
100 blink::WebPluginListBuilder* builder); | 102 blink::WebPluginListBuilder* builder); |
101 virtual blink::WebPublicSuffixList* publicSuffixList(); | 103 virtual blink::WebPublicSuffixList* publicSuffixList(); |
102 virtual void screenColorProfile(blink::WebVector<char>* to_profile); | 104 virtual void screenColorProfile(blink::WebVector<char>* to_profile); |
103 virtual blink::WebScrollbarBehavior* scrollbarBehavior(); | 105 virtual blink::WebScrollbarBehavior* scrollbarBehavior(); |
104 virtual blink::WebIDBFactory* idbFactory(); | 106 virtual blink::WebIDBFactory* idbFactory(); |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 device::VibrationManagerPtr vibration_manager_; | 261 device::VibrationManagerPtr vibration_manager_; |
260 | 262 |
261 IDMap<PlatformEventObserverBase, IDMapOwnPointer> platform_event_observers_; | 263 IDMap<PlatformEventObserverBase, IDMapOwnPointer> platform_event_observers_; |
262 | 264 |
263 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); | 265 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); |
264 }; | 266 }; |
265 | 267 |
266 } // namespace content | 268 } // namespace content |
267 | 269 |
268 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ | 270 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ |
OLD | NEW |