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

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, 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 2101 matching lines...) Expand 10 before | Expand all | Expand 10 after
2112 ::ppapi::thunk::PPB_Flash_API* PluginInstance::GetFlashAPI() { 2112 ::ppapi::thunk::PPB_Flash_API* PluginInstance::GetFlashAPI() {
2113 return &flash_impl_; 2113 return &flash_impl_;
2114 } 2114 }
2115 2115
2116 ::ppapi::thunk::PPB_Flash_Clipboard_API* 2116 ::ppapi::thunk::PPB_Flash_Clipboard_API*
2117 PluginInstance::GetFlashClipboardAPI(PP_Instance /*instance*/) { 2117 PluginInstance::GetFlashClipboardAPI(PP_Instance /*instance*/) {
2118 NOTIMPLEMENTED(); 2118 NOTIMPLEMENTED();
2119 return NULL; 2119 return NULL;
2120 } 2120 }
2121 2121
2122 ::ppapi::thunk::PPB_Flash_File_API*
2123 PluginInstance::GetFlashFileAPI(PP_Instance /*instance*/) {
2124 NOTIMPLEMENTED();
2125 return NULL;
2126 }
2127
2122 ::ppapi::thunk::PPB_Flash_Functions_API* 2128 ::ppapi::thunk::PPB_Flash_Functions_API*
2123 PluginInstance::GetFlashFunctionsAPI(PP_Instance /*instance*/) { 2129 PluginInstance::GetFlashFunctionsAPI(PP_Instance /*instance*/) {
2124 NOTIMPLEMENTED(); 2130 NOTIMPLEMENTED();
2125 return NULL; 2131 return NULL;
2126 } 2132 }
2127 2133
2128 ::ppapi::thunk::PPB_Gamepad_API* PluginInstance::GetGamepadAPI( 2134 ::ppapi::thunk::PPB_Gamepad_API* PluginInstance::GetGamepadAPI(
2129 PP_Instance /* instance */) { 2135 PP_Instance /* instance */) {
2130 return &gamepad_impl_; 2136 return &gamepad_impl_;
2131 } 2137 }
(...skipping 338 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