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

Side by Side Diff: content/worker/worker_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
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_WORKER_WORKER_WEBKITPLATFORMSUPPORT_IMPL_H_ 5 #ifndef CONTENT_WORKER_WORKER_WEBKITPLATFORMSUPPORT_IMPL_H_
6 #define CONTENT_WORKER_WORKER_WEBKITPLATFORMSUPPORT_IMPL_H_ 6 #define CONTENT_WORKER_WORKER_WEBKITPLATFORMSUPPORT_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "content/common/webkitplatformsupport_impl.h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMimeRegistry.h" 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMimeRegistry.h"
11 #include "webkit/glue/webkitplatformsupport_impl.h"
12 12
13 class WebFileSystemImpl; 13 class WebFileSystemImpl;
14 14
15 namespace WebKit { 15 namespace WebKit {
16 class WebFileUtilities; 16 class WebFileUtilities;
17 } 17 }
18 18
19 class WorkerWebKitPlatformSupportImpl 19 class WorkerWebKitPlatformSupportImpl
20 : public webkit_glue::WebKitPlatformSupportImpl, 20 : public content::WebKitPlatformSupportImpl,
21 public WebKit::WebMimeRegistry { 21 public WebKit::WebMimeRegistry {
22 public: 22 public:
23 WorkerWebKitPlatformSupportImpl(); 23 WorkerWebKitPlatformSupportImpl();
24 virtual ~WorkerWebKitPlatformSupportImpl(); 24 virtual ~WorkerWebKitPlatformSupportImpl();
25 25
26 // WebKitPlatformSupport methods: 26 // WebKitPlatformSupport methods:
27 virtual WebKit::WebClipboard* clipboard(); 27 virtual WebKit::WebClipboard* clipboard();
28 virtual WebKit::WebMimeRegistry* mimeRegistry(); 28 virtual WebKit::WebMimeRegistry* mimeRegistry();
29 virtual WebKit::WebFileSystem* fileSystem(); 29 virtual WebKit::WebFileSystem* fileSystem();
30 virtual WebKit::WebFileUtilities* fileUtilities(); 30 virtual WebKit::WebFileUtilities* fileUtilities();
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 85
86 class FileUtilities; 86 class FileUtilities;
87 scoped_ptr<FileUtilities> file_utilities_; 87 scoped_ptr<FileUtilities> file_utilities_;
88 88
89 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; 89 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_;
90 90
91 scoped_ptr<WebFileSystemImpl> web_file_system_; 91 scoped_ptr<WebFileSystemImpl> web_file_system_;
92 }; 92 };
93 93
94 #endif // CONTENT_WORKER_WORKER_WEBKITPLATFORMSUPPORT_IMPL_H_ 94 #endif // CONTENT_WORKER_WORKER_WEBKITPLATFORMSUPPORT_IMPL_H_
OLDNEW
« no previous file with comments | « content/utility/utility_thread_impl.cc ('k') | ui/gfx/compositor/test/compositor_test_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698