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

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

Issue 1355063004: Template methods on Timer classes instead of the classes themselves. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: timer: fixcaller Created 5 years, 3 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
« no previous file with comments | « ui/app_list/search_controller.h ('k') | ui/app_list/views/app_list_main_view.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 bool touch_dragging_; 164 bool touch_dragging_;
165 165
166 ImageShadowAnimator shadow_animator_; 166 ImageShadowAnimator shadow_animator_;
167 167
168 bool is_installing_; 168 bool is_installing_;
169 bool is_highlighted_; 169 bool is_highlighted_;
170 170
171 base::string16 tooltip_text_; 171 base::string16 tooltip_text_;
172 172
173 // A timer to defer showing drag UI when mouse is pressed. 173 // A timer to defer showing drag UI when mouse is pressed.
174 base::OneShotTimer<AppListItemView> mouse_drag_timer_; 174 base::OneShotTimer mouse_drag_timer_;
175 175
176 DISALLOW_COPY_AND_ASSIGN(AppListItemView); 176 DISALLOW_COPY_AND_ASSIGN(AppListItemView);
177 }; 177 };
178 178
179 } // namespace app_list 179 } // namespace app_list
180 180
181 #endif // UI_APP_LIST_VIEWS_APP_LIST_ITEM_VIEW_H_ 181 #endif // UI_APP_LIST_VIEWS_APP_LIST_ITEM_VIEW_H_
OLDNEW
« no previous file with comments | « ui/app_list/search_controller.h ('k') | ui/app_list/views/app_list_main_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698