| 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" |
| 11 | 11 |
| 12 class PpapiWebKitPlatformSupportImpl : | 12 namespace content { |
| 13 public content::WebKitPlatformSupportImpl { | 13 |
| 14 class PpapiWebKitPlatformSupportImpl : public WebKitPlatformSupportImpl { |
| 14 public: | 15 public: |
| 15 PpapiWebKitPlatformSupportImpl(); | 16 PpapiWebKitPlatformSupportImpl(); |
| 16 virtual ~PpapiWebKitPlatformSupportImpl(); | 17 virtual ~PpapiWebKitPlatformSupportImpl(); |
| 17 | 18 |
| 18 // WebKitPlatformSupport methods: | 19 // WebKitPlatformSupport methods: |
| 19 virtual WebKit::WebClipboard* clipboard(); | 20 virtual WebKit::WebClipboard* clipboard(); |
| 20 virtual WebKit::WebMimeRegistry* mimeRegistry(); | 21 virtual WebKit::WebMimeRegistry* mimeRegistry(); |
| 21 virtual WebKit::WebFileUtilities* fileUtilities(); | 22 virtual WebKit::WebFileUtilities* fileUtilities(); |
| 22 virtual WebKit::WebSandboxSupport* sandboxSupport(); | 23 virtual WebKit::WebSandboxSupport* sandboxSupport(); |
| 23 virtual bool sandboxEnabled(); | 24 virtual bool sandboxEnabled(); |
| (...skipping 24 matching lines...) Expand all Loading... |
| 48 virtual int databaseDeleteFile(const WebKit::WebString& vfs_file_name, | 49 virtual int databaseDeleteFile(const WebKit::WebString& vfs_file_name, |
| 49 bool sync_dir); | 50 bool sync_dir); |
| 50 | 51 |
| 51 private: | 52 private: |
| 52 class SandboxSupport; | 53 class SandboxSupport; |
| 53 scoped_ptr<SandboxSupport> sandbox_support_; | 54 scoped_ptr<SandboxSupport> sandbox_support_; |
| 54 | 55 |
| 55 DISALLOW_COPY_AND_ASSIGN(PpapiWebKitPlatformSupportImpl); | 56 DISALLOW_COPY_AND_ASSIGN(PpapiWebKitPlatformSupportImpl); |
| 56 }; | 57 }; |
| 57 | 58 |
| 59 } // namespace content |
| 60 |
| 58 #endif // CONTENT_PPAPI_PLUGIN_PPAPI_WEBKITPLATFORMSUPPORT_IMPL_H_ | 61 #endif // CONTENT_PPAPI_PLUGIN_PPAPI_WEBKITPLATFORMSUPPORT_IMPL_H_ |
| OLD | NEW |