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

Side by Side Diff: athena/home/app_list_view_delegate.cc

Issue 683703002: Notify launcher page with onTransitionChanged event (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@launcher_page_api_show_state_notify
Patch Set: fix mac compile Created 6 years, 1 month 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
OLDNEW
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
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
OLDNEW
« no previous file with comments | « athena/home/app_list_view_delegate.h ('k') | chrome/browser/apps/custom_launcher_page_browsertest_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698