| 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_WEBKITCLIENT_IMPL_H_ | 5 #ifndef CONTENT_PPAPI_PLUGIN_PPAPI_WEBKITCLIENT_IMPL_H_ |
| 6 #define CONTENT_PPAPI_PLUGIN_PPAPI_WEBKITCLIENT_IMPL_H_ | 6 #define CONTENT_PPAPI_PLUGIN_PPAPI_WEBKITCLIENT_IMPL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "webkit/glue/webkitclient_impl.h" | 11 #include "webkit/glue/webkitclient_impl.h" |
| 12 | 12 |
| 13 class PpapiWebKitClientImpl : public webkit_glue::WebKitClientImpl { | 13 class PpapiWebKitClientImpl : public webkit_glue::WebKitClientImpl { |
| 14 public: | 14 public: |
| 15 PpapiWebKitClientImpl(); | 15 PpapiWebKitClientImpl(); |
| 16 virtual ~PpapiWebKitClientImpl(); | 16 virtual ~PpapiWebKitClientImpl(); |
| 17 | 17 |
| 18 // WebKitClient methods: | 18 // WebKitClient methods: |
| 19 virtual WebKit::WebClipboard* clipboard(); | 19 virtual WebKit::WebClipboard* clipboard(); |
| 20 virtual WebKit::WebMimeRegistry* mimeRegistry(); | 20 virtual WebKit::WebMimeRegistry* mimeRegistry(); |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 const WebKit::WebString& keyPath); | 57 const WebKit::WebString& keyPath); |
| 58 | 58 |
| 59 private: | 59 private: |
| 60 class SandboxSupport; | 60 class SandboxSupport; |
| 61 scoped_ptr<SandboxSupport> sandbox_support_; | 61 scoped_ptr<SandboxSupport> sandbox_support_; |
| 62 | 62 |
| 63 DISALLOW_COPY_AND_ASSIGN(PpapiWebKitClientImpl); | 63 DISALLOW_COPY_AND_ASSIGN(PpapiWebKitClientImpl); |
| 64 }; | 64 }; |
| 65 | 65 |
| 66 #endif // CONTENT_PPAPI_PLUGIN_PPAPI_WEBKITCLIENT_IMPL_H_ | 66 #endif // CONTENT_PPAPI_PLUGIN_PPAPI_WEBKITCLIENT_IMPL_H_ |
| OLD | NEW |