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

Side by Side Diff: content/renderer/pepper/pepper_webplugin_impl.cc

Issue 1844383003: Remove NPAPI support for form data (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
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 "content/renderer/pepper/pepper_webplugin_impl.h" 5 #include "content/renderer/pepper/pepper_webplugin_impl.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <cmath> 8 #include <cmath>
9 #include <utility> 9 #include <utility>
10 10
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 if (object_var.get()) { 183 if (object_var.get()) {
184 MessageChannel* message_channel = instance_->message_channel(); 184 MessageChannel* message_channel = instance_->message_channel();
185 if (message_channel) 185 if (message_channel)
186 message_channel->SetPassthroughObject(object_var->GetHandle()); 186 message_channel->SetPassthroughObject(object_var->GetHandle());
187 } 187 }
188 188
189 v8::Local<v8::Object> result = instance_->GetMessageChannelObject(); 189 v8::Local<v8::Object> result = instance_->GetMessageChannelObject();
190 return result; 190 return result;
191 } 191 }
192 192
193 bool PepperWebPluginImpl::getFormValue(WebString& value) { return false; }
194
195 void PepperWebPluginImpl::paint(WebCanvas* canvas, const WebRect& rect) { 193 void PepperWebPluginImpl::paint(WebCanvas* canvas, const WebRect& rect) {
196 if (!instance_->FlashIsFullscreenOrPending()) 194 if (!instance_->FlashIsFullscreenOrPending())
197 instance_->Paint(canvas, plugin_rect_, rect); 195 instance_->Paint(canvas, plugin_rect_, rect);
198 } 196 }
199 197
200 void PepperWebPluginImpl::updateGeometry( 198 void PepperWebPluginImpl::updateGeometry(
201 const WebRect& window_rect, 199 const WebRect& window_rect,
202 const WebRect& clip_rect, 200 const WebRect& clip_rect,
203 const WebRect& unobscured_rect, 201 const WebRect& unobscured_rect,
204 const WebVector<WebRect>& cut_outs_rects, 202 const WebVector<WebRect>& cut_outs_rects,
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 307
310 bool PepperWebPluginImpl::canRotateView() { return instance_->CanRotateView(); } 308 bool PepperWebPluginImpl::canRotateView() { return instance_->CanRotateView(); }
311 309
312 void PepperWebPluginImpl::rotateView(RotationType type) { 310 void PepperWebPluginImpl::rotateView(RotationType type) {
313 instance_->RotateView(type); 311 instance_->RotateView(type);
314 } 312 }
315 313
316 bool PepperWebPluginImpl::isPlaceholder() { return false; } 314 bool PepperWebPluginImpl::isPlaceholder() { return false; }
317 315
318 } // namespace content 316 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_webplugin_impl.h ('k') | third_party/WebKit/Source/core/html/HTMLObjectElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698