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

Unified Diff: chrome/browser/autocomplete/autocomplete_edit_view.h

Issue 6462009: Allow dragging and dropping of URLs to any portion of the toolbar view.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/autocomplete/autocomplete_edit_view.h
===================================================================
--- chrome/browser/autocomplete/autocomplete_edit_view.h (revision 74816)
+++ chrome/browser/autocomplete/autocomplete_edit_view.h (working copy)
@@ -26,6 +26,7 @@
#if defined(TOOLKIT_VIEWS)
namespace views {
+class DropTargetEvent;
class View;
} // namespace views
#endif
@@ -175,6 +176,9 @@
// Adds the autocomplete edit view to view hierarchy and
// returns the views::View of the edit view.
virtual views::View* AddToView(views::View* parent) = 0;
+
+ // Performs the drop of a drag and drop operation on the view.
+ virtual int OnPerformDrop(const views::DropTargetEvent& event) = 0;
#endif
virtual ~AutocompleteEditView() {}
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_edit_unittest.cc ('k') | chrome/browser/autocomplete/autocomplete_edit_view_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698