Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(390)

Side by Side Diff: content/ppapi_plugin/ppapi_webkitplatformsupport_impl.h

Issue 8602002: Move some webkit_glue embedder functions into WebKitPlatformSupport virtual methods (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: copyright year Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/content_renderer.gypi ('k') | content/renderer/renderer_glue.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/webkitplatformsupport_impl.h"
12 12
13 class PpapiWebKitPlatformSupportImpl : 13 class PpapiWebKitPlatformSupportImpl :
14 public webkit_glue::WebKitPlatformSupportImpl { 14 public content::WebKitPlatformSupportImpl {
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
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_
OLDNEW
« no previous file with comments | « content/content_renderer.gypi ('k') | content/renderer/renderer_glue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698