OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 #include "base/macros.h" |
9 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
| 11 #include "build/build_config.h" |
10 #include "chrome/browser/apps/app_browsertest_util.h" | 12 #include "chrome/browser/apps/app_browsertest_util.h" |
11 #include "chrome/browser/ui/app_list/app_list_service.h" | 13 #include "chrome/browser/ui/app_list/app_list_service.h" |
12 #include "chrome/browser/ui/app_list/app_list_service_views.h" | 14 #include "chrome/browser/ui/app_list/app_list_service_views.h" |
13 #include "chrome/browser/ui/app_list/app_list_shower_views.h" | 15 #include "chrome/browser/ui/app_list/app_list_shower_views.h" |
14 #include "content/public/browser/render_frame_host.h" | 16 #include "content/public/browser/render_frame_host.h" |
15 #include "content/public/browser/web_contents.h" | 17 #include "content/public/browser/web_contents.h" |
16 #include "extensions/common/extension.h" | 18 #include "extensions/common/extension.h" |
17 #include "extensions/common/switches.h" | 19 #include "extensions/common/switches.h" |
18 #include "extensions/test/extension_test_message_listener.h" | 20 #include "extensions/test/extension_test_message_listener.h" |
19 #include "ui/app_list/app_list_switches.h" | 21 #include "ui/app_list/app_list_switches.h" |
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
454 // And in reverse. | 456 // And in reverse. |
455 EXPECT_EQ( | 457 EXPECT_EQ( |
456 search_box_textfield, | 458 search_box_textfield, |
457 app_list_view->GetFocusManager()->GetNextFocusableView( | 459 app_list_view->GetFocusManager()->GetNextFocusableView( |
458 custom_page_webview, custom_page_webview->GetWidget(), true, false)); | 460 custom_page_webview, custom_page_webview->GetWidget(), true, false)); |
459 EXPECT_EQ(custom_page_webview, | 461 EXPECT_EQ(custom_page_webview, |
460 app_list_view->GetFocusManager()->GetNextFocusableView( | 462 app_list_view->GetFocusManager()->GetNextFocusableView( |
461 search_box_textfield, search_box_textfield->GetWidget(), true, | 463 search_box_textfield, search_box_textfield->GetWidget(), true, |
462 false)); | 464 false)); |
463 } | 465 } |
OLD | NEW |