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

Unified Diff: chrome/browser/extensions/extension_shelf.h

Issue 119103: Part 1 of dragging extensions on the shelf. This part was just about getting... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_shelf.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_shelf.h
===================================================================
--- chrome/browser/extensions/extension_shelf.h (revision 17478)
+++ chrome/browser/extensions/extension_shelf.h (working copy)
@@ -55,6 +55,11 @@
virtual void BubbleBrowserWindowMoved(BrowserBubble* bubble);
virtual void BubbleBrowserWindowClosed(BrowserBubble* bubble);
+ // Dragging toolstrips
+ void DragExtension();
+ void DropExtension(const gfx::Point& pt, bool cancel);
+ void DragHandleTo(const gfx::Point& pt);
+
protected:
// View
virtual void ChildPreferredSizeChanged(View* child);
@@ -96,6 +101,9 @@
// Timers for tracking mouse hovering.
ScopedRunnableMethodFactory<ExtensionShelf> timer_factory_;
+ // A placeholder for a pending drag
+ View* drag_placeholder_view_;
+
DISALLOW_COPY_AND_ASSIGN(ExtensionShelf);
};
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_shelf.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698