| 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 <memory> | 5 #include <memory> |
| 6 #include <string> | 6 #include <string> |
| 7 #include <utility> | 7 #include <utility> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "ash/session/session_controller.h" | 10 #include "ash/session/session_controller.h" |
| 11 #include "ash/shell.h" | 11 #include "ash/shell.h" |
| 12 #include "ash/shell/example_factory.h" | 12 #include "ash/shell/example_factory.h" |
| 13 #include "ash/shell/toplevel_window.h" | 13 #include "ash/shell/toplevel_window.h" |
| 14 #include "ash/wm_shell.h" | 14 #include "ash/shell_port.h" |
| 15 #include "base/callback.h" | 15 #include "base/callback.h" |
| 16 #include "base/files/file_path.h" | 16 #include "base/files/file_path.h" |
| 17 #include "base/i18n/case_conversion.h" | 17 #include "base/i18n/case_conversion.h" |
| 18 #include "base/i18n/string_search.h" | 18 #include "base/i18n/string_search.h" |
| 19 #include "base/memory/ptr_util.h" | 19 #include "base/memory/ptr_util.h" |
| 20 #include "base/strings/string_number_conversions.h" | 20 #include "base/strings/string_number_conversions.h" |
| 21 #include "base/strings/string_util.h" | 21 #include "base/strings/string_util.h" |
| 22 #include "base/strings/utf_string_conversions.h" | 22 #include "base/strings/utf_string_conversions.h" |
| 23 #include "ui/app_list/app_list_item.h" | 23 #include "ui/app_list/app_list_item.h" |
| 24 #include "ui/app_list/app_list_item_list.h" | 24 #include "ui/app_list/app_list_item_list.h" |
| (...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 267 | 267 |
| 268 void StopSearch() override { | 268 void StopSearch() override { |
| 269 // Nothing needs to be done. | 269 // Nothing needs to be done. |
| 270 } | 270 } |
| 271 | 271 |
| 272 void ViewInitialized() override { | 272 void ViewInitialized() override { |
| 273 // Nothing needs to be done. | 273 // Nothing needs to be done. |
| 274 } | 274 } |
| 275 | 275 |
| 276 void Dismiss() override { | 276 void Dismiss() override { |
| 277 DCHECK(WmShell::HasInstance()); | 277 DCHECK(ShellPort::HasInstance()); |
| 278 Shell::Get()->DismissAppList(); | 278 Shell::Get()->DismissAppList(); |
| 279 } | 279 } |
| 280 | 280 |
| 281 void ViewClosing() override { | 281 void ViewClosing() override { |
| 282 // Nothing needs to be done. | 282 // Nothing needs to be done. |
| 283 } | 283 } |
| 284 | 284 |
| 285 void StartSpeechRecognition() override { NOTIMPLEMENTED(); } | 285 void StartSpeechRecognition() override { NOTIMPLEMENTED(); } |
| 286 void StopSpeechRecognition() override { NOTIMPLEMENTED(); } | 286 void StopSpeechRecognition() override { NOTIMPLEMENTED(); } |
| 287 | 287 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 307 }; | 307 }; |
| 308 | 308 |
| 309 } // namespace | 309 } // namespace |
| 310 | 310 |
| 311 app_list::AppListViewDelegate* CreateAppListViewDelegate() { | 311 app_list::AppListViewDelegate* CreateAppListViewDelegate() { |
| 312 return new ExampleAppListViewDelegate; | 312 return new ExampleAppListViewDelegate; |
| 313 } | 313 } |
| 314 | 314 |
| 315 } // namespace shell | 315 } // namespace shell |
| 316 } // namespace ash | 316 } // namespace ash |
| OLD | NEW |