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

Side by Side Diff: webkit/support/test_webkit_platform_support.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
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 WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ 5 #ifndef WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_
6 #define WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ 6 #define WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/files/scoped_temp_dir.h" 9 #include "base/files/scoped_temp_dir.h"
10 #include "third_party/WebKit/public/platform/WebGamepads.h" 10 #include "third_party/WebKit/public/platform/WebGamepads.h"
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 unsigned numberOfChannels, double sampleRate, 101 unsigned numberOfChannels, double sampleRate,
102 WebKit::WebAudioDevice::RenderCallback*); 102 WebKit::WebAudioDevice::RenderCallback*);
103 103
104 virtual void sampleGamepads(WebKit::WebGamepads& data); 104 virtual void sampleGamepads(WebKit::WebGamepads& data);
105 void setGamepadData(const WebKit::WebGamepads& data); 105 void setGamepadData(const WebKit::WebGamepads& data);
106 106
107 virtual base::string16 GetLocalizedString(int message_id) OVERRIDE; 107 virtual base::string16 GetLocalizedString(int message_id) OVERRIDE;
108 virtual base::StringPiece GetDataResource( 108 virtual base::StringPiece GetDataResource(
109 int resource_id, 109 int resource_id,
110 ui::ScaleFactor scale_factor) OVERRIDE; 110 ui::ScaleFactor scale_factor) OVERRIDE;
111 virtual void GetPlugins(bool refresh,
112 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE;
113 virtual webkit_glue::ResourceLoaderBridge* CreateResourceLoader( 111 virtual webkit_glue::ResourceLoaderBridge* CreateResourceLoader(
114 const webkit_glue::ResourceLoaderBridge::RequestInfo& request_info) 112 const webkit_glue::ResourceLoaderBridge::RequestInfo& request_info)
115 OVERRIDE; 113 OVERRIDE;
116 virtual webkit_glue::WebSocketStreamHandleBridge* CreateWebSocketBridge( 114 virtual webkit_glue::WebSocketStreamHandleBridge* CreateWebSocketBridge(
117 WebKit::WebSocketStreamHandle* handle, 115 WebKit::WebSocketStreamHandle* handle,
118 webkit_glue::WebSocketStreamHandleDelegate* delegate) OVERRIDE; 116 webkit_glue::WebSocketStreamHandleDelegate* delegate) OVERRIDE;
119 117
120 virtual WebKit::WebMediaStreamCenter* createMediaStreamCenter( 118 virtual WebKit::WebMediaStreamCenter* createMediaStreamCenter(
121 WebKit::WebMediaStreamCenterClient* client); 119 WebKit::WebMediaStreamCenterClient* client);
122 virtual WebKit::WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler( 120 virtual WebKit::WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler(
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 156
159 scoped_refptr<cc::ContextProvider> main_thread_contexts_; 157 scoped_refptr<cc::ContextProvider> main_thread_contexts_;
160 158
161 #if defined(OS_WIN) || defined(OS_MACOSX) 159 #if defined(OS_WIN) || defined(OS_MACOSX)
162 WebKit::WebThemeEngine* active_theme_engine_; 160 WebKit::WebThemeEngine* active_theme_engine_;
163 #endif 161 #endif
164 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport); 162 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport);
165 }; 163 };
166 164
167 #endif // WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ 165 #endif // WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_
OLDNEW
« no previous file with comments | « webkit/glue/webkitplatformsupport_impl.cc ('k') | webkit/support/test_webkit_platform_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698