| 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/json/json_string_value_serializer.h" | 7 #include "base/json/json_string_value_serializer.h" |
| 8 #include "base/message_loop.h" | 8 #include "base/message_loop.h" |
| 9 #include "base/string_number_conversions.h" | 9 #include "base/string_number_conversions.h" |
| 10 #include "base/string_util.h" | 10 #include "base/string_util.h" |
| (...skipping 1102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1113 if (guest_crashed_ || !navigate_src_sent_) | 1113 if (guest_crashed_ || !navigate_src_sent_) |
| 1114 return false; | 1114 return false; |
| 1115 browser_plugin_manager()->Send( | 1115 browser_plugin_manager()->Send( |
| 1116 new BrowserPluginHostMsg_DragStatusUpdate( | 1116 new BrowserPluginHostMsg_DragStatusUpdate( |
| 1117 render_view_routing_id_, | 1117 render_view_routing_id_, |
| 1118 instance_id_, | 1118 instance_id_, |
| 1119 drag_status, | 1119 drag_status, |
| 1120 WebDropData(drag_data), | 1120 WebDropData(drag_data), |
| 1121 mask, | 1121 mask, |
| 1122 position)); | 1122 position)); |
| 1123 return false; | 1123 return true; |
| 1124 } | 1124 } |
| 1125 | 1125 |
| 1126 void BrowserPlugin::didReceiveResponse( | 1126 void BrowserPlugin::didReceiveResponse( |
| 1127 const WebKit::WebURLResponse& response) { | 1127 const WebKit::WebURLResponse& response) { |
| 1128 } | 1128 } |
| 1129 | 1129 |
| 1130 void BrowserPlugin::didReceiveData(const char* data, int data_length) { | 1130 void BrowserPlugin::didReceiveData(const char* data, int data_length) { |
| 1131 } | 1131 } |
| 1132 | 1132 |
| 1133 void BrowserPlugin::didFinishLoading() { | 1133 void BrowserPlugin::didFinishLoading() { |
| 1134 } | 1134 } |
| 1135 | 1135 |
| 1136 void BrowserPlugin::didFailLoading(const WebKit::WebURLError& error) { | 1136 void BrowserPlugin::didFailLoading(const WebKit::WebURLError& error) { |
| 1137 } | 1137 } |
| 1138 | 1138 |
| 1139 void BrowserPlugin::didFinishLoadingFrameRequest(const WebKit::WebURL& url, | 1139 void BrowserPlugin::didFinishLoadingFrameRequest(const WebKit::WebURL& url, |
| 1140 void* notify_data) { | 1140 void* notify_data) { |
| 1141 } | 1141 } |
| 1142 | 1142 |
| 1143 void BrowserPlugin::didFailLoadingFrameRequest( | 1143 void BrowserPlugin::didFailLoadingFrameRequest( |
| 1144 const WebKit::WebURL& url, | 1144 const WebKit::WebURL& url, |
| 1145 void* notify_data, | 1145 void* notify_data, |
| 1146 const WebKit::WebURLError& error) { | 1146 const WebKit::WebURLError& error) { |
| 1147 } | 1147 } |
| 1148 | 1148 |
| 1149 } // namespace content | 1149 } // namespace content |
| OLD | NEW |