| Index: ui/app_list/views/app_list_page.cc
|
| diff --git a/ui/app_list/views/app_list_page.cc b/ui/app_list/views/app_list_page.cc
|
| index 8a7b6f3bd9dbc7224afee42b13ec531301d19b34..9799f94a3cd6cc8770e294c65a96f96f439043af 100644
|
| --- a/ui/app_list/views/app_list_page.cc
|
| +++ b/ui/app_list/views/app_list_page.cc
|
| @@ -10,32 +10,25 @@ namespace {
|
|
|
| // The default z height for the search box.
|
| const int kDefaultSearchBoxZHeight = 2;
|
| -}
|
| +} // namespace
|
|
|
| namespace app_list {
|
|
|
| -AppListPage::AppListPage() : contents_view_(nullptr) {
|
| -}
|
| +AppListPage::AppListPage() : contents_view_(nullptr) {}
|
|
|
| -AppListPage::~AppListPage() {
|
| -}
|
| +AppListPage::~AppListPage() {}
|
|
|
| -void AppListPage::OnShown() {
|
| -}
|
| +void AppListPage::OnShown() {}
|
|
|
| -void AppListPage::OnWillBeShown() {
|
| -}
|
| +void AppListPage::OnWillBeShown() {}
|
|
|
| -void AppListPage::OnHidden() {
|
| -}
|
| +void AppListPage::OnHidden() {}
|
|
|
| -void AppListPage::OnWillBeHidden() {
|
| -}
|
| +void AppListPage::OnWillBeHidden() {}
|
|
|
| void AppListPage::OnAnimationUpdated(double progress,
|
| AppListModel::State from_state,
|
| - AppListModel::State to_state) {
|
| -}
|
| + AppListModel::State to_state) {}
|
|
|
| gfx::Rect AppListPage::GetSearchBoxBounds() const {
|
| DCHECK(contents_view_);
|
| @@ -71,4 +64,9 @@ gfx::Rect AppListPage::GetDefaultContentsBounds() const {
|
| return contents_view_->GetDefaultContentsBounds();
|
| }
|
|
|
| +bool AppListPage::IsCustomLauncherPageActive() const {
|
| + return contents_view_->IsStateActive(
|
| + AppListModel::STATE_CUSTOM_LAUNCHER_PAGE);
|
| +}
|
| +
|
| } // namespace app_list
|
|
|