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

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: 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 launcher_page_event_dispatcher_->ProgressChanged(progress);
tapted 2014/11/06 06:05:45 remove? (not in athena)
calamity 2014/11/07 03:43:29 Done.
164 }
165
162 bool AppListViewDelegate::IsSpeechRecognitionEnabled() { 166 bool AppListViewDelegate::IsSpeechRecognitionEnabled() {
163 return false; 167 return false;
164 } 168 }
165 169
166 const app_list::AppListViewDelegate::Users& 170 const app_list::AppListViewDelegate::Users&
167 AppListViewDelegate::GetUsers() const { 171 AppListViewDelegate::GetUsers() const {
168 return users_; 172 return users_;
169 } 173 }
170 174
171 bool AppListViewDelegate::ShouldCenterWindow() const { 175 bool AppListViewDelegate::ShouldCenterWindow() const {
172 return true; 176 return true;
173 } 177 }
174 178
175 } // namespace athena 179 } // namespace athena
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698