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

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

Issue 11359097: Refactored the PPB_Flash_File_ModuleLocal/FileRef to the new ppapi resource model (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years 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 2105 matching lines...) Expand 10 before | Expand all | Expand 10 after
2116 ::ppapi::thunk::PPB_Flash_API* PluginInstance::GetFlashAPI() { 2116 ::ppapi::thunk::PPB_Flash_API* PluginInstance::GetFlashAPI() {
2117 return &flash_impl_; 2117 return &flash_impl_;
2118 } 2118 }
2119 2119
2120 ::ppapi::thunk::PPB_Flash_Clipboard_API* 2120 ::ppapi::thunk::PPB_Flash_Clipboard_API*
2121 PluginInstance::GetFlashClipboardAPI(PP_Instance /*instance*/) { 2121 PluginInstance::GetFlashClipboardAPI(PP_Instance /*instance*/) {
2122 NOTIMPLEMENTED(); 2122 NOTIMPLEMENTED();
2123 return NULL; 2123 return NULL;
2124 } 2124 }
2125 2125
2126 ::ppapi::thunk::PPB_Flash_File_API*
2127 PluginInstance::GetFlashFileAPI(PP_Instance /*instance*/) {
2128 NOTIMPLEMENTED();
2129 return NULL;
2130 }
2131
2126 ::ppapi::thunk::PPB_Flash_Functions_API* 2132 ::ppapi::thunk::PPB_Flash_Functions_API*
2127 PluginInstance::GetFlashFunctionsAPI(PP_Instance /*instance*/) { 2133 PluginInstance::GetFlashFunctionsAPI(PP_Instance /*instance*/) {
2128 NOTIMPLEMENTED(); 2134 NOTIMPLEMENTED();
2129 return NULL; 2135 return NULL;
2130 } 2136 }
2131 2137
2132 ::ppapi::thunk::PPB_Gamepad_API* PluginInstance::GetGamepadAPI( 2138 ::ppapi::thunk::PPB_Gamepad_API* PluginInstance::GetGamepadAPI(
2133 PP_Instance /* instance */) { 2139 PP_Instance /* instance */) {
2134 return &gamepad_impl_; 2140 return &gamepad_impl_;
2135 } 2141 }
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
2470 screen_size_for_fullscreen_ = gfx::Size(); 2476 screen_size_for_fullscreen_ = gfx::Size();
2471 WebElement element = container_->element(); 2477 WebElement element = container_->element();
2472 element.setAttribute(WebString::fromUTF8(kWidth), width_before_fullscreen_); 2478 element.setAttribute(WebString::fromUTF8(kWidth), width_before_fullscreen_);
2473 element.setAttribute(WebString::fromUTF8(kHeight), height_before_fullscreen_); 2479 element.setAttribute(WebString::fromUTF8(kHeight), height_before_fullscreen_);
2474 element.setAttribute(WebString::fromUTF8(kBorder), border_before_fullscreen_); 2480 element.setAttribute(WebString::fromUTF8(kBorder), border_before_fullscreen_);
2475 element.setAttribute(WebString::fromUTF8(kStyle), style_before_fullscreen_); 2481 element.setAttribute(WebString::fromUTF8(kStyle), style_before_fullscreen_);
2476 } 2482 }
2477 2483
2478 } // namespace ppapi 2484 } // namespace ppapi
2479 } // namespace webkit 2485 } // namespace webkit
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698