| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |