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

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: Splitting up patch Created 7 years, 7 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
« no previous file with comments | « content/public/common/content_switches.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/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
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
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
OLDNEW
« no previous file with comments | « content/public/common/content_switches.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698