OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "webkit/glue/webkitplatformsupport_impl.h" | 11 #include "content/common/content_webkitplatformsupport_impl.h" |
12 | 12 |
13 class PpapiWebKitPlatformSupportImpl : | 13 class PpapiWebKitPlatformSupportImpl : |
14 public webkit_glue::WebKitPlatformSupportImpl { | 14 public ContentWebKitPlatformSupportImpl { |
15 public: | 15 public: |
16 PpapiWebKitPlatformSupportImpl(); | 16 PpapiWebKitPlatformSupportImpl(); |
17 virtual ~PpapiWebKitPlatformSupportImpl(); | 17 virtual ~PpapiWebKitPlatformSupportImpl(); |
18 | 18 |
19 // WebKitPlatformSupport methods: | 19 // WebKitPlatformSupport methods: |
20 virtual WebKit::WebClipboard* clipboard(); | 20 virtual WebKit::WebClipboard* clipboard(); |
21 virtual WebKit::WebMimeRegistry* mimeRegistry(); | 21 virtual WebKit::WebMimeRegistry* mimeRegistry(); |
22 virtual WebKit::WebFileUtilities* fileUtilities(); | 22 virtual WebKit::WebFileUtilities* fileUtilities(); |
23 virtual WebKit::WebSandboxSupport* sandboxSupport(); | 23 virtual WebKit::WebSandboxSupport* sandboxSupport(); |
24 virtual bool sandboxEnabled(); | 24 virtual bool sandboxEnabled(); |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 const WebKit::WebString& keyPath); | 58 const WebKit::WebString& keyPath); |
59 | 59 |
60 private: | 60 private: |
61 class SandboxSupport; | 61 class SandboxSupport; |
62 scoped_ptr<SandboxSupport> sandbox_support_; | 62 scoped_ptr<SandboxSupport> sandbox_support_; |
63 | 63 |
64 DISALLOW_COPY_AND_ASSIGN(PpapiWebKitPlatformSupportImpl); | 64 DISALLOW_COPY_AND_ASSIGN(PpapiWebKitPlatformSupportImpl); |
65 }; | 65 }; |
66 | 66 |
67 #endif // CONTENT_PPAPI_PLUGIN_PPAPI_WEBKITPLATFORMSUPPORT_IMPL_H_ | 67 #endif // CONTENT_PPAPI_PLUGIN_PPAPI_WEBKITPLATFORMSUPPORT_IMPL_H_ |
OLD | NEW |