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

Side by Side Diff: content/renderer/browser_plugin/browser_plugin.cc

Issue 1426923007: Remove PluginLoadObserver and related logic, it was only used for NPAPI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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/browser_plugin/browser_plugin.h" 5 #include "content/renderer/browser_plugin/browser_plugin.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "base/single_thread_task_runner.h" 9 #include "base/single_thread_task_runner.h"
10 #include "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after
554 } 554 }
555 555
556 void BrowserPlugin::didFinishLoading() { 556 void BrowserPlugin::didFinishLoading() {
557 if (delegate_) 557 if (delegate_)
558 delegate_->DidFinishLoading(); 558 delegate_->DidFinishLoading();
559 } 559 }
560 560
561 void BrowserPlugin::didFailLoading(const blink::WebURLError& error) { 561 void BrowserPlugin::didFailLoading(const blink::WebURLError& error) {
562 } 562 }
563 563
564 void BrowserPlugin::didFinishLoadingFrameRequest(const blink::WebURL& url,
565 void* notify_data) {
566 }
567
568 void BrowserPlugin::didFailLoadingFrameRequest(
569 const blink::WebURL& url,
570 void* notify_data,
571 const blink::WebURLError& error) {
572 }
573
574 bool BrowserPlugin::executeEditCommand(const blink::WebString& name) { 564 bool BrowserPlugin::executeEditCommand(const blink::WebString& name) {
575 BrowserPluginManager::Get()->Send(new BrowserPluginHostMsg_ExecuteEditCommand( 565 BrowserPluginManager::Get()->Send(new BrowserPluginHostMsg_ExecuteEditCommand(
576 browser_plugin_instance_id_, 566 browser_plugin_instance_id_,
577 name.utf8())); 567 name.utf8()));
578 568
579 // BrowserPlugin swallows edit commands. 569 // BrowserPlugin swallows edit commands.
580 return true; 570 return true;
581 } 571 }
582 572
583 bool BrowserPlugin::executeEditCommand(const blink::WebString& name, 573 bool BrowserPlugin::executeEditCommand(const blink::WebString& name,
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
649 bool BrowserPlugin::HandleMouseLockedInputEvent( 639 bool BrowserPlugin::HandleMouseLockedInputEvent(
650 const blink::WebMouseEvent& event) { 640 const blink::WebMouseEvent& event) {
651 BrowserPluginManager::Get()->Send( 641 BrowserPluginManager::Get()->Send(
652 new BrowserPluginHostMsg_HandleInputEvent(browser_plugin_instance_id_, 642 new BrowserPluginHostMsg_HandleInputEvent(browser_plugin_instance_id_,
653 view_rect_, 643 view_rect_,
654 &event)); 644 &event));
655 return true; 645 return true;
656 } 646 }
657 647
658 } // namespace content 648 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/browser_plugin/browser_plugin.h ('k') | content/renderer/npapi/webplugin_delegate_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698