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

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

Issue 19871003: Simplify how we get the plugin list in the webkit platform support by removing the intermediate met… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 5 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
« no previous file with comments | « no previous file | content/child/webkitplatformsupport_impl.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) 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_CHILD_WEBKITPLATFORMSUPPORT_IMPL_H_ 5 #ifndef CONTENT_CHILD_WEBKITPLATFORMSUPPORT_IMPL_H_
6 #define CONTENT_CHILD_WEBKITPLATFORMSUPPORT_IMPL_H_ 6 #define CONTENT_CHILD_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/child/webkitplatformsupport_child_impl.h" 11 #include "webkit/child/webkitplatformsupport_child_impl.h"
12 12
13 namespace content { 13 namespace content {
14 14
15 // This is a specialization of WebKitPlatformSupportImpl that implements the 15 // This is a specialization of WebKitPlatformSupportImpl that implements the
16 // embedder functions in terms of ContentClient. 16 // embedder functions in terms of ContentClient.
17 class CONTENT_EXPORT WebKitPlatformSupportImpl 17 class CONTENT_EXPORT WebKitPlatformSupportImpl
18 : NON_EXPORTED_BASE(public webkit_glue::WebKitPlatformSupportChildImpl) { 18 : NON_EXPORTED_BASE(public webkit_glue::WebKitPlatformSupportChildImpl) {
19 public: 19 public:
20 typedef WebKit::WebGraphicsContext3D* (OffscreenContextFactory)(); 20 typedef WebKit::WebGraphicsContext3D* (OffscreenContextFactory)();
21 21
22 WebKitPlatformSupportImpl(); 22 WebKitPlatformSupportImpl();
23 virtual ~WebKitPlatformSupportImpl(); 23 virtual ~WebKitPlatformSupportImpl();
24 24
25 virtual string16 GetLocalizedString(int message_id) OVERRIDE; 25 virtual string16 GetLocalizedString(int message_id) OVERRIDE;
26 virtual base::StringPiece GetDataResource( 26 virtual base::StringPiece GetDataResource(
27 int resource_id, 27 int resource_id,
28 ui::ScaleFactor scale_factor) OVERRIDE; 28 ui::ScaleFactor scale_factor) OVERRIDE;
29 virtual void GetPlugins(bool refresh,
30 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE;
31 virtual webkit_glue::ResourceLoaderBridge* CreateResourceLoader( 29 virtual webkit_glue::ResourceLoaderBridge* CreateResourceLoader(
32 const webkit_glue::ResourceLoaderBridge::RequestInfo& request_info) 30 const webkit_glue::ResourceLoaderBridge::RequestInfo& request_info)
33 OVERRIDE; 31 OVERRIDE;
34 virtual webkit_glue::WebSocketStreamHandleBridge* CreateWebSocketBridge( 32 virtual webkit_glue::WebSocketStreamHandleBridge* CreateWebSocketBridge(
35 WebKit::WebSocketStreamHandle* handle, 33 WebKit::WebSocketStreamHandle* handle,
36 webkit_glue::WebSocketStreamHandleDelegate* delegate) OVERRIDE; 34 webkit_glue::WebSocketStreamHandleDelegate* delegate) OVERRIDE;
37 }; 35 };
38 36
39 } // namespace content 37 } // namespace content
40 38
41 #endif // CONTENT_CHILD_WEBKITPLATFORMSUPPORT_IMPL_H_ 39 #endif // CONTENT_CHILD_WEBKITPLATFORMSUPPORT_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/child/webkitplatformsupport_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698