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

Side by Side Diff: content/renderer/render_view_impl.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: Re-disabled when command line flag not present. 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/render_view_impl.h" 5 #include "content/renderer/render_view_impl.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <cmath> 8 #include <cmath>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 5257 matching lines...) Expand 10 before | Expand all | Expand 10 after
5268 WebDragOperation op) { 5268 WebDragOperation op) {
5269 if (ended) { 5269 if (ended) {
5270 webview()->dragSourceEndedAt(client_point, screen_point, op); 5270 webview()->dragSourceEndedAt(client_point, screen_point, op);
5271 } else { 5271 } else {
5272 webview()->dragSourceMovedTo(client_point, screen_point, op); 5272 webview()->dragSourceMovedTo(client_point, screen_point, op);
5273 } 5273 }
5274 } 5274 }
5275 5275
5276 void RenderViewImpl::OnDragSourceSystemDragEnded() { 5276 void RenderViewImpl::OnDragSourceSystemDragEnded() {
5277 webview()->dragSourceSystemDragEnded(); 5277 webview()->dragSourceSystemDragEnded();
5278 Send(new DragHostMsg_DragStopped(routing_id_));
Fady Samuel 2013/02/01 14:59:28 What's going on here? This changes impacts all ren
mthiesse 2013/02/01 15:43:54 Well that's the point of using a new message; it w
5278 } 5279 }
5279 5280
5280 void RenderViewImpl::OnUpdateWebPreferences(const WebPreferences& prefs) { 5281 void RenderViewImpl::OnUpdateWebPreferences(const WebPreferences& prefs) {
5281 webkit_preferences_ = prefs; 5282 webkit_preferences_ = prefs;
5282 webkit_preferences_.Apply(webview()); 5283 webkit_preferences_.Apply(webview());
5283 } 5284 }
5284 5285
5285 void RenderViewImpl::OnUpdateTimezone() { 5286 void RenderViewImpl::OnUpdateTimezone() {
5286 if (webview()) 5287 if (webview())
5287 NotifyTimezoneChange(webview()->mainFrame()); 5288 NotifyTimezoneChange(webview()->mainFrame());
(...skipping 1296 matching lines...) Expand 10 before | Expand all | Expand 10 after
6584 } 6585 }
6585 #endif 6586 #endif
6586 6587
6587 void RenderViewImpl::OnReleaseDisambiguationPopupDIB( 6588 void RenderViewImpl::OnReleaseDisambiguationPopupDIB(
6588 TransportDIB::Handle dib_handle) { 6589 TransportDIB::Handle dib_handle) {
6589 TransportDIB* dib = TransportDIB::CreateWithHandle(dib_handle); 6590 TransportDIB* dib = TransportDIB::CreateWithHandle(dib_handle);
6590 RenderProcess::current()->ReleaseTransportDIB(dib); 6591 RenderProcess::current()->ReleaseTransportDIB(dib);
6591 } 6592 }
6592 6593
6593 } // namespace content 6594 } // namespace content
OLDNEW
« content/common/drag_messages.h ('K') | « content/renderer/browser_plugin/browser_plugin.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698