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

Unified 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: address comment 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 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 7cd302a996bd06b157a26ca0e836391dc3b6c237..545185e1ae1c9eaf82d5a61a7f72447fe98a1f1b 100644
--- a/ui/app_list/views/app_list_item_view.h
+++ b/ui/app_list/views/app_list_item_view.h
@@ -14,7 +14,6 @@
#include "base/timer/timer.h"
#include "ui/app_list/app_list_export.h"
#include "ui/app_list/app_list_item_observer.h"
-#include "ui/app_list/views/cached_label.h"
#include "ui/app_list/views/image_shadow_animator.h"
#include "ui/views/context_menu_controller.h"
#include "ui/views/controls/button/custom_button.h"
@@ -54,8 +53,6 @@ class APP_LIST_EXPORT AppListItemView : public views::CustomButton,
void SetItemIsHighlighted(bool is_highlighted);
void SetItemPercentDownloaded(int percent_downloaded);
- void Prerender();
-
void CancelContextMenu();
gfx::ImageSkia GetDragImage();
@@ -137,7 +134,6 @@ class APP_LIST_EXPORT AppListItemView : public views::CustomButton,
bool OnKeyPressed(const ui::KeyEvent& event) override;
bool OnMousePressed(const ui::MouseEvent& event) override;
void OnMouseReleased(const ui::MouseEvent& event) override;
- void OnMouseCaptureLost() override;
bool OnMouseDragged(const ui::MouseEvent& event) override;
// AppListItemObserver overrides:
@@ -154,7 +150,7 @@ class APP_LIST_EXPORT AppListItemView : public views::CustomButton,
AppsGridView* apps_grid_view_; // Parent view, owns this.
views::ImageView* icon_; // Strongly typed child view.
- CachedLabel* title_; // Strongly typed child view.
+ views::Label* title_; // Strongly typed child view.
ProgressBarView* progress_bar_; // Strongly typed child view.
std::unique_ptr<views::MenuRunner> context_menu_runner_;

Powered by Google App Engine
This is Rietveld 408576698