| OLD | NEW |
| 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/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/json/json_string_value_serializer.h" | 8 #include "base/json/json_string_value_serializer.h" |
| 9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
| 10 #include "base/string_number_conversions.h" | 10 #include "base/string_number_conversions.h" |
| (...skipping 1475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1486 if (guest_crashed_ || !HasGuest()) | 1486 if (guest_crashed_ || !HasGuest()) |
| 1487 return false; | 1487 return false; |
| 1488 browser_plugin_manager()->Send( | 1488 browser_plugin_manager()->Send( |
| 1489 new BrowserPluginHostMsg_DragStatusUpdate( | 1489 new BrowserPluginHostMsg_DragStatusUpdate( |
| 1490 render_view_routing_id_, | 1490 render_view_routing_id_, |
| 1491 instance_id_, | 1491 instance_id_, |
| 1492 drag_status, | 1492 drag_status, |
| 1493 WebDropData(drag_data), | 1493 WebDropData(drag_data), |
| 1494 mask, | 1494 mask, |
| 1495 position)); | 1495 position)); |
| 1496 return false; | 1496 return true; |
| 1497 } | 1497 } |
| 1498 | 1498 |
| 1499 void BrowserPlugin::didReceiveResponse( | 1499 void BrowserPlugin::didReceiveResponse( |
| 1500 const WebKit::WebURLResponse& response) { | 1500 const WebKit::WebURLResponse& response) { |
| 1501 } | 1501 } |
| 1502 | 1502 |
| 1503 void BrowserPlugin::didReceiveData(const char* data, int data_length) { | 1503 void BrowserPlugin::didReceiveData(const char* data, int data_length) { |
| 1504 } | 1504 } |
| 1505 | 1505 |
| 1506 void BrowserPlugin::didFinishLoading() { | 1506 void BrowserPlugin::didFinishLoading() { |
| (...skipping 29 matching lines...) Expand all Loading... |
| 1536 const WebKit::WebMouseEvent& event) { | 1536 const WebKit::WebMouseEvent& event) { |
| 1537 browser_plugin_manager()->Send( | 1537 browser_plugin_manager()->Send( |
| 1538 new BrowserPluginHostMsg_HandleInputEvent(render_view_routing_id_, | 1538 new BrowserPluginHostMsg_HandleInputEvent(render_view_routing_id_, |
| 1539 instance_id_, | 1539 instance_id_, |
| 1540 plugin_rect_, | 1540 plugin_rect_, |
| 1541 &event)); | 1541 &event)); |
| 1542 return true; | 1542 return true; |
| 1543 } | 1543 } |
| 1544 | 1544 |
| 1545 } // namespace content | 1545 } // namespace content |
| OLD | NEW |