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

Side by Side Diff: content/renderer/renderer_webkitplatformsupport_impl.h

Issue 11232014: Move a bunch of code in content\renderer to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 years, 2 months 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) 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_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_
6 #define CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ 6 #define CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/platform_file.h" 10 #include "base/platform_file.h"
11 #include "content/common/content_export.h" 11 #include "content/common/content_export.h"
12 #include "content/common/webkitplatformsupport_impl.h" 12 #include "content/common/webkitplatformsupport_impl.h"
13 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebGraphicsC ontext3D.h" 13 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebGraphicsC ontext3D.h"
14 14
15 class RendererClipboardClient;
16 class WebSharedWorkerRepositoryImpl; 15 class WebSharedWorkerRepositoryImpl;
17 class WebFileSystemImpl; 16 class WebFileSystemImpl;
18 17
19 namespace content {
20 class GamepadSharedMemoryReader;
21 class Hyphenator;
22 }
23
24 namespace webkit_glue { 18 namespace webkit_glue {
25 class WebClipboardImpl; 19 class WebClipboardImpl;
26 } 20 }
27 21
22 namespace content {
23 class GamepadSharedMemoryReader;
24 class Hyphenator;
25 class RendererClipboardClient;
26
28 class CONTENT_EXPORT RendererWebKitPlatformSupportImpl 27 class CONTENT_EXPORT RendererWebKitPlatformSupportImpl
29 : public content::WebKitPlatformSupportImpl { 28 : public WebKitPlatformSupportImpl {
30 public: 29 public:
31 RendererWebKitPlatformSupportImpl(); 30 RendererWebKitPlatformSupportImpl();
32 virtual ~RendererWebKitPlatformSupportImpl(); 31 virtual ~RendererWebKitPlatformSupportImpl();
33 32
34 void set_plugin_refresh_allowed(bool plugin_refresh_allowed) { 33 void set_plugin_refresh_allowed(bool plugin_refresh_allowed) {
35 plugin_refresh_allowed_ = plugin_refresh_allowed; 34 plugin_refresh_allowed_ = plugin_refresh_allowed;
36 } 35 }
37 // WebKitPlatformSupport methods: 36 // WebKitPlatformSupport methods:
38 virtual WebKit::WebClipboard* clipboard() OVERRIDE; 37 virtual WebKit::WebClipboard* clipboard() OVERRIDE;
39 virtual WebKit::WebMimeRegistry* mimeRegistry() OVERRIDE; 38 virtual WebKit::WebMimeRegistry* mimeRegistry() OVERRIDE;
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 // Implementation of the WebSharedWorkerRepository APIs (provides an interface 131 // Implementation of the WebSharedWorkerRepository APIs (provides an interface
133 // to WorkerService on the browser thread. 132 // to WorkerService on the browser thread.
134 scoped_ptr<WebSharedWorkerRepositoryImpl> shared_worker_repository_; 133 scoped_ptr<WebSharedWorkerRepositoryImpl> shared_worker_repository_;
135 134
136 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_; 135 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_;
137 136
138 scoped_ptr<WebFileSystemImpl> web_file_system_; 137 scoped_ptr<WebFileSystemImpl> web_file_system_;
139 138
140 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; 139 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_;
141 140
142 scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_; 141 scoped_ptr<GamepadSharedMemoryReader> gamepad_shared_memory_reader_;
143 142
144 scoped_ptr<content::Hyphenator> hyphenator_; 143 scoped_ptr<content::Hyphenator> hyphenator_;
145 }; 144 };
146 145
146 } // namespace content
147
147 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ 148 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/renderer_webcookiejar_impl.cc ('k') | content/renderer/renderer_webkitplatformsupport_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698