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

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

Issue 1010853002: Reset the background of title label when selected by arrow keys. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: commends addressed Created 5 years, 9 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 | ui/app_list/views/app_list_item_view.cc » ('j') | ui/app_list/views/apps_grid_view.cc » ('J')
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 d5a651611b36de9586dad38831ca410e7937aa02..95ca4f3df83aa3fa24f854ed687f0d3fb06acbe1 100644
--- a/ui/app_list/views/app_list_item_view.h
+++ b/ui/app_list/views/app_list_item_view.h
@@ -81,6 +81,10 @@ class APP_LIST_EXPORT AppListItemView : public views::CustomButton,
// the assuming bounds of this view.
gfx::Rect GetIconBoundsForTargetViewBounds(const gfx::Rect& target_bounds);
+ // If the item is not in a folder, not highlighted, not being dragged, and not
+ // having something dropped onto it, enables subpixel AA for the title.
+ void SetTitleSubpixelAA();
+
// views::CustomButton overrides:
void OnGestureEvent(ui::GestureEvent* event) override;
@@ -109,10 +113,6 @@ class APP_LIST_EXPORT AppListItemView : public views::CustomButton,
// Invoked when |mouse_drag_timer_| fires to show dragging UI.
void OnMouseDragTimer();
- // If the item is not in a folder, not highlighted, not being dragged, and not
- // having something dropped onto it, enables subpixel AA for the title.
- void SetTitleSubpixelAA();
-
// views::View overrides:
const char* GetClassName() const override;
void Layout() override;
« no previous file with comments | « no previous file | ui/app_list/views/app_list_item_view.cc » ('j') | ui/app_list/views/apps_grid_view.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698