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

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

Issue 12208040: [win] Add a progress bar in the app launcher for app installs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix linux compile Created 7 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « ui/app_list/app_list_item_model_observer.h ('k') | ui/app_list/views/app_list_item_view.cc » ('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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 // Sets |touch_dragging_| flag and updates UI. 57 // Sets |touch_dragging_| flag and updates UI.
58 void SetTouchDragging(bool touch_dragging); 58 void SetTouchDragging(bool touch_dragging);
59 59
60 // Invoked when |mouse_drag_timer_| fires to show dragging UI. 60 // Invoked when |mouse_drag_timer_| fires to show dragging UI.
61 void OnMouseDragTimer(); 61 void OnMouseDragTimer();
62 62
63 // AppListItemModelObserver overrides: 63 // AppListItemModelObserver overrides:
64 virtual void ItemIconChanged() OVERRIDE; 64 virtual void ItemIconChanged() OVERRIDE;
65 virtual void ItemTitleChanged() OVERRIDE; 65 virtual void ItemTitleChanged() OVERRIDE;
66 virtual void ItemHighlightedChanged() OVERRIDE; 66 virtual void ItemHighlightedChanged() OVERRIDE;
67 virtual void ItemIsInstallingChanged() OVERRIDE;
68 virtual void ItemPercentDownloadedChanged() OVERRIDE;
67 69
68 // views::View overrides: 70 // views::View overrides:
69 virtual std::string GetClassName() const OVERRIDE; 71 virtual std::string GetClassName() const OVERRIDE;
70 virtual void Layout() OVERRIDE; 72 virtual void Layout() OVERRIDE;
71 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; 73 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
72 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; 74 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE;
73 75
74 // views::ContextMenuController overrides: 76 // views::ContextMenuController overrides:
75 virtual void ShowContextMenuForView(views::View* source, 77 virtual void ShowContextMenuForView(views::View* source,
76 const gfx::Point& point) OVERRIDE; 78 const gfx::Point& point) OVERRIDE;
(...skipping 30 matching lines...) Expand all
107 109
108 // A timer to defer showing drag UI when mouse is pressed. 110 // A timer to defer showing drag UI when mouse is pressed.
109 base::OneShotTimer<AppListItemView> mouse_drag_timer_; 111 base::OneShotTimer<AppListItemView> mouse_drag_timer_;
110 112
111 DISALLOW_COPY_AND_ASSIGN(AppListItemView); 113 DISALLOW_COPY_AND_ASSIGN(AppListItemView);
112 }; 114 };
113 115
114 } // namespace app_list 116 } // namespace app_list
115 117
116 #endif // UI_APP_LIST_VIEWS_APP_LIST_ITEM_VIEW_H_ 118 #endif // UI_APP_LIST_VIEWS_APP_LIST_ITEM_VIEW_H_
OLDNEW
« no previous file with comments | « ui/app_list/app_list_item_model_observer.h ('k') | ui/app_list/views/app_list_item_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698