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

Side by Side Diff: content/browser/renderer_host/render_widget_host_unittest.cc

Issue 2734943005: Remove moveCursorToSelectionEnd() (Closed)
Patch Set: For dtrainor@'s review Created 3 years, 9 months 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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> 5 #include <stddef.h>
6 #include <stdint.h> 6 #include <stdint.h>
7 7
8 #include <memory> 8 #include <memory>
9 #include <tuple> 9 #include <tuple>
10 10
(...skipping 1465 matching lines...) Expand 10 before | Expand all | Expand 10 after
1476 TEST_InputRouterRoutes_NOARGS_FromRFH(InputMsg_Redo); 1476 TEST_InputRouterRoutes_NOARGS_FromRFH(InputMsg_Redo);
1477 TEST_InputRouterRoutes_NOARGS_FromRFH(InputMsg_Cut); 1477 TEST_InputRouterRoutes_NOARGS_FromRFH(InputMsg_Cut);
1478 TEST_InputRouterRoutes_NOARGS_FromRFH(InputMsg_Copy); 1478 TEST_InputRouterRoutes_NOARGS_FromRFH(InputMsg_Copy);
1479 #if defined(OS_MACOSX) 1479 #if defined(OS_MACOSX)
1480 TEST_InputRouterRoutes_NOARGS_FromRFH(InputMsg_CopyToFindPboard); 1480 TEST_InputRouterRoutes_NOARGS_FromRFH(InputMsg_CopyToFindPboard);
1481 #endif 1481 #endif
1482 TEST_InputRouterRoutes_NOARGS_FromRFH(InputMsg_Paste); 1482 TEST_InputRouterRoutes_NOARGS_FromRFH(InputMsg_Paste);
1483 TEST_InputRouterRoutes_NOARGS_FromRFH(InputMsg_PasteAndMatchStyle); 1483 TEST_InputRouterRoutes_NOARGS_FromRFH(InputMsg_PasteAndMatchStyle);
1484 TEST_InputRouterRoutes_NOARGS_FromRFH(InputMsg_Delete); 1484 TEST_InputRouterRoutes_NOARGS_FromRFH(InputMsg_Delete);
1485 TEST_InputRouterRoutes_NOARGS_FromRFH(InputMsg_SelectAll); 1485 TEST_InputRouterRoutes_NOARGS_FromRFH(InputMsg_SelectAll);
1486 TEST_InputRouterRoutes_NOARGS_FromRFH(InputMsg_Unselect); 1486 TEST_InputRouterRoutes_NOARGS_FromRFH(InputMsg_CollapseSelection);
1487 1487
1488 #undef TEST_InputRouterRoutes_NOARGS_FromRFH 1488 #undef TEST_InputRouterRoutes_NOARGS_FromRFH
1489 1489
1490 TEST_F(RenderWidgetHostTest, InputRouterRoutesReplace) { 1490 TEST_F(RenderWidgetHostTest, InputRouterRoutesReplace) {
1491 host_->SetupForInputRouterTest(); 1491 host_->SetupForInputRouterTest();
1492 host_->Send(new InputMsg_Replace(host_->GetRoutingID(), base::string16())); 1492 host_->Send(new InputMsg_Replace(host_->GetRoutingID(), base::string16()));
1493 EXPECT_TRUE(host_->mock_input_router()->send_event_called_); 1493 EXPECT_TRUE(host_->mock_input_router()->send_event_called_);
1494 } 1494 }
1495 1495
1496 TEST_F(RenderWidgetHostTest, InputRouterRoutesReplaceMisspelling) { 1496 TEST_F(RenderWidgetHostTest, InputRouterRoutesReplaceMisspelling) {
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
1765 ui::LatencyInfo()); 1765 ui::LatencyInfo());
1766 1766
1767 1767
1768 // Tests RWHI::ForwardWheelEventWithLatencyInfo(). 1768 // Tests RWHI::ForwardWheelEventWithLatencyInfo().
1769 SimulateWheelEventWithLatencyInfo(-5, 0, 0, true, ui::LatencyInfo()); 1769 SimulateWheelEventWithLatencyInfo(-5, 0, 0, true, ui::LatencyInfo());
1770 1770
1771 ASSERT_FALSE(host_->input_router()->HasPendingEvents()); 1771 ASSERT_FALSE(host_->input_router()->HasPendingEvents());
1772 } 1772 }
1773 1773
1774 } // namespace content 1774 } // namespace content
OLDNEW
« no previous file with comments | « chrome/test/data/android/tabstest/tabs_test.html ('k') | content/browser/web_contents/web_contents_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698