| 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_state_delegate.h" | 7 #include "ash/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 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 291 } | 291 } |
| 292 | 292 |
| 293 virtual void ViewClosing() OVERRIDE { | 293 virtual void ViewClosing() OVERRIDE { |
| 294 // Nothing needs to be done. | 294 // Nothing needs to be done. |
| 295 } | 295 } |
| 296 | 296 |
| 297 virtual gfx::ImageSkia GetWindowIcon() OVERRIDE { | 297 virtual gfx::ImageSkia GetWindowIcon() OVERRIDE { |
| 298 return gfx::ImageSkia(); | 298 return gfx::ImageSkia(); |
| 299 } | 299 } |
| 300 | 300 |
| 301 virtual base::string16 GetCurrentUserName() OVERRIDE { | |
| 302 return base::string16(); | |
| 303 } | |
| 304 | |
| 305 virtual base::string16 GetCurrentUserEmail() OVERRIDE { | |
| 306 return base::string16(); | |
| 307 } | |
| 308 | |
| 309 virtual void OpenSettings() OVERRIDE { | 301 virtual void OpenSettings() OVERRIDE { |
| 310 // Nothing needs to be done. | 302 // Nothing needs to be done. |
| 311 } | 303 } |
| 312 | 304 |
| 313 virtual void OpenHelp() OVERRIDE { | 305 virtual void OpenHelp() OVERRIDE { |
| 314 // Nothing needs to be done. | 306 // Nothing needs to be done. |
| 315 } | 307 } |
| 316 | 308 |
| 317 virtual void OpenFeedback() OVERRIDE { | 309 virtual void OpenFeedback() OVERRIDE { |
| 318 // Nothing needs to be done. | 310 // Nothing needs to be done. |
| 319 } | 311 } |
| 320 | 312 |
| 321 app_list::AppListModel* model_; | 313 app_list::AppListModel* model_; |
| 322 | 314 |
| 323 DISALLOW_COPY_AND_ASSIGN(ExampleAppListViewDelegate); | 315 DISALLOW_COPY_AND_ASSIGN(ExampleAppListViewDelegate); |
| 324 }; | 316 }; |
| 325 | 317 |
| 326 } // namespace | 318 } // namespace |
| 327 | 319 |
| 328 app_list::AppListViewDelegate* CreateAppListViewDelegate() { | 320 app_list::AppListViewDelegate* CreateAppListViewDelegate() { |
| 329 return new ExampleAppListViewDelegate; | 321 return new ExampleAppListViewDelegate; |
| 330 } | 322 } |
| 331 | 323 |
| 332 } // namespace shell | 324 } // namespace shell |
| 333 } // namespace ash | 325 } // namespace ash |
| OLD | NEW |