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

Side by Side Diff: chrome/browser/renderer_host/render_view_host.h

Issue 149296: Make the cancelling of drag and drop match Safari for Windows. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/renderer_host/render_view_host.cc » ('j') | 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 // destroyed. 284 // destroyed.
285 void JavaScriptMessageBoxWindowDestroyed(); 285 void JavaScriptMessageBoxWindowDestroyed();
286 286
287 // Notifies the RenderView that the modal html dialog has been closed. 287 // Notifies the RenderView that the modal html dialog has been closed.
288 void ModalHTMLDialogClosed(IPC::Message* reply_msg, 288 void ModalHTMLDialogClosed(IPC::Message* reply_msg,
289 const std::string& json_retval); 289 const std::string& json_retval);
290 290
291 // Copies the image at the specified point. 291 // Copies the image at the specified point.
292 void CopyImageAt(int x, int y); 292 void CopyImageAt(int x, int y);
293 293
294 // Notifies the renderer that a drag and drop was cancelled. This is
295 // necessary because the render may be the one that started the drag.
296 void DragSourceCancelledAt(
297 int client_x, int client_y, int screen_x, int screen_y);
298
294 // Notifies the renderer that a drop occurred. This is necessary because the 299 // Notifies the renderer that a drop occurred. This is necessary because the
295 // render may be the one that started the drag. 300 // render may be the one that started the drag.
296 void DragSourceEndedAt( 301 void DragSourceEndedAt(
297 int client_x, int client_y, int screen_x, int screen_y); 302 int client_x, int client_y, int screen_x, int screen_y);
298 303
299 // Notifies the renderer that a drag and drop operation is in progress, with 304 // Notifies the renderer that a drag and drop operation is in progress, with
300 // droppable items positioned over the renderer's view. 305 // droppable items positioned over the renderer's view.
301 void DragSourceMovedTo( 306 void DragSourceMovedTo(
302 int client_x, int client_y, int screen_x, int screen_y); 307 int client_x, int client_y, int screen_x, int screen_y);
303 308
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
599 604
600 // True if the render view can be shut down suddenly. 605 // True if the render view can be shut down suddenly.
601 bool sudden_termination_allowed_; 606 bool sudden_termination_allowed_;
602 607
603 NotificationRegistrar registrar_; 608 NotificationRegistrar registrar_;
604 609
605 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); 610 DISALLOW_COPY_AND_ASSIGN(RenderViewHost);
606 }; 611 };
607 612
608 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ 613 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/renderer_host/render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698