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

Unified Diff: chrome/browser/autocomplete/autocomplete_edit_view_gtk.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_gtk.h
===================================================================
--- chrome/browser/autocomplete/autocomplete_edit_view_gtk.h (revision 74816)
+++ chrome/browser/autocomplete/autocomplete_edit_view_gtk.h (working copy)
@@ -147,6 +147,7 @@
#if defined(TOOLKIT_VIEWS)
virtual views::View* AddToView(views::View* parent);
+ virtual int OnPerformDrop(const views::DropTargetEvent& event);
// Enables accessibility on AutocompleteEditView.
void EnableAccessibility();
@@ -276,6 +277,9 @@
void HandleCopyOrCutClipboard(bool copy);
+ // Common implementation for performing a drop on the edit view.
+ bool OnPerformDropImpl(const string16& text);
+
// Returns the font used in |text_view_|.
gfx::Font GetFont();
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_edit_view.h ('k') | chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698