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

Side by Side Diff: chrome/browser/ui/app_list/app_list_view_delegate.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
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 CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_
6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ 6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 18 matching lines...) Expand all
29 public: 29 public:
30 // The delegate will take ownership of the controller. 30 // The delegate will take ownership of the controller.
31 AppListViewDelegate(AppListControllerDelegate* controller, Profile* profile); 31 AppListViewDelegate(AppListControllerDelegate* controller, Profile* profile);
32 virtual ~AppListViewDelegate(); 32 virtual ~AppListViewDelegate();
33 33
34 // Called when an extension with the given id starts being installed. 34 // Called when an extension with the given id starts being installed.
35 void OnBeginExtensionInstall(const std::string& extension_id, 35 void OnBeginExtensionInstall(const std::string& extension_id,
36 const std::string& extension_name, 36 const std::string& extension_name,
37 const gfx::ImageSkia& installing_icon); 37 const gfx::ImageSkia& installing_icon);
38 38
39 // Called when the download of an extension makes progress.
40 void OnDownloadProgress(const std::string& extension_id,
41 int percent_downloaded);
42
39 private: 43 private:
40 // Overridden from app_list::AppListViewDelegate: 44 // Overridden from app_list::AppListViewDelegate:
41 virtual void SetModel(app_list::AppListModel* model) OVERRIDE; 45 virtual void SetModel(app_list::AppListModel* model) OVERRIDE;
42 virtual app_list::SigninDelegate* GetSigninDelegate() OVERRIDE; 46 virtual app_list::SigninDelegate* GetSigninDelegate() OVERRIDE;
43 virtual void ActivateAppListItem(app_list::AppListItemModel* item, 47 virtual void ActivateAppListItem(app_list::AppListItemModel* item,
44 int event_flags) OVERRIDE; 48 int event_flags) OVERRIDE;
45 virtual void StartSearch() OVERRIDE; 49 virtual void StartSearch() OVERRIDE;
46 virtual void StopSearch() OVERRIDE; 50 virtual void StopSearch() OVERRIDE;
47 virtual void OpenSearchResult(const app_list::SearchResult& result, 51 virtual void OpenSearchResult(const app_list::SearchResult& result,
48 int event_flags) OVERRIDE; 52 int event_flags) OVERRIDE;
(...skipping 11 matching lines...) Expand all
60 Profile* profile_; 64 Profile* profile_;
61 65
62 #if defined(USE_ASH) 66 #if defined(USE_ASH)
63 scoped_ptr<AppSyncUIStateWatcher> app_sync_ui_state_watcher_; 67 scoped_ptr<AppSyncUIStateWatcher> app_sync_ui_state_watcher_;
64 #endif 68 #endif
65 69
66 DISALLOW_COPY_AND_ASSIGN(AppListViewDelegate); 70 DISALLOW_COPY_AND_ASSIGN(AppListViewDelegate);
67 }; 71 };
68 72
69 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ 73 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/app_list_util.h ('k') | chrome/browser/ui/app_list/app_list_view_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698