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

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

Issue 15774015: Fixed problem with clicking on app launcher item (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed windows build issue Created 7 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 | « ui/app_list/views/app_list_drag_and_drop_host.h ('k') | ui/app_list/views/apps_grid_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1e11bdeb8ef7fa0136f6981492f1fc142ac93f12..713e36e205981b3117c903bdf6791af4db355de2 100644
--- a/ui/app_list/views/app_list_item_view.h
+++ b/ui/app_list/views/app_list_item_view.h
@@ -12,6 +12,7 @@
#include "base/timer.h"
#include "ui/app_list/app_list_export.h"
#include "ui/app_list/app_list_item_model_observer.h"
+#include "ui/app_list/views/cached_label.h"
#include "ui/gfx/shadow_value.h"
#include "ui/views/context_menu_controller.h"
#include "ui/views/controls/button/custom_button.h"
@@ -28,7 +29,6 @@ namespace app_list {
class AppListItemModel;
class AppsGridView;
-class CachedLabel;
class APP_LIST_EXPORT AppListItemView : public views::CustomButton,
public views::ContextMenuController,
@@ -46,6 +46,8 @@ class APP_LIST_EXPORT AppListItemView : public views::CustomButton,
AppListItemModel* model() const { return model_; }
+ const views::Label* title() const { return title_; }
+
private:
enum UIState {
UI_STATE_NORMAL, // Normal UI (icon + label)
« no previous file with comments | « ui/app_list/views/app_list_drag_and_drop_host.h ('k') | ui/app_list/views/apps_grid_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698