Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(503)

Side by Side Diff: blimp/engine/browser_tests/input_browsertest.cc

Issue 2497033002: Break apart WebGestureEvent from WebInputEvent. (Closed)
Patch Set: Rebase Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « blimp/engine/DEPS ('k') | blimp/engine/feature/engine_render_widget_feature.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/app/session/test_client_session.h"
7 #include "blimp/client/core/contents/ime_feature.h" 7 #include "blimp/client/core/contents/ime_feature.h"
8 #include "blimp/client/core/contents/mock_ime_feature_delegate.h" 8 #include "blimp/client/core/contents/mock_ime_feature_delegate.h"
9 #include "blimp/client/core/contents/mock_navigation_feature_delegate.h" 9 #include "blimp/client/core/contents/mock_navigation_feature_delegate.h"
10 #include "blimp/client/core/contents/navigation_feature.h" 10 #include "blimp/client/core/contents/navigation_feature.h"
11 #include "blimp/client/core/contents/tab_control_feature.h" 11 #include "blimp/client/core/contents/tab_control_feature.h"
12 #include "blimp/client/core/render_widget/render_widget_feature.h" 12 #include "blimp/client/core/render_widget/render_widget_feature.h"
13 #include "blimp/client/core/session/assignment_source.h" 13 #include "blimp/client/core/session/assignment_source.h"
14 #include "blimp/client/public/session/assignment.h" 14 #include "blimp/client/public/session/assignment.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 "content/public/test/browser_test_utils.h" 17 #include "content/public/test/browser_test_utils.h"
18 #include "net/base/ip_address.h" 18 #include "net/base/ip_address.h"
19 #include "net/base/ip_endpoint.h" 19 #include "net/base/ip_endpoint.h"
20 #include "testing/gmock/include/gmock/gmock.h" 20 #include "testing/gmock/include/gmock/gmock.h"
21 #include "testing/gtest/include/gtest/gtest.h" 21 #include "testing/gtest/include/gtest/gtest.h"
22 #include "third_party/WebKit/public/web/WebInputEvent.h" 22 #include "third_party/WebKit/public/platform/WebGestureEvent.h"
23 #include "third_party/WebKit/public/platform/WebInputEvent.h"
23 #include "ui/gfx/geometry/size.h" 24 #include "ui/gfx/geometry/size.h"
24 #include "url/gurl.h" 25 #include "url/gurl.h"
25 26
26 using ::testing::_; 27 using ::testing::_;
27 using ::testing::AtLeast; 28 using ::testing::AtLeast;
28 using ::testing::DoAll; 29 using ::testing::DoAll;
29 using ::testing::InvokeWithoutArgs; 30 using ::testing::InvokeWithoutArgs;
30 using ::testing::SaveArg; 31 using ::testing::SaveArg;
31 32
32 namespace blimp { 33 namespace blimp {
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 request.show_ime_callback.Run(response); 170 request.show_ime_callback.Run(response);
170 171
171 content::DOMMessageQueue queue; 172 content::DOMMessageQueue queue;
172 std::string status; 173 std::string status;
173 EXPECT_TRUE(queue.WaitForMessage(&status)); 174 EXPECT_TRUE(queue.WaitForMessage(&status));
174 EXPECT_EQ(status, "\"Submitted\""); 175 EXPECT_EQ(status, "\"Submitted\"");
175 } 176 }
176 177
177 } // namespace 178 } // namespace
178 } // namespace blimp 179 } // namespace blimp
OLDNEW
« no previous file with comments | « blimp/engine/DEPS ('k') | blimp/engine/feature/engine_render_widget_feature.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698