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

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

Issue 11225021: Move flash clipboard to the new proxy and add custom format support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 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
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 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h" 5 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/callback_helpers.h" 8 #include "base/callback_helpers.h"
9 #include "base/debug/trace_event.h" 9 #include "base/debug/trace_event.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 2859 matching lines...) Expand 10 before | Expand all | Expand 10 after
2870 PP_Bool PluginInstance::GetScreenSize(PP_Instance instance, PP_Size* size) { 2870 PP_Bool PluginInstance::GetScreenSize(PP_Instance instance, PP_Size* size) {
2871 gfx::Size screen_size = delegate()->GetScreenSize(); 2871 gfx::Size screen_size = delegate()->GetScreenSize();
2872 *size = PP_MakeSize(screen_size.width(), screen_size.height()); 2872 *size = PP_MakeSize(screen_size.width(), screen_size.height());
2873 return PP_TRUE; 2873 return PP_TRUE;
2874 } 2874 }
2875 2875
2876 ::ppapi::thunk::PPB_Flash_API* PluginInstance::GetFlashAPI() { 2876 ::ppapi::thunk::PPB_Flash_API* PluginInstance::GetFlashAPI() {
2877 return &flash_impl_; 2877 return &flash_impl_;
2878 } 2878 }
2879 2879
2880 ::ppapi::thunk::PPB_Flash_Clipboard_API*
2881 PluginInstance::GetFlashClipboardAPI(PP_Instance /*instance*/) {
2882 NOTIMPLEMENTED();
2883 return NULL;
2884 }
2885
2880 ::ppapi::thunk::PPB_Flash_Functions_API* 2886 ::ppapi::thunk::PPB_Flash_Functions_API*
2881 PluginInstance::GetFlashFunctionsAPI(PP_Instance /*instance*/) { 2887 PluginInstance::GetFlashFunctionsAPI(PP_Instance /*instance*/) {
2882 NOTIMPLEMENTED(); 2888 NOTIMPLEMENTED();
2883 return NULL; 2889 return NULL;
2884 } 2890 }
2885 2891
2886 ::ppapi::thunk::PPB_Gamepad_API* PluginInstance::GetGamepadAPI( 2892 ::ppapi::thunk::PPB_Gamepad_API* PluginInstance::GetGamepadAPI(
2887 PP_Instance /* instance */) { 2893 PP_Instance /* instance */) {
2888 return &gamepad_impl_; 2894 return &gamepad_impl_;
2889 } 2895 }
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
3228 screen_size_for_fullscreen_ = gfx::Size(); 3234 screen_size_for_fullscreen_ = gfx::Size();
3229 WebElement element = container_->element(); 3235 WebElement element = container_->element();
3230 element.setAttribute(WebString::fromUTF8(kWidth), width_before_fullscreen_); 3236 element.setAttribute(WebString::fromUTF8(kWidth), width_before_fullscreen_);
3231 element.setAttribute(WebString::fromUTF8(kHeight), height_before_fullscreen_); 3237 element.setAttribute(WebString::fromUTF8(kHeight), height_before_fullscreen_);
3232 element.setAttribute(WebString::fromUTF8(kBorder), border_before_fullscreen_); 3238 element.setAttribute(WebString::fromUTF8(kBorder), border_before_fullscreen_);
3233 element.setAttribute(WebString::fromUTF8(kStyle), style_before_fullscreen_); 3239 element.setAttribute(WebString::fromUTF8(kStyle), style_before_fullscreen_);
3234 } 3240 }
3235 3241
3236 } // namespace ppapi 3242 } // namespace ppapi
3237 } // namespace webkit 3243 } // namespace webkit
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698