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

Unified Diff: trunk/src/chrome/browser/ui/views/app_list/app_list_controller_win.cc

Issue 23808004: Revert 221197 "Adds an integration test for uninstalling app lis..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
Index: trunk/src/chrome/browser/ui/views/app_list/app_list_controller_win.cc
===================================================================
--- trunk/src/chrome/browser/ui/views/app_list/app_list_controller_win.cc (revision 221205)
+++ trunk/src/chrome/browser/ui/views/app_list/app_list_controller_win.cc (working copy)
@@ -568,8 +568,6 @@
window_icon_updated_(false) {
}
- app_list::AppListView* view() { return view_; }
-
void Show() {
view_->GetWidget()->Show();
if (!window_icon_updated_) {
@@ -701,12 +699,6 @@
return view_->GetWindow();
}
- app_list::AppListModel* GetGurrentModel() {
- if (!view_)
- return NULL;
- return view_->view()->model();
- }
-
void OnSigninStatusChanged() {
if (view_)
view_->OnSigninStatusChanged();
@@ -798,7 +790,7 @@
// TODO(tapted): Rename this class to AppListServiceWin and move entire file to
// chrome/browser/ui/app_list/app_list_service_win.cc after removing
// chrome/browser/ui/views dependency.
-class AppListController : public AppListServiceWin {
+class AppListController : public AppListServiceImpl {
public:
virtual ~AppListController();
@@ -828,9 +820,6 @@
// AppListServiceImpl overrides:
virtual void CreateShortcut() OVERRIDE;
- // AppListServiceWin overrides:
- virtual app_list::AppListModel* GetAppListModelForTesting() OVERRIDE;
-
private:
friend struct DefaultSingletonTraits<AppListController>;
@@ -950,10 +939,6 @@
return new AppListControllerDelegateWin();
}
-app_list::AppListModel* AppListController::GetAppListModelForTesting() {
- return shower_->GetGurrentModel();
-}
-
void AppListController::ShowForProfile(Profile* requested_profile) {
DCHECK(requested_profile);
if (requested_profile->IsManaged())
« no previous file with comments | « trunk/src/chrome/browser/ui/app_list/test/app_list_service_test_api_win.cc ('k') | trunk/src/chrome/chrome_browser_ui.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698