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

Unified Diff: chrome/browser/ui/ash/app_list/app_list_controller_ash.cc

Issue 1890583002: Renaming App List Shower to App List Presenter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix. Created 4 years, 8 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: chrome/browser/ui/ash/app_list/app_list_controller_ash.cc
diff --git a/chrome/browser/ui/ash/app_list/app_list_controller_ash.cc b/chrome/browser/ui/ash/app_list/app_list_controller_ash.cc
index 18bf54e9a0f5a2ff27a92cbece91af1c01f3ad38..b9b8ee466fdede10257c6826164bd2696d654f61 100644
--- a/chrome/browser/ui/ash/app_list/app_list_controller_ash.cc
+++ b/chrome/browser/ui/ash/app_list/app_list_controller_ash.cc
@@ -10,25 +10,25 @@
#include "chrome/browser/ui/browser_navigator.h"
#include "chrome/browser/ui/browser_navigator_params.h"
#include "extensions/common/extension.h"
-#include "ui/app_list/shower/app_list_shower_impl.h"
+#include "ui/app_list/presenter/app_list_presenter_impl.h"
#include "ui/app_list/views/app_list_view.h"
AppListControllerDelegateAsh::AppListControllerDelegateAsh(
- app_list::AppListShowerImpl* app_list_shower)
- : app_list_shower_(app_list_shower) {}
+ app_list::AppListPresenterImpl* app_list_presenter)
+ : app_list_presenter_(app_list_presenter) {}
AppListControllerDelegateAsh::~AppListControllerDelegateAsh() {}
void AppListControllerDelegateAsh::DismissView() {
- app_list_shower_->Dismiss();
+ app_list_presenter_->Dismiss();
}
gfx::NativeWindow AppListControllerDelegateAsh::GetAppListWindow() {
- return app_list_shower_->GetWindow();
+ return app_list_presenter_->GetWindow();
}
gfx::Rect AppListControllerDelegateAsh::GetAppListBounds() {
- app_list::AppListView* app_list_view = app_list_shower_->GetView();
+ app_list::AppListView* app_list_view = app_list_presenter_->GetView();
if (app_list_view)
return app_list_view->GetBoundsInScreen();
return gfx::Rect();
@@ -55,13 +55,13 @@ AppListControllerDelegate::Pinnable AppListControllerDelegateAsh::GetPinnable(
}
void AppListControllerDelegateAsh::OnShowChildDialog() {
- app_list::AppListView* app_list_view = app_list_shower_->GetView();
+ app_list::AppListView* app_list_view = app_list_presenter_->GetView();
if (app_list_view)
app_list_view->SetAppListOverlayVisible(true);
}
void AppListControllerDelegateAsh::OnCloseChildDialog() {
- app_list::AppListView* app_list_view = app_list_shower_->GetView();
+ app_list::AppListView* app_list_view = app_list_presenter_->GetView();
if (app_list_view)
app_list_view->SetAppListOverlayVisible(false);
}
« no previous file with comments | « chrome/browser/ui/ash/app_list/app_list_controller_ash.h ('k') | chrome/browser/ui/ash/app_list/app_list_service_ash.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698