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

Side by Side Diff: ui/app_list/views/app_list_item_view.h

Issue 2143893002: Purge the App Launcher code from Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_APP_LIST_VIEWS_APP_LIST_ITEM_VIEW_H_ 5 #ifndef UI_APP_LIST_VIEWS_APP_LIST_ITEM_VIEW_H_
6 #define UI_APP_LIST_VIEWS_APP_LIST_ITEM_VIEW_H_ 6 #define UI_APP_LIST_VIEWS_APP_LIST_ITEM_VIEW_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 ui::MenuSourceType source_type) override; 130 ui::MenuSourceType source_type) override;
131 131
132 // views::CustomButton overrides: 132 // views::CustomButton overrides:
133 void StateChanged() override; 133 void StateChanged() override;
134 bool ShouldEnterPushedState(const ui::Event& event) override; 134 bool ShouldEnterPushedState(const ui::Event& event) override;
135 135
136 // views::View overrides: 136 // views::View overrides:
137 bool OnKeyPressed(const ui::KeyEvent& event) override; 137 bool OnKeyPressed(const ui::KeyEvent& event) override;
138 bool OnMousePressed(const ui::MouseEvent& event) override; 138 bool OnMousePressed(const ui::MouseEvent& event) override;
139 void OnMouseReleased(const ui::MouseEvent& event) override; 139 void OnMouseReleased(const ui::MouseEvent& event) override;
140 void OnMouseCaptureLost() override;
141 bool OnMouseDragged(const ui::MouseEvent& event) override; 140 bool OnMouseDragged(const ui::MouseEvent& event) override;
142 141
143 // AppListItemObserver overrides: 142 // AppListItemObserver overrides:
144 void ItemIconChanged() override; 143 void ItemIconChanged() override;
145 void ItemNameChanged() override; 144 void ItemNameChanged() override;
146 void ItemIsInstallingChanged() override; 145 void ItemIsInstallingChanged() override;
147 void ItemPercentDownloadedChanged() override; 146 void ItemPercentDownloadedChanged() override;
148 void ItemBeingDestroyed() override; 147 void ItemBeingDestroyed() override;
149 148
150 const bool is_folder_; 149 const bool is_folder_;
(...skipping 22 matching lines...) Expand all
173 172
174 // A timer to defer showing drag UI when mouse is pressed. 173 // A timer to defer showing drag UI when mouse is pressed.
175 base::OneShotTimer mouse_drag_timer_; 174 base::OneShotTimer mouse_drag_timer_;
176 175
177 DISALLOW_COPY_AND_ASSIGN(AppListItemView); 176 DISALLOW_COPY_AND_ASSIGN(AppListItemView);
178 }; 177 };
179 178
180 } // namespace app_list 179 } // namespace app_list
181 180
182 #endif // UI_APP_LIST_VIEWS_APP_LIST_ITEM_VIEW_H_ 181 #endif // UI_APP_LIST_VIEWS_APP_LIST_ITEM_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698