Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(488)

Side by Side Diff: content/renderer/browser_plugin/browser_plugin.cc

Issue 12086095: Fixed drag and drop into and out of Browser Plugin. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Addressed comments Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 1105 matching lines...) Expand 10 before | Expand all | Expand 10 after
1116 if (guest_crashed_ || !navigate_src_sent_) 1116 if (guest_crashed_ || !navigate_src_sent_)
1117 return false; 1117 return false;
1118 browser_plugin_manager()->Send( 1118 browser_plugin_manager()->Send(
1119 new BrowserPluginHostMsg_DragStatusUpdate( 1119 new BrowserPluginHostMsg_DragStatusUpdate(
1120 render_view_routing_id_, 1120 render_view_routing_id_,
1121 instance_id_, 1121 instance_id_,
1122 drag_status, 1122 drag_status,
1123 WebDropData(drag_data), 1123 WebDropData(drag_data),
1124 mask, 1124 mask,
1125 position)); 1125 position));
1126 return false; 1126 return true;
1127 } 1127 }
1128 1128
1129 void BrowserPlugin::didReceiveResponse( 1129 void BrowserPlugin::didReceiveResponse(
1130 const WebKit::WebURLResponse& response) { 1130 const WebKit::WebURLResponse& response) {
1131 } 1131 }
1132 1132
1133 void BrowserPlugin::didReceiveData(const char* data, int data_length) { 1133 void BrowserPlugin::didReceiveData(const char* data, int data_length) {
1134 } 1134 }
1135 1135
1136 void BrowserPlugin::didFinishLoading() { 1136 void BrowserPlugin::didFinishLoading() {
1137 } 1137 }
1138 1138
1139 void BrowserPlugin::didFailLoading(const WebKit::WebURLError& error) { 1139 void BrowserPlugin::didFailLoading(const WebKit::WebURLError& error) {
1140 } 1140 }
1141 1141
1142 void BrowserPlugin::didFinishLoadingFrameRequest(const WebKit::WebURL& url, 1142 void BrowserPlugin::didFinishLoadingFrameRequest(const WebKit::WebURL& url,
1143 void* notify_data) { 1143 void* notify_data) {
1144 } 1144 }
1145 1145
1146 void BrowserPlugin::didFailLoadingFrameRequest( 1146 void BrowserPlugin::didFailLoadingFrameRequest(
1147 const WebKit::WebURL& url, 1147 const WebKit::WebURL& url,
1148 void* notify_data, 1148 void* notify_data,
1149 const WebKit::WebURLError& error) { 1149 const WebKit::WebURLError& error) {
1150 } 1150 }
1151 1151
1152 } // namespace content 1152 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698