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

Side by Side Diff: webkit/plugins/ppapi/mock_plugin_delegate.cc

Issue 7740056: Revert 98767 - Reimplement the Pepper fullscreen API to use webkitRequestFullScreen and friends. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 3 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 | « webkit/plugins/ppapi/mock_plugin_delegate.h ('k') | webkit/plugins/ppapi/plugin_delegate.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) 2011 The Chromium Authors. All rights reserved. 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 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 #include "webkit/plugins/ppapi/mock_plugin_delegate.h" 5 #include "webkit/plugins/ppapi/mock_plugin_delegate.h"
6 6
7 #include "base/message_loop_proxy.h" 7 #include "base/message_loop_proxy.h"
8 #include "ppapi/c/pp_errors.h" 8 #include "ppapi/c/pp_errors.h"
9 #include "ppapi/shared_impl/ppapi_preferences.h" 9 #include "ppapi/shared_impl/ppapi_preferences.h"
10 10
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 return PP_ERROR_FAILED; 216 return PP_ERROR_FAILED;
217 } 217 }
218 218
219 int32_t MockPluginDelegate::ShowContextMenu( 219 int32_t MockPluginDelegate::ShowContextMenu(
220 PluginInstance* instance, 220 PluginInstance* instance,
221 webkit::ppapi::PPB_Flash_Menu_Impl* menu, 221 webkit::ppapi::PPB_Flash_Menu_Impl* menu,
222 const gfx::Point& position) { 222 const gfx::Point& position) {
223 return PP_ERROR_FAILED; 223 return PP_ERROR_FAILED;
224 } 224 }
225 225
226 FullscreenContainer* MockPluginDelegate::CreateFullscreenContainer(
227 PluginInstance* instance) {
228 return NULL;
229 }
230
226 gfx::Size MockPluginDelegate::GetScreenSize() { 231 gfx::Size MockPluginDelegate::GetScreenSize() {
227 return gfx::Size(1024, 768); 232 return gfx::Size(1024, 768);
228 } 233 }
229 234
230 std::string MockPluginDelegate::GetDefaultEncoding() { 235 std::string MockPluginDelegate::GetDefaultEncoding() {
231 return "iso-8859-1"; 236 return "iso-8859-1";
232 } 237 }
233 238
234 void MockPluginDelegate::ZoomLimitsChanged(double minimum_factor, 239 void MockPluginDelegate::ZoomLimitsChanged(double minimum_factor,
235 double maximum_factor) { 240 double maximum_factor) {
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 uint32_t size) { 279 uint32_t size) {
275 return NULL; 280 return NULL;
276 } 281 }
277 282
278 ::ppapi::Preferences MockPluginDelegate::GetPreferences() { 283 ::ppapi::Preferences MockPluginDelegate::GetPreferences() {
279 return ::ppapi::Preferences(); 284 return ::ppapi::Preferences();
280 } 285 }
281 286
282 } // namespace ppapi 287 } // namespace ppapi
283 } // namespace webkit 288 } // namespace webkit
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/mock_plugin_delegate.h ('k') | webkit/plugins/ppapi/plugin_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698