| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <string> | 5 #include <string> |
| 6 | 6 |
| 7 #include "ash/session/session_state_delegate.h" | 7 #include "ash/session/session_state_delegate.h" |
| 8 #include "ash/shell.h" | 8 #include "ash/shell.h" |
| 9 #include "ash/shell/example_factory.h" | 9 #include "ash/shell/example_factory.h" |
| 10 #include "ash/shell/toplevel_window.h" | 10 #include "ash/shell/toplevel_window.h" |
| (...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 247 virtual const Users& GetUsers() const OVERRIDE { | 247 virtual const Users& GetUsers() const OVERRIDE { |
| 248 return users_; | 248 return users_; |
| 249 } | 249 } |
| 250 | 250 |
| 251 virtual bool ShouldCenterWindow() const OVERRIDE { | 251 virtual bool ShouldCenterWindow() const OVERRIDE { |
| 252 return false; | 252 return false; |
| 253 } | 253 } |
| 254 | 254 |
| 255 virtual app_list::AppListModel* GetModel() OVERRIDE { return model_.get(); } | 255 virtual app_list::AppListModel* GetModel() OVERRIDE { return model_.get(); } |
| 256 | 256 |
| 257 virtual app_list::SigninDelegate* GetSigninDelegate() OVERRIDE { | |
| 258 return NULL; | |
| 259 } | |
| 260 | |
| 261 virtual app_list::SpeechUIModel* GetSpeechUI() OVERRIDE { | 257 virtual app_list::SpeechUIModel* GetSpeechUI() OVERRIDE { |
| 262 return &speech_ui_; | 258 return &speech_ui_; |
| 263 } | 259 } |
| 264 | 260 |
| 265 virtual void GetShortcutPathForApp( | 261 virtual void GetShortcutPathForApp( |
| 266 const std::string& app_id, | 262 const std::string& app_id, |
| 267 const base::Callback<void(const base::FilePath&)>& callback) OVERRIDE { | 263 const base::Callback<void(const base::FilePath&)>& callback) OVERRIDE { |
| 268 callback.Run(base::FilePath()); | 264 callback.Run(base::FilePath()); |
| 269 } | 265 } |
| 270 | 266 |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 370 }; | 366 }; |
| 371 | 367 |
| 372 } // namespace | 368 } // namespace |
| 373 | 369 |
| 374 app_list::AppListViewDelegate* CreateAppListViewDelegate() { | 370 app_list::AppListViewDelegate* CreateAppListViewDelegate() { |
| 375 return new ExampleAppListViewDelegate; | 371 return new ExampleAppListViewDelegate; |
| 376 } | 372 } |
| 377 | 373 |
| 378 } // namespace shell | 374 } // namespace shell |
| 379 } // namespace ash | 375 } // namespace ash |
| OLD | NEW |