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

Side by Side Diff: ui/app_list/views/app_list_main_view.cc

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/views/app_list_item_view.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "ui/app_list/views/app_list_main_view.h" 5 #include "ui/app_list/views/app_list_main_view.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/string_util.h" 9 #include "base/string_util.h"
10 #include "ui/app_list/app_list_constants.h" 10 #include "ui/app_list/app_list_constants.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 } 53 }
54 54
55 private: 55 private:
56 // AppListItemModelObserver overrides: 56 // AppListItemModelObserver overrides:
57 virtual void ItemIconChanged() OVERRIDE { 57 virtual void ItemIconChanged() OVERRIDE {
58 owner_->OnItemIconLoaded(this); 58 owner_->OnItemIconLoaded(this);
59 // Note that IconLoader is released here. 59 // Note that IconLoader is released here.
60 } 60 }
61 virtual void ItemTitleChanged() OVERRIDE {} 61 virtual void ItemTitleChanged() OVERRIDE {}
62 virtual void ItemHighlightedChanged() OVERRIDE {} 62 virtual void ItemHighlightedChanged() OVERRIDE {}
63 virtual void ItemIsInstallingChanged() OVERRIDE {};
64 virtual void ItemPercentDownloadedChanged() OVERRIDE {};
63 65
64 AppListMainView* owner_; 66 AppListMainView* owner_;
65 AppListItemModel* item_; 67 AppListItemModel* item_;
66 68
67 DISALLOW_COPY_AND_ASSIGN(IconLoader); 69 DISALLOW_COPY_AND_ASSIGN(IconLoader);
68 }; 70 };
69 71
70 //////////////////////////////////////////////////////////////////////////////// 72 ////////////////////////////////////////////////////////////////////////////////
71 // AppListMainView: 73 // AppListMainView:
72 74
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 } 199 }
198 200
199 void AppListMainView::InvokeResultAction(const SearchResult& result, 201 void AppListMainView::InvokeResultAction(const SearchResult& result,
200 int action_index, 202 int action_index,
201 int event_flags) { 203 int event_flags) {
202 if (delegate_) 204 if (delegate_)
203 delegate_->InvokeSearchResultAction(result, action_index, event_flags); 205 delegate_->InvokeSearchResultAction(result, action_index, event_flags);
204 } 206 }
205 207
206 } // namespace app_list 208 } // namespace app_list
OLDNEW
« no previous file with comments | « ui/app_list/views/app_list_item_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698