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 1469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1480 if (guest_crashed_ || !HasGuest()) | 1480 if (guest_crashed_ || !HasGuest()) |
1481 return false; | 1481 return false; |
1482 browser_plugin_manager()->Send( | 1482 browser_plugin_manager()->Send( |
1483 new BrowserPluginHostMsg_DragStatusUpdate( | 1483 new BrowserPluginHostMsg_DragStatusUpdate( |
1484 render_view_routing_id_, | 1484 render_view_routing_id_, |
1485 instance_id_, | 1485 instance_id_, |
1486 drag_status, | 1486 drag_status, |
1487 WebDropData(drag_data), | 1487 WebDropData(drag_data), |
1488 mask, | 1488 mask, |
1489 position)); | 1489 position)); |
1490 return false; | 1490 return true; |
1491 } | 1491 } |
1492 | 1492 |
1493 void BrowserPlugin::didReceiveResponse( | 1493 void BrowserPlugin::didReceiveResponse( |
1494 const WebKit::WebURLResponse& response) { | 1494 const WebKit::WebURLResponse& response) { |
1495 } | 1495 } |
1496 | 1496 |
1497 void BrowserPlugin::didReceiveData(const char* data, int data_length) { | 1497 void BrowserPlugin::didReceiveData(const char* data, int data_length) { |
1498 } | 1498 } |
1499 | 1499 |
1500 void BrowserPlugin::didFinishLoading() { | 1500 void BrowserPlugin::didFinishLoading() { |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1540 const WebKit::WebMouseEvent& event) { | 1540 const WebKit::WebMouseEvent& event) { |
1541 browser_plugin_manager()->Send( | 1541 browser_plugin_manager()->Send( |
1542 new BrowserPluginHostMsg_HandleInputEvent(render_view_routing_id_, | 1542 new BrowserPluginHostMsg_HandleInputEvent(render_view_routing_id_, |
1543 instance_id_, | 1543 instance_id_, |
1544 plugin_rect_, | 1544 plugin_rect_, |
1545 &event)); | 1545 &event)); |
1546 return true; | 1546 return true; |
1547 } | 1547 } |
1548 | 1548 |
1549 } // namespace content | 1549 } // namespace content |
OLD | NEW |