Index: chrome/browser/autocomplete/autocomplete_edit_view_win.h |
=================================================================== |
--- chrome/browser/autocomplete/autocomplete_edit_view_win.h (revision 74816) |
+++ chrome/browser/autocomplete/autocomplete_edit_view_win.h (working copy) |
@@ -139,6 +139,7 @@ |
virtual bool IsImeComposing() const; |
virtual views::View* AddToView(views::View* parent); |
+ virtual int OnPerformDrop(const views::DropTargetEvent& event); |
int GetPopupMaxYCoordinate(); |
@@ -244,6 +245,9 @@ |
DISALLOW_COPY_AND_ASSIGN(ScopedFreeze); |
}; |
+ class EditDropTarget; |
+ friend class EditDropTarget; |
+ |
// This object suspends placing any operations on the edit's undo stack until |
// the object is destroyed. If we don't do this, some of the operations we |
// perform behind the user's back will be undoable by the user, which feels |
@@ -412,6 +416,9 @@ |
// triggerred no matter if the text is actually changed or not. |
bool OnAfterPossibleChangeInternal(bool force_text_changed); |
+ // Common implementation for performing a drop on the edit view. |
+ int OnPerformDropImpl(const views::DropTargetEvent& event, bool in_drag); |
+ |
scoped_ptr<AutocompleteEditModel> model_; |
scoped_ptr<AutocompletePopupView> popup_view_; |