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/shell.h" | 7 #include "ash/shell.h" |
8 #include "ash/shell/example_factory.h" | 8 #include "ash/shell/example_factory.h" |
9 #include "ash/shell/toplevel_window.h" | 9 #include "ash/shell/toplevel_window.h" |
10 #include "ash/shell_delegate.h" | 10 #include "ash/shell_delegate.h" |
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 } | 286 } |
287 | 287 |
288 virtual void ViewActivationChanged(bool active) OVERRIDE { | 288 virtual void ViewActivationChanged(bool active) OVERRIDE { |
289 // Nothing needs to be done. | 289 // Nothing needs to be done. |
290 } | 290 } |
291 | 291 |
292 virtual gfx::ImageSkia GetWindowIcon() OVERRIDE { | 292 virtual gfx::ImageSkia GetWindowIcon() OVERRIDE { |
293 return gfx::ImageSkia(); | 293 return gfx::ImageSkia(); |
294 } | 294 } |
295 | 295 |
| 296 virtual string16 GetCurrentUserName() { |
| 297 return string16(); |
| 298 } |
| 299 |
| 300 virtual string16 GetCurrentUserEmail() { |
| 301 return string16(); |
| 302 } |
| 303 |
| 304 virtual void OpenSettings() { |
| 305 // Nothing needs to be done. |
| 306 } |
| 307 |
| 308 virtual void OpenFeedback() { |
| 309 // Nothing needs to be done. |
| 310 } |
| 311 |
296 app_list::AppListModel* model_; | 312 app_list::AppListModel* model_; |
297 | 313 |
298 DISALLOW_COPY_AND_ASSIGN(ExampleAppListViewDelegate); | 314 DISALLOW_COPY_AND_ASSIGN(ExampleAppListViewDelegate); |
299 }; | 315 }; |
300 | 316 |
301 } // namespace | 317 } // namespace |
302 | 318 |
303 app_list::AppListViewDelegate* CreateAppListViewDelegate() { | 319 app_list::AppListViewDelegate* CreateAppListViewDelegate() { |
304 return new ExampleAppListViewDelegate; | 320 return new ExampleAppListViewDelegate; |
305 } | 321 } |
306 | 322 |
307 } // namespace shell | 323 } // namespace shell |
308 } // namespace ash | 324 } // namespace ash |
OLD | NEW |