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

Side by Side Diff: content/common/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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_COMMON_CONTENT_WEBKITPLATFORMSUPPORT_IMPL_H_
6 #define CONTENT_COMMON_CONTENT_WEBKITPLATFORMSUPPORT_IMPL_H_
7 #pragma once
8
9 #include "base/compiler_specific.h"
10 #include "content/common/content_export.h"
11 #include "webkit/glue/webkitplatformsupport_impl.h"
12
13 namespace content {
14
15 // This is a specialization of WebKitPlatformSupportImpl that implements the
16 // embedder functions in terms of ContentClient.
17 class CONTENT_EXPORT WebKitPlatformSupportImpl
18 : NON_EXPORTED_BASE(public webkit_glue::WebKitPlatformSupportImpl) {
19 public:
20 WebKitPlatformSupportImpl();
21 virtual ~WebKitPlatformSupportImpl();
22
23 virtual string16 GetLocalizedString(int message_id) OVERRIDE;
24 virtual base::StringPiece GetDataResource(int resource_id) OVERRIDE;
25 virtual void GetPlugins(bool refresh,
26 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE;
27 virtual webkit_glue::ResourceLoaderBridge* CreateResourceLoader(
28 const webkit_glue::ResourceLoaderBridge::RequestInfo& request_info)
29 OVERRIDE;
30 virtual webkit_glue::WebSocketStreamHandleBridge* CreateWebSocketBridge(
31 WebKit::WebSocketStreamHandle* handle,
32 webkit_glue::WebSocketStreamHandleDelegate* delegate) OVERRIDE;
33 };
34
35 } // namespace content
36
37 #endif // CONTENT_COMMON_CONTENT_WEBKITPLATFORMSUPPORT_IMPL_H_
38
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_sandbox_host_linux.cc ('k') | content/common/webkitplatformsupport_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698