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

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
« no previous file with comments | « webkit/plugins/ppapi/ppapi_plugin_instance.h ('k') | webkit/plugins/ppapi/ppb_flash_impl.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) 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 2864 matching lines...) Expand 10 before | Expand all | Expand 10 after
2875 PP_Bool PluginInstance::GetScreenSize(PP_Instance instance, PP_Size* size) { 2875 PP_Bool PluginInstance::GetScreenSize(PP_Instance instance, PP_Size* size) {
2876 gfx::Size screen_size = delegate()->GetScreenSize(); 2876 gfx::Size screen_size = delegate()->GetScreenSize();
2877 *size = PP_MakeSize(screen_size.width(), screen_size.height()); 2877 *size = PP_MakeSize(screen_size.width(), screen_size.height());
2878 return PP_TRUE; 2878 return PP_TRUE;
2879 } 2879 }
2880 2880
2881 ::ppapi::thunk::PPB_Flash_API* PluginInstance::GetFlashAPI() { 2881 ::ppapi::thunk::PPB_Flash_API* PluginInstance::GetFlashAPI() {
2882 return &flash_impl_; 2882 return &flash_impl_;
2883 } 2883 }
2884 2884
2885 ::ppapi::thunk::PPB_Flash_Clipboard_API*
2886 PluginInstance::GetFlashClipboardAPI(PP_Instance /*instance*/) {
2887 NOTIMPLEMENTED();
2888 return NULL;
2889 }
2890
2885 ::ppapi::thunk::PPB_Flash_Functions_API* 2891 ::ppapi::thunk::PPB_Flash_Functions_API*
2886 PluginInstance::GetFlashFunctionsAPI(PP_Instance /*instance*/) { 2892 PluginInstance::GetFlashFunctionsAPI(PP_Instance /*instance*/) {
2887 NOTIMPLEMENTED(); 2893 NOTIMPLEMENTED();
2888 return NULL; 2894 return NULL;
2889 } 2895 }
2890 2896
2891 ::ppapi::thunk::PPB_Gamepad_API* PluginInstance::GetGamepadAPI( 2897 ::ppapi::thunk::PPB_Gamepad_API* PluginInstance::GetGamepadAPI(
2892 PP_Instance /* instance */) { 2898 PP_Instance /* instance */) {
2893 return &gamepad_impl_; 2899 return &gamepad_impl_;
2894 } 2900 }
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
3233 screen_size_for_fullscreen_ = gfx::Size(); 3239 screen_size_for_fullscreen_ = gfx::Size();
3234 WebElement element = container_->element(); 3240 WebElement element = container_->element();
3235 element.setAttribute(WebString::fromUTF8(kWidth), width_before_fullscreen_); 3241 element.setAttribute(WebString::fromUTF8(kWidth), width_before_fullscreen_);
3236 element.setAttribute(WebString::fromUTF8(kHeight), height_before_fullscreen_); 3242 element.setAttribute(WebString::fromUTF8(kHeight), height_before_fullscreen_);
3237 element.setAttribute(WebString::fromUTF8(kBorder), border_before_fullscreen_); 3243 element.setAttribute(WebString::fromUTF8(kBorder), border_before_fullscreen_);
3238 element.setAttribute(WebString::fromUTF8(kStyle), style_before_fullscreen_); 3244 element.setAttribute(WebString::fromUTF8(kStyle), style_before_fullscreen_);
3239 } 3245 }
3240 3246
3241 } // namespace ppapi 3247 } // namespace ppapi
3242 } // namespace webkit 3248 } // namespace webkit
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/ppapi_plugin_instance.h ('k') | webkit/plugins/ppapi/ppb_flash_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698