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 "core/dom/Document.h" | 5 #include "core/dom/Document.h" |
6 #include "core/dom/Element.h" | 6 #include "core/dom/Element.h" |
7 #include "core/dom/Node.h" | 7 #include "core/dom/Node.h" |
8 #include "core/html/HTMLElement.h" | 8 #include "core/html/HTMLElement.h" |
9 #include "platform/testing/URLTestHelpers.h" | 9 #include "platform/testing/URLTestHelpers.h" |
10 #include "platform/testing/UnitTestHelpers.h" | 10 #include "platform/testing/UnitTestHelpers.h" |
11 #include "public/platform/Platform.h" | 11 #include "public/platform/Platform.h" |
| 12 #include "public/platform/WebCache.h" |
12 #include "public/platform/WebURLLoaderMockFactory.h" | 13 #include "public/platform/WebURLLoaderMockFactory.h" |
13 #include "public/web/WebCache.h" | |
14 #include "public/web/WebDocument.h" | 14 #include "public/web/WebDocument.h" |
15 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
16 #include "web/WebLocalFrameImpl.h" | 16 #include "web/WebLocalFrameImpl.h" |
17 #include "web/tests/FrameTestHelpers.h" | 17 #include "web/tests/FrameTestHelpers.h" |
18 | 18 |
19 using blink::FrameTestHelpers::loadFrame; | 19 using blink::FrameTestHelpers::loadFrame; |
20 using blink::testing::runPendingTasks; | 20 using blink::testing::runPendingTasks; |
21 using blink::URLTestHelpers::registerMockedURLLoadFromBase; | 21 using blink::URLTestHelpers::registerMockedURLLoadFromBase; |
22 | 22 |
23 namespace blink { | 23 namespace blink { |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 runImeOnFocusTest("ime-on-focus-after-navigation-within-page.html", 1, | 145 runImeOnFocusTest("ime-on-focus-after-navigation-within-page.html", 1, |
146 IntPoint(50, 50), "input"); | 146 IntPoint(50, 50), "input"); |
147 } | 147 } |
148 | 148 |
149 TEST_F(ImeOnFocusTest, AfterFrameLoadOnGesture) { | 149 TEST_F(ImeOnFocusTest, AfterFrameLoadOnGesture) { |
150 runImeOnFocusTest("ime-on-focus-after-frame-load-on-gesture.html", 1, | 150 runImeOnFocusTest("ime-on-focus-after-frame-load-on-gesture.html", 1, |
151 IntPoint(50, 50), "input", "frame.html"); | 151 IntPoint(50, 50), "input", "frame.html"); |
152 } | 152 } |
153 | 153 |
154 } // namespace blink | 154 } // namespace blink |
OLD | NEW |