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_PPAPI_PLUGIN_PPAPI_WEBKITPLATFORMSUPPORT_IMPL_H_ | 5 #ifndef CONTENT_PPAPI_PLUGIN_PPAPI_WEBKITPLATFORMSUPPORT_IMPL_H_ |
6 #define CONTENT_PPAPI_PLUGIN_PPAPI_WEBKITPLATFORMSUPPORT_IMPL_H_ | 6 #define CONTENT_PPAPI_PLUGIN_PPAPI_WEBKITPLATFORMSUPPORT_IMPL_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "content/common/webkitplatformsupport_impl.h" | 10 #include "content/common/webkitplatformsupport_impl.h" |
(...skipping 29 matching lines...) Expand all Loading... |
40 virtual WebKit::WebData loadResource(const char* name); | 40 virtual WebKit::WebData loadResource(const char* name); |
41 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace( | 41 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace( |
42 const WebKit::WebString& path, unsigned quota); | 42 const WebKit::WebString& path, unsigned quota); |
43 virtual void dispatchStorageEvent(const WebKit::WebString& key, | 43 virtual void dispatchStorageEvent(const WebKit::WebString& key, |
44 const WebKit::WebString& oldValue, const WebKit::WebString& newValue, | 44 const WebKit::WebString& oldValue, const WebKit::WebString& newValue, |
45 const WebKit::WebString& origin, const WebKit::WebURL& url, | 45 const WebKit::WebString& origin, const WebKit::WebURL& url, |
46 bool isLocalStorage); | 46 bool isLocalStorage); |
47 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository(); | 47 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository(); |
48 virtual int databaseDeleteFile(const WebKit::WebString& vfs_file_name, | 48 virtual int databaseDeleteFile(const WebKit::WebString& vfs_file_name, |
49 bool sync_dir); | 49 bool sync_dir); |
50 virtual void createIDBKeysFromSerializedValuesAndKeyPath( | |
51 const WebKit::WebVector<WebKit::WebSerializedScriptValue>& values, | |
52 const WebKit::WebIDBKeyPath& keyPath, | |
53 WebKit::WebVector<WebKit::WebIDBKey>& keys); | |
54 virtual WebKit::WebSerializedScriptValue injectIDBKeyIntoSerializedValue( | |
55 const WebKit::WebIDBKey& key, | |
56 const WebKit::WebSerializedScriptValue& value, | |
57 const WebKit::WebIDBKeyPath& keyPath); | |
58 | 50 |
59 private: | 51 private: |
60 class SandboxSupport; | 52 class SandboxSupport; |
61 scoped_ptr<SandboxSupport> sandbox_support_; | 53 scoped_ptr<SandboxSupport> sandbox_support_; |
62 | 54 |
63 DISALLOW_COPY_AND_ASSIGN(PpapiWebKitPlatformSupportImpl); | 55 DISALLOW_COPY_AND_ASSIGN(PpapiWebKitPlatformSupportImpl); |
64 }; | 56 }; |
65 | 57 |
66 #endif // CONTENT_PPAPI_PLUGIN_PPAPI_WEBKITPLATFORMSUPPORT_IMPL_H_ | 58 #endif // CONTENT_PPAPI_PLUGIN_PPAPI_WEBKITPLATFORMSUPPORT_IMPL_H_ |
OLD | NEW |