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 | 9 |
9 #include "athena/home/public/app_model_builder.h" | 10 #include "athena/home/public/app_model_builder.h" |
10 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
11 #include "base/bind.h" | 12 #include "base/bind.h" |
12 #include "base/callback.h" | 13 #include "base/callback.h" |
13 #include "base/files/file_path.h" | 14 #include "base/files/file_path.h" |
14 #include "base/strings/utf_string_conversions.h" | 15 #include "base/strings/utf_string_conversions.h" |
15 #include "third_party/skia/include/core/SkBitmap.h" | 16 #include "third_party/skia/include/core/SkBitmap.h" |
16 #include "ui/app_list/app_list_model.h" | 17 #include "ui/app_list/app_list_model.h" |
17 #include "ui/app_list/search_box_model.h" | 18 #include "ui/app_list/search_box_model.h" |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 void AppListViewDelegate::ShowForProfileByPath( | 178 void AppListViewDelegate::ShowForProfileByPath( |
178 const base::FilePath& profile_path) { | 179 const base::FilePath& profile_path) { |
179 // Nothing needs to be done. | 180 // Nothing needs to be done. |
180 } | 181 } |
181 | 182 |
182 views::View* AppListViewDelegate::CreateStartPageWebView( | 183 views::View* AppListViewDelegate::CreateStartPageWebView( |
183 const gfx::Size& size) { | 184 const gfx::Size& size) { |
184 return new DummyLogoView(size); | 185 return new DummyLogoView(size); |
185 } | 186 } |
186 | 187 |
187 views::View* AppListViewDelegate::CreateCustomPageWebView( | 188 std::vector<views::View*> AppListViewDelegate::CreateCustomPageWebViews( |
188 const gfx::Size& size) { | 189 const gfx::Size& size) { |
189 return NULL; | 190 return std::vector<views::View*>(); |
190 } | 191 } |
191 | 192 |
192 bool AppListViewDelegate::IsSpeechRecognitionEnabled() { | 193 bool AppListViewDelegate::IsSpeechRecognitionEnabled() { |
193 return false; | 194 return false; |
194 } | 195 } |
195 | 196 |
196 const app_list::AppListViewDelegate::Users& | 197 const app_list::AppListViewDelegate::Users& |
197 AppListViewDelegate::GetUsers() const { | 198 AppListViewDelegate::GetUsers() const { |
198 return users_; | 199 return users_; |
199 } | 200 } |
200 | 201 |
201 bool AppListViewDelegate::ShouldCenterWindow() const { | 202 bool AppListViewDelegate::ShouldCenterWindow() const { |
202 return true; | 203 return true; |
203 } | 204 } |
204 | 205 |
205 } // namespace athena | 206 } // namespace athena |
OLD | NEW |