OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 <stddef.h> |
| 6 |
| 7 #include "base/macros.h" |
5 #include "chrome/browser/chromeos/input_method/textinput_test_helper.h" | 8 #include "chrome/browser/chromeos/input_method/textinput_test_helper.h" |
6 #include "chrome/browser/ui/browser.h" | 9 #include "chrome/browser/ui/browser.h" |
7 #include "chrome/browser/ui/browser_window.h" | 10 #include "chrome/browser/ui/browser_window.h" |
8 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 11 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
9 #include "chrome/test/base/in_process_browser_test.h" | 12 #include "chrome/test/base/in_process_browser_test.h" |
10 #include "chrome/test/base/interactive_test_utils.h" | 13 #include "chrome/test/base/interactive_test_utils.h" |
11 #include "content/public/browser/render_view_host.h" | 14 #include "content/public/browser/render_view_host.h" |
12 #include "content/public/browser/web_contents.h" | 15 #include "content/public/browser/web_contents.h" |
13 #include "content/public/test/browser_test_utils.h" | 16 #include "content/public/test/browser_test_utils.h" |
14 #include "testing/gtest/include/gtest/gtest.h" | 17 #include "testing/gtest/include/gtest/gtest.h" |
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 0); | 299 0); |
297 content::WebContents* new_tab = | 300 content::WebContents* new_tab = |
298 browser()->tab_strip_model()->GetActiveWebContents(); | 301 browser()->tab_strip_model()->GetActiveWebContents(); |
299 EXPECT_NE(base_tab, new_tab); | 302 EXPECT_NE(base_tab, new_tab); |
300 | 303 |
301 helper.WaitForTextInputStateChanged(ui::TEXT_INPUT_TYPE_TEXT); | 304 helper.WaitForTextInputStateChanged(ui::TEXT_INPUT_TYPE_TEXT); |
302 EXPECT_EQ(ui::TEXT_INPUT_TYPE_TEXT, helper.GetTextInputType()); | 305 EXPECT_EQ(ui::TEXT_INPUT_TYPE_TEXT, helper.GetTextInputType()); |
303 } | 306 } |
304 | 307 |
305 } // namespace chromeos | 308 } // namespace chromeos |
OLD | NEW |