OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "athena/home/app_list_view_delegate.h" | 5 #include "athena/home/app_list_view_delegate.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "athena/home/public/app_model_builder.h" | 10 #include "athena/home/public/app_model_builder.h" |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 logo_image->SetHorizontalAlignment(views::ImageView::CENTER); | 152 logo_image->SetHorizontalAlignment(views::ImageView::CENTER); |
153 logo_image->SetVerticalAlignment(views::ImageView::CENTER); | 153 logo_image->SetVerticalAlignment(views::ImageView::CENTER); |
154 return logo_image; | 154 return logo_image; |
155 } | 155 } |
156 | 156 |
157 std::vector<views::View*> AppListViewDelegate::CreateCustomPageWebViews( | 157 std::vector<views::View*> AppListViewDelegate::CreateCustomPageWebViews( |
158 const gfx::Size& size) { | 158 const gfx::Size& size) { |
159 return std::vector<views::View*>(); | 159 return std::vector<views::View*>(); |
160 } | 160 } |
161 | 161 |
| 162 void AppListViewDelegate::CustomLauncherPageAnimationChanged(double progress) { |
| 163 } |
| 164 |
162 bool AppListViewDelegate::IsSpeechRecognitionEnabled() { | 165 bool AppListViewDelegate::IsSpeechRecognitionEnabled() { |
163 return false; | 166 return false; |
164 } | 167 } |
165 | 168 |
166 const app_list::AppListViewDelegate::Users& | 169 const app_list::AppListViewDelegate::Users& |
167 AppListViewDelegate::GetUsers() const { | 170 AppListViewDelegate::GetUsers() const { |
168 return users_; | 171 return users_; |
169 } | 172 } |
170 | 173 |
171 bool AppListViewDelegate::ShouldCenterWindow() const { | 174 bool AppListViewDelegate::ShouldCenterWindow() const { |
172 return true; | 175 return true; |
173 } | 176 } |
174 | 177 |
175 } // namespace athena | 178 } // namespace athena |
OLD | NEW |