| 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 555 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 566 } | 566 } |
| 567 | 567 |
| 568 void BrowserPlugin::didFinishLoading() { | 568 void BrowserPlugin::didFinishLoading() { |
| 569 if (delegate_) | 569 if (delegate_) |
| 570 delegate_->DidFinishLoading(); | 570 delegate_->DidFinishLoading(); |
| 571 } | 571 } |
| 572 | 572 |
| 573 void BrowserPlugin::didFailLoading(const blink::WebURLError& error) { | 573 void BrowserPlugin::didFailLoading(const blink::WebURLError& error) { |
| 574 } | 574 } |
| 575 | 575 |
| 576 void BrowserPlugin::didFinishLoadingFrameRequest(const blink::WebURL& url, | |
| 577 void* notify_data) { | |
| 578 } | |
| 579 | |
| 580 void BrowserPlugin::didFailLoadingFrameRequest( | |
| 581 const blink::WebURL& url, | |
| 582 void* notify_data, | |
| 583 const blink::WebURLError& error) { | |
| 584 } | |
| 585 | |
| 586 bool BrowserPlugin::executeEditCommand(const blink::WebString& name) { | 576 bool BrowserPlugin::executeEditCommand(const blink::WebString& name) { |
| 587 BrowserPluginManager::Get()->Send(new BrowserPluginHostMsg_ExecuteEditCommand( | 577 BrowserPluginManager::Get()->Send(new BrowserPluginHostMsg_ExecuteEditCommand( |
| 588 browser_plugin_instance_id_, | 578 browser_plugin_instance_id_, |
| 589 name.utf8())); | 579 name.utf8())); |
| 590 | 580 |
| 591 // BrowserPlugin swallows edit commands. | 581 // BrowserPlugin swallows edit commands. |
| 592 return true; | 582 return true; |
| 593 } | 583 } |
| 594 | 584 |
| 595 bool BrowserPlugin::executeEditCommand(const blink::WebString& name, | 585 bool BrowserPlugin::executeEditCommand(const blink::WebString& name, |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 661 bool BrowserPlugin::HandleMouseLockedInputEvent( | 651 bool BrowserPlugin::HandleMouseLockedInputEvent( |
| 662 const blink::WebMouseEvent& event) { | 652 const blink::WebMouseEvent& event) { |
| 663 BrowserPluginManager::Get()->Send( | 653 BrowserPluginManager::Get()->Send( |
| 664 new BrowserPluginHostMsg_HandleInputEvent(browser_plugin_instance_id_, | 654 new BrowserPluginHostMsg_HandleInputEvent(browser_plugin_instance_id_, |
| 665 view_rect_, | 655 view_rect_, |
| 666 &event)); | 656 &event)); |
| 667 return true; | 657 return true; |
| 668 } | 658 } |
| 669 | 659 |
| 670 } // namespace content | 660 } // namespace content |
| OLD | NEW |