Chromium Code Reviews| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 84 virtual blink::Platform::FileHandle databaseOpenFile( | 84 virtual blink::Platform::FileHandle databaseOpenFile( |
| 85 const blink::WebString& vfs_file_name, int desired_flags); | 85 const blink::WebString& vfs_file_name, int desired_flags); |
| 86 virtual int databaseDeleteFile(const blink::WebString& vfs_file_name, | 86 virtual int databaseDeleteFile(const blink::WebString& vfs_file_name, |
| 87 bool sync_dir); | 87 bool sync_dir); |
| 88 virtual long databaseGetFileAttributes( | 88 virtual long databaseGetFileAttributes( |
| 89 const blink::WebString& vfs_file_name); | 89 const blink::WebString& vfs_file_name); |
| 90 virtual long long databaseGetFileSize( | 90 virtual long long databaseGetFileSize( |
| 91 const blink::WebString& vfs_file_name); | 91 const blink::WebString& vfs_file_name); |
| 92 virtual long long databaseGetSpaceAvailableForOrigin( | 92 virtual long long databaseGetSpaceAvailableForOrigin( |
| 93 const blink::WebString& origin_identifier); | 93 const blink::WebString& origin_identifier); |
| 94 virtual bool databaseSetFileSize( | |
| 95 const blink::WebString& vfs_file_name, long long size); | |
|
michaeln
2015/04/01 23:43:26
oh, is it saying to use 'override' here instead of
Scott Hess - ex-Googler
2015/04/02 22:52:41
I think that if it's a Platform method, it's fine,
| |
| 94 virtual blink::WebString signedPublicKeyAndChallengeString( | 96 virtual blink::WebString signedPublicKeyAndChallengeString( |
| 95 unsigned key_size_index, | 97 unsigned key_size_index, |
| 96 const blink::WebString& challenge, | 98 const blink::WebString& challenge, |
| 97 const blink::WebURL& url); | 99 const blink::WebURL& url); |
| 98 virtual void getPluginList(bool refresh, | 100 virtual void getPluginList(bool refresh, |
| 99 blink::WebPluginListBuilder* builder); | 101 blink::WebPluginListBuilder* builder); |
| 100 virtual blink::WebPublicSuffixList* publicSuffixList(); | 102 virtual blink::WebPublicSuffixList* publicSuffixList(); |
| 101 virtual void screenColorProfile(blink::WebVector<char>* to_profile); | 103 virtual void screenColorProfile(blink::WebVector<char>* to_profile); |
| 102 virtual blink::WebScrollbarBehavior* scrollbarBehavior(); | 104 virtual blink::WebScrollbarBehavior* scrollbarBehavior(); |
| 103 virtual blink::WebIDBFactory* idbFactory(); | 105 virtual blink::WebIDBFactory* idbFactory(); |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 256 device::VibrationManagerPtr vibration_manager_; | 258 device::VibrationManagerPtr vibration_manager_; |
| 257 | 259 |
| 258 IDMap<PlatformEventObserverBase, IDMapOwnPointer> platform_event_observers_; | 260 IDMap<PlatformEventObserverBase, IDMapOwnPointer> platform_event_observers_; |
| 259 | 261 |
| 260 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); | 262 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); |
| 261 }; | 263 }; |
| 262 | 264 |
| 263 } // namespace content | 265 } // namespace content |
| 264 | 266 |
| 265 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ | 267 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ |
| OLD | NEW |