Searched defs:other_controller (Results 1 - 3 of 3) sorted by relevance

/external/chromium/chrome/browser/tab_contents/
H A Dweb_contents_unittest.cc1655 NavigationController& other_controller = other_contents->controller(); local
1657 other_controller.CopyStateFromAndPrune(&controller(), false);
1660 ASSERT_EQ(2, other_controller.entry_count());
1661 EXPECT_EQ(1, other_controller.GetCurrentEntryIndex());
1662 EXPECT_EQ(url1, other_controller.GetEntryAtIndex(0)->url());
1663 EXPECT_EQ(url3, other_controller.GetEntryAtIndex(1)->url());
1678 NavigationController& other_controller = other_contents->controller(); local
1696 EXPECT_EQ(2, other_controller.entry_count());
1698 other_controller.CopyStateFromAndPrune(&controller(), false);
1701 ASSERT_EQ(2, other_controller
[all...]
/external/chromium_org/content/browser/web_contents/
H A Dnavigation_controller_impl_unittest.cc2965 NavigationControllerImpl& other_controller = other_contents->GetController(); local
2966 other_controller.CopyStateFrom(controller);
2968 // other_controller should now contain 2 urls.
2969 ASSERT_EQ(2, other_controller.GetEntryCount());
2971 ASSERT_EQ(0, other_controller.GetCurrentEntryIndex());
2973 EXPECT_EQ(url1, other_controller.GetEntryAtIndex(0)->GetURL());
2974 EXPECT_EQ(0, other_controller.GetEntryAtIndex(0)->GetPageID());
2975 EXPECT_EQ(url2, other_controller.GetEntryAtIndex(1)->GetURL());
2977 EXPECT_EQ(0, other_controller.GetEntryAtIndex(1)->GetPageID());
2982 GetSiteInstanceFromEntry(other_controller
3028 NavigationControllerImpl& other_controller = other_contents->GetController(); local
3074 NavigationControllerImpl& other_controller = other_contents->GetController(); local
3111 NavigationControllerImpl& other_controller = other_contents->GetController(); local
3149 NavigationControllerImpl& other_controller = other_contents->GetController(); local
3191 NavigationControllerImpl& other_controller = other_contents->GetController(); local
3234 NavigationControllerImpl& other_controller = other_contents->GetController(); local
3284 NavigationControllerImpl& other_controller = other_contents->GetController(); local
3331 NavigationControllerImpl& other_controller = other_contents->GetController(); local
[all...]
H A Dweb_contents_impl_unittest.cc2051 NavigationControllerImpl& other_controller = other_contents->GetController(); local
2055 other_controller.GetEntryAtIndex(0))->site_instance(), 1,
2056 other_controller.GetEntryAtIndex(0)->GetPageID());
2057 other_controller.CopyStateFromAndPrune(&controller());
2060 ASSERT_EQ(2, other_controller.GetEntryCount());
2061 EXPECT_EQ(1, other_controller.GetCurrentEntryIndex());
2062 EXPECT_EQ(url1, other_controller.GetEntryAtIndex(0)->GetURL());
2063 EXPECT_EQ(url3, other_controller.GetEntryAtIndex(1)->GetURL());
2079 NavigationControllerImpl& other_controller = other_contents->GetController(); local
2097 EXPECT_EQ(2, other_controller
[all...]

Completed in 227 milliseconds