Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 // This is a specialization of WebKitPlatformSupportImpl that implements the | |
| 14 // embedder functions in terms of ContentClient. | |
| 15 class CONTENT_EXPORT ContentWebKitPlatformSupportImpl | |
|
jam
2011/11/19 23:13:46
we try to avoid putting Content in class names, si
piman
2011/11/21 22:05:04
Done.
| |
| 16 : NON_EXPORTED_BASE(public webkit_glue::WebKitPlatformSupportImpl) { | |
| 17 public: | |
| 18 ContentWebKitPlatformSupportImpl(); | |
| 19 virtual ~ContentWebKitPlatformSupportImpl(); | |
| 20 | |
| 21 virtual string16 GetLocalizedString(int message_id) OVERRIDE; | |
| 22 virtual base::StringPiece GetDataResource(int resource_id) OVERRIDE; | |
| 23 virtual void GetPlugins(bool refresh, | |
| 24 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE; | |
| 25 virtual webkit_glue::ResourceLoaderBridge* CreateResourceLoader( | |
| 26 const webkit_glue::ResourceLoaderBridge::RequestInfo& request_info) | |
| 27 OVERRIDE; | |
| 28 virtual webkit_glue::WebSocketStreamHandleBridge* CreateWebSocketBridge( | |
| 29 WebKit::WebSocketStreamHandle* handle, | |
| 30 webkit_glue::WebSocketStreamHandleDelegate* delegate) OVERRIDE; | |
| 31 }; | |
| 32 | |
| 33 #endif // CONTENT_COMMON_CONTENT_WEBKITPLATFORMSUPPORT_IMPL_H_ | |
| 34 | |
| OLD | NEW |