OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "base/memory/ptr_util.h" | 5 #include "base/memory/ptr_util.h" |
| 6 #include "blimp/client/app/session/test_client_session.h" |
6 #include "blimp/client/core/contents/ime_feature.h" | 7 #include "blimp/client/core/contents/ime_feature.h" |
7 #include "blimp/client/core/contents/mock_ime_feature_delegate.h" | 8 #include "blimp/client/core/contents/mock_ime_feature_delegate.h" |
8 #include "blimp/client/core/contents/mock_navigation_feature_delegate.h" | 9 #include "blimp/client/core/contents/mock_navigation_feature_delegate.h" |
9 #include "blimp/client/core/contents/navigation_feature.h" | 10 #include "blimp/client/core/contents/navigation_feature.h" |
10 #include "blimp/client/core/contents/tab_control_feature.h" | 11 #include "blimp/client/core/contents/tab_control_feature.h" |
11 #include "blimp/client/core/render_widget/render_widget_feature.h" | 12 #include "blimp/client/core/render_widget/render_widget_feature.h" |
12 #include "blimp/client/core/session/assignment_source.h" | 13 #include "blimp/client/core/session/assignment_source.h" |
13 #include "blimp/client/public/session/assignment.h" | 14 #include "blimp/client/public/session/assignment.h" |
14 #include "blimp/client/session/test_client_session.h" | |
15 #include "blimp/engine/browser_tests/blimp_browser_test.h" | 15 #include "blimp/engine/browser_tests/blimp_browser_test.h" |
16 #include "content/public/test/browser_test.h" | 16 #include "content/public/test/browser_test.h" |
17 #include "net/base/ip_address.h" | 17 #include "net/base/ip_address.h" |
18 #include "net/base/ip_endpoint.h" | 18 #include "net/base/ip_endpoint.h" |
19 #include "testing/gmock/include/gmock/gmock.h" | 19 #include "testing/gmock/include/gmock/gmock.h" |
20 #include "testing/gtest/include/gtest/gtest.h" | 20 #include "testing/gtest/include/gtest/gtest.h" |
21 #include "third_party/WebKit/public/web/WebInputEvent.h" | 21 #include "third_party/WebKit/public/web/WebInputEvent.h" |
22 #include "ui/gfx/geometry/size.h" | 22 #include "ui/gfx/geometry/size.h" |
23 #include "url/gurl.h" | 23 #include "url/gurl.h" |
24 | 24 |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 // Enter text from the client and expect the input.html JavaScript to update | 135 // Enter text from the client and expect the input.html JavaScript to update |
136 // the page title. | 136 // the page title. |
137 EXPECT_CALL(client_nav_feature_delegate_, OnTitleChanged(kDummyTabId, "test")) | 137 EXPECT_CALL(client_nav_feature_delegate_, OnTitleChanged(kDummyTabId, "test")) |
138 .WillOnce(InvokeWithoutArgs(this, &InputBrowserTest::SignalCompletion)); | 138 .WillOnce(InvokeWithoutArgs(this, &InputBrowserTest::SignalCompletion)); |
139 callback.Run("test"); | 139 callback.Run("test"); |
140 RunAndVerify(); | 140 RunAndVerify(); |
141 } | 141 } |
142 | 142 |
143 } // namespace | 143 } // namespace |
144 } // namespace blimp | 144 } // namespace blimp |
OLD | NEW |