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

Unified Diff: ui/app_list/views/app_list_item_view.h

Issue 17370003: [Win] App launcher drag/drop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix ash Created 7 years, 6 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: ui/app_list/views/app_list_item_view.h
diff --git a/ui/app_list/views/app_list_item_view.h b/ui/app_list/views/app_list_item_view.h
index 2a5b4a7409776241e5a6e0496cf4bab9728747f8..ad51da354b7077889baa71f45fde498998d7aa61 100644
--- a/ui/app_list/views/app_list_item_view.h
+++ b/ui/app_list/views/app_list_item_view.h
@@ -48,6 +48,8 @@ class APP_LIST_EXPORT AppListItemView : public views::CustomButton,
const views::Label* title() const { return title_; }
+ gfx::ImageSkia GetDragImage();
+
private:
enum UIState {
UI_STATE_NORMAL, // Normal UI (icon + label)
@@ -91,7 +93,6 @@ class APP_LIST_EXPORT AppListItemView : public views::CustomButton,
virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE;
virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE;
virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE;
- virtual void OnMouseCaptureLost() OVERRIDE;
virtual bool OnMouseDragged(const ui::MouseEvent& event) OVERRIDE;
// ui::EventHandler overrides:

Powered by Google App Engine
This is Rietveld 408576698