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 #include <vector> |
6 | 7 |
7 #include "ash/session/session_state_delegate.h" | 8 #include "ash/session/session_state_delegate.h" |
8 #include "ash/shell.h" | 9 #include "ash/shell.h" |
9 #include "ash/shell/example_factory.h" | 10 #include "ash/shell/example_factory.h" |
10 #include "ash/shell/toplevel_window.h" | 11 #include "ash/shell/toplevel_window.h" |
11 #include "ash/shell_delegate.h" | 12 #include "ash/shell_delegate.h" |
12 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
13 #include "base/callback.h" | 14 #include "base/callback.h" |
14 #include "base/files/file_path.h" | 15 #include "base/files/file_path.h" |
15 #include "base/i18n/case_conversion.h" | 16 #include "base/i18n/case_conversion.h" |
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
346 | 347 |
347 virtual void ShowForProfileByPath( | 348 virtual void ShowForProfileByPath( |
348 const base::FilePath& profile_path) OVERRIDE { | 349 const base::FilePath& profile_path) OVERRIDE { |
349 // Nothing needs to be done. | 350 // Nothing needs to be done. |
350 } | 351 } |
351 | 352 |
352 virtual views::View* CreateStartPageWebView(const gfx::Size& size) OVERRIDE { | 353 virtual views::View* CreateStartPageWebView(const gfx::Size& size) OVERRIDE { |
353 return NULL; | 354 return NULL; |
354 } | 355 } |
355 | 356 |
356 virtual views::View* CreateCustomPageWebView(const gfx::Size& size) OVERRIDE { | 357 virtual std::vector<views::View*> CreateCustomPageWebViews( |
357 return NULL; | 358 const gfx::Size& size) OVERRIDE { |
| 359 return std::vector<views::View*>(); |
358 } | 360 } |
359 | 361 |
360 virtual bool IsSpeechRecognitionEnabled() OVERRIDE { | 362 virtual bool IsSpeechRecognitionEnabled() OVERRIDE { |
361 return false; | 363 return false; |
362 } | 364 } |
363 | 365 |
364 scoped_ptr<app_list::AppListModel> model_; | 366 scoped_ptr<app_list::AppListModel> model_; |
365 app_list::SpeechUIModel speech_ui_; | 367 app_list::SpeechUIModel speech_ui_; |
366 Users users_; | 368 Users users_; |
367 | 369 |
368 DISALLOW_COPY_AND_ASSIGN(ExampleAppListViewDelegate); | 370 DISALLOW_COPY_AND_ASSIGN(ExampleAppListViewDelegate); |
369 }; | 371 }; |
370 | 372 |
371 } // namespace | 373 } // namespace |
372 | 374 |
373 app_list::AppListViewDelegate* CreateAppListViewDelegate() { | 375 app_list::AppListViewDelegate* CreateAppListViewDelegate() { |
374 return new ExampleAppListViewDelegate; | 376 return new ExampleAppListViewDelegate; |
375 } | 377 } |
376 | 378 |
377 } // namespace shell | 379 } // namespace shell |
378 } // namespace ash | 380 } // namespace ash |
OLD | NEW |