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

Side by Side Diff: content/common/webkitplatformsupport_impl.h

Issue 11227033: Move a bunch of code in content\common (as well as a few left in renderer) to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros Created 8 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/common/socket_stream_dispatcher.cc ('k') | content/common/webmessageportchannel_impl.h » ('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) 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_COMMON_CONTENT_WEBKITPLATFORMSUPPORT_IMPL_H_ 5 #ifndef CONTENT_COMMON_CONTENT_WEBKITPLATFORMSUPPORT_IMPL_H_
6 #define CONTENT_COMMON_CONTENT_WEBKITPLATFORMSUPPORT_IMPL_H_ 6 #define CONTENT_COMMON_CONTENT_WEBKITPLATFORMSUPPORT_IMPL_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 #include "ui/base/layout.h" 10 #include "ui/base/layout.h"
11 #include "webkit/glue/webkitplatformsupport_impl.h" 11 #include "webkit/glue/webkitplatformsupport_impl.h"
12 12
13 namespace content {
13 class GpuChannelHostFactory; 14 class GpuChannelHostFactory;
14 15
15 namespace content {
16
17 // This is a specialization of WebKitPlatformSupportImpl that implements the 16 // This is a specialization of WebKitPlatformSupportImpl that implements the
18 // embedder functions in terms of ContentClient. 17 // embedder functions in terms of ContentClient.
19 class CONTENT_EXPORT WebKitPlatformSupportImpl 18 class CONTENT_EXPORT WebKitPlatformSupportImpl
20 : NON_EXPORTED_BASE(public webkit_glue::WebKitPlatformSupportImpl) { 19 : NON_EXPORTED_BASE(public webkit_glue::WebKitPlatformSupportImpl) {
21 public: 20 public:
22 typedef WebKit::WebGraphicsContext3D* (OffscreenContextFactory)(); 21 typedef WebKit::WebGraphicsContext3D* (OffscreenContextFactory)();
23 22
24 WebKitPlatformSupportImpl(); 23 WebKitPlatformSupportImpl();
25 virtual ~WebKitPlatformSupportImpl(); 24 virtual ~WebKitPlatformSupportImpl();
26 25
(...skipping 15 matching lines...) Expand all
42 static void SetOffscreenContextFactoryForTest( 41 static void SetOffscreenContextFactoryForTest(
43 OffscreenContextFactory factory); 42 OffscreenContextFactory factory);
44 43
45 protected: 44 protected:
46 virtual GpuChannelHostFactory* GetGpuChannelHostFactory(); 45 virtual GpuChannelHostFactory* GetGpuChannelHostFactory();
47 }; 46 };
48 47
49 } // namespace content 48 } // namespace content
50 49
51 #endif // CONTENT_COMMON_CONTENT_WEBKITPLATFORMSUPPORT_IMPL_H_ 50 #endif // CONTENT_COMMON_CONTENT_WEBKITPLATFORMSUPPORT_IMPL_H_
OLDNEW
« no previous file with comments | « content/common/socket_stream_dispatcher.cc ('k') | content/common/webmessageportchannel_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698