| 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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 } | 241 } |
| 242 | 242 |
| 243 virtual void SetProfileByPath(const base::FilePath& profile_path) OVERRIDE { | 243 virtual void SetProfileByPath(const base::FilePath& profile_path) OVERRIDE { |
| 244 // Nothing needs to be done. | 244 // Nothing needs to be done. |
| 245 } | 245 } |
| 246 | 246 |
| 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 { |
| 252 return false; |
| 253 } |
| 254 |
| 251 virtual app_list::AppListModel* GetModel() OVERRIDE { return model_.get(); } | 255 virtual app_list::AppListModel* GetModel() OVERRIDE { return model_.get(); } |
| 252 | 256 |
| 253 virtual app_list::SigninDelegate* GetSigninDelegate() OVERRIDE { | 257 virtual app_list::SigninDelegate* GetSigninDelegate() OVERRIDE { |
| 254 return NULL; | 258 return NULL; |
| 255 } | 259 } |
| 256 | 260 |
| 257 virtual app_list::SpeechUIModel* GetSpeechUI() OVERRIDE { | 261 virtual app_list::SpeechUIModel* GetSpeechUI() OVERRIDE { |
| 258 return &speech_ui_; | 262 return &speech_ui_; |
| 259 } | 263 } |
| 260 | 264 |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 366 }; | 370 }; |
| 367 | 371 |
| 368 } // namespace | 372 } // namespace |
| 369 | 373 |
| 370 app_list::AppListViewDelegate* CreateAppListViewDelegate() { | 374 app_list::AppListViewDelegate* CreateAppListViewDelegate() { |
| 371 return new ExampleAppListViewDelegate; | 375 return new ExampleAppListViewDelegate; |
| 372 } | 376 } |
| 373 | 377 |
| 374 } // namespace shell | 378 } // namespace shell |
| 375 } // namespace ash | 379 } // namespace ash |
| OLD | NEW |