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 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
298 } | 298 } |
299 | 299 |
300 virtual string16 GetCurrentUserEmail() { | 300 virtual string16 GetCurrentUserEmail() { |
301 return string16(); | 301 return string16(); |
302 } | 302 } |
303 | 303 |
304 virtual void OpenSettings() { | 304 virtual void OpenSettings() { |
305 // Nothing needs to be done. | 305 // Nothing needs to be done. |
306 } | 306 } |
307 | 307 |
| 308 virtual void OpenHelp() { |
| 309 // Nothing needs to be done. |
| 310 } |
| 311 |
308 virtual void OpenFeedback() { | 312 virtual void OpenFeedback() { |
309 // Nothing needs to be done. | 313 // Nothing needs to be done. |
310 } | 314 } |
311 | 315 |
312 app_list::AppListModel* model_; | 316 app_list::AppListModel* model_; |
313 | 317 |
314 DISALLOW_COPY_AND_ASSIGN(ExampleAppListViewDelegate); | 318 DISALLOW_COPY_AND_ASSIGN(ExampleAppListViewDelegate); |
315 }; | 319 }; |
316 | 320 |
317 } // namespace | 321 } // namespace |
318 | 322 |
319 app_list::AppListViewDelegate* CreateAppListViewDelegate() { | 323 app_list::AppListViewDelegate* CreateAppListViewDelegate() { |
320 return new ExampleAppListViewDelegate; | 324 return new ExampleAppListViewDelegate; |
321 } | 325 } |
322 | 326 |
323 } // namespace shell | 327 } // namespace shell |
324 } // namespace ash | 328 } // namespace ash |
OLD | NEW |