Lines Matching refs:current_frame_host

460   FrameFocusedObserver focus_observer(frame->current_frame_host());  in FocusFrame()
461 SimulateMouseClick(frame->current_frame_host()->GetRenderWidgetHost(), 1, 1); in FocusFrame()
577 node->current_frame_host()->GetRenderWidgetHost()->GetPriority(); in CheckFrameDepth()
580 node->current_frame_host()->GetProcess()->GetFrameDepth()); in CheckFrameDepth()
586 node->current_frame_host()->GetRenderWidgetHost()->GetPriority(); in CheckIntersectsViewport()
588 node->current_frame_host()->GetProcess()->GetIntersectsViewport() == in CheckIntersectsViewport()
1224 ASSERT_NE(c_rph, root->current_frame_host()->GetProcess()); in IN_PROC_BROWSER_TEST_P()
1225 ASSERT_NE(c_rph, b_child->current_frame_host()->GetProcess()); in IN_PROC_BROWSER_TEST_P()
1293 RenderFrameDeletedObserver deleted_observer(child->current_frame_host()); in IN_PROC_BROWSER_TEST_P()
1303 SiteInstance* site_instance = child->current_frame_host()->GetSiteInstance(); in IN_PROC_BROWSER_TEST_P()
1304 RenderViewHost* rvh = child->current_frame_host()->render_view_host(); in IN_PROC_BROWSER_TEST_P()
1305 RenderProcessHost* rph = child->current_frame_host()->GetProcess(); in IN_PROC_BROWSER_TEST_P()
1325 EXPECT_TRUE(child->current_frame_host()->GetRenderWidgetHost()); in IN_PROC_BROWSER_TEST_P()
1341 RenderFrameDeletedObserver deleted_observer(child->current_frame_host()); in IN_PROC_BROWSER_TEST_P()
1353 child->current_frame_host()->render_view_host()); in IN_PROC_BROWSER_TEST_P()
1354 EXPECT_NE(rvh, child->current_frame_host()->render_view_host()); in IN_PROC_BROWSER_TEST_P()
1356 child->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
1358 child->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
1360 child->current_frame_host()->GetProcess()); in IN_PROC_BROWSER_TEST_P()
1361 EXPECT_NE(rph, child->current_frame_host()->GetProcess()); in IN_PROC_BROWSER_TEST_P()
1370 child->current_frame_host()->render_view_host()->GetWidget()->GetView(), in IN_PROC_BROWSER_TEST_P()
1372 EXPECT_TRUE(child->current_frame_host()->GetRenderWidgetHost()); in IN_PROC_BROWSER_TEST_P()
1412 EXPECT_TRUE(ExecuteScript(root->child_at(0)->current_frame_host(), in IN_PROC_BROWSER_TEST_P()
1454 nested_iframe_node->current_frame_host() in IN_PROC_BROWSER_TEST_P()
1493 iframe->current_frame_host(), in IN_PROC_BROWSER_TEST_P()
1513 root->current_frame_host()->GetRenderWidgetHost()->GetView()); in IN_PROC_BROWSER_TEST_P()
1533 nested_iframe_node->current_frame_host() in IN_PROC_BROWSER_TEST_P()
1536 WaitForHitTestData(nested_iframe_node->current_frame_host()); in IN_PROC_BROWSER_TEST_P()
1547 root->current_frame_host()->GetProcess()->AddFilter(filter.get()); in IN_PROC_BROWSER_TEST_P()
1591 child_iframe_node->current_frame_host()->GetRenderWidgetHost(); in IN_PROC_BROWSER_TEST_P()
1597 WaitForHitTestData(child_iframe_node->current_frame_host()); in IN_PROC_BROWSER_TEST_P()
1668 parent_iframe_node->current_frame_host()->GetProcess()->AddFilter( in IN_PROC_BROWSER_TEST_P()
1676 parent_iframe_node->current_frame_host()->GetRenderWidgetHost(), in IN_PROC_BROWSER_TEST_P()
1696 parent_iframe_node->current_frame_host() in IN_PROC_BROWSER_TEST_P()
1702 nested_iframe_node->current_frame_host() in IN_PROC_BROWSER_TEST_P()
1706 WaitForHitTestData(nested_iframe_node->current_frame_host()); in IN_PROC_BROWSER_TEST_P()
1897 iframe_node->current_frame_host()->GetRenderWidgetHost()->GetView()); in IN_PROC_BROWSER_TEST_P()
1902 WaitForHitTestData(iframe_node->current_frame_host()); in IN_PROC_BROWSER_TEST_P()
1959 child_iframe_node->current_frame_host()->GetRenderWidgetHost(); in IN_PROC_BROWSER_TEST_P()
1960 WaitForHitTestData(child_iframe_node->current_frame_host()); in IN_PROC_BROWSER_TEST_P()
2005 child_iframe_node->current_frame_host()->GetRenderWidgetHost(); in IN_PROC_BROWSER_TEST_P()
2115 root->current_frame_host()->GetRenderWidgetHost()->GetView()); in IN_PROC_BROWSER_TEST_P()
2119 nested_iframe_node->current_frame_host() in IN_PROC_BROWSER_TEST_P()
2123 WaitForHitTestData(nested_iframe_node->current_frame_host()); in IN_PROC_BROWSER_TEST_P()
2126 root->current_frame_host()->GetRenderWidgetHost(), in IN_PROC_BROWSER_TEST_P()
2135 root->current_frame_host()->GetRenderWidgetHost()->AddInputEventObserver( in IN_PROC_BROWSER_TEST_P()
2186 WaitForHitTestData(iframe_node->current_frame_host()); in IN_PROC_BROWSER_TEST_P()
2189 root->current_frame_host()->GetRenderWidgetHost()->GetView()); in IN_PROC_BROWSER_TEST_P()
2192 iframe_node->current_frame_host()->GetRenderWidgetHost()->GetView()); in IN_PROC_BROWSER_TEST_P()
2195 root->current_frame_host()->GetRenderWidgetHost()->AddInputEventObserver( in IN_PROC_BROWSER_TEST_P()
2261 nested_iframe_node->current_frame_host() in IN_PROC_BROWSER_TEST_P()
2265 WaitForHitTestData(parent_iframe_node->current_frame_host()); in IN_PROC_BROWSER_TEST_P()
2271 parent_iframe_node->current_frame_host()->GetRenderWidgetHost(), in IN_PROC_BROWSER_TEST_P()
2384 RenderFrameHostImpl* current_rfh = node->current_frame_host()->GetParent(); in IN_PROC_BROWSER_TEST_P()
2448 ->current_frame_host() in IN_PROC_BROWSER_TEST_P()
2481 ->current_frame_host() in IN_PROC_BROWSER_TEST_P()
2525 ->current_frame_host() in IN_PROC_BROWSER_TEST_P()
2657 child_node->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
2660 child_node->current_frame_host() in IN_PROC_BROWSER_TEST_P()
2696 ->current_frame_host() in IN_PROC_BROWSER_TEST_P()
2701 ->current_frame_host() in IN_PROC_BROWSER_TEST_P()
2743 RenderFrameDeletedObserver deleted_observer(child->current_frame_host()); in IN_PROC_BROWSER_TEST_P()
2761 SiteInstance* site_instance = child->current_frame_host()->GetSiteInstance(); in IN_PROC_BROWSER_TEST_P()
2768 RenderFrameDeletedObserver deleted_observer(child->current_frame_host()); in IN_PROC_BROWSER_TEST_P()
2791 RenderFrameDeletedObserver deleted_observer(child->current_frame_host()); in IN_PROC_BROWSER_TEST_P()
2798 child->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
2844 root->child_at(0)->current_frame_host()); in IN_PROC_BROWSER_TEST_P()
2880 root->child_at(0)->current_frame_host()); in IN_PROC_BROWSER_TEST_P()
2968 RenderProcessHost* child_process = node2->current_frame_host()->GetProcess(); in IN_PROC_BROWSER_TEST_P()
3001 node2, node2->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
3004 RenderProcessHost* child_process = node2->current_frame_host()->GetProcess(); in IN_PROC_BROWSER_TEST_P()
3012 root->current_frame_host()->GetRenderWidgetHost()); in IN_PROC_BROWSER_TEST_P()
3051 root->child_at(0)->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
3054 root->child_at(1)->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
3081 root->child_at(0)->current_frame_host()->GetProcess(); in IN_PROC_BROWSER_TEST_P()
3154 child->current_frame_host()->GetSiteInstance(); in IN_PROC_BROWSER_TEST_P()
3215 child->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
3219 EXPECT_EQ(GURL(), child->current_frame_host()->last_successful_url()); in IN_PROC_BROWSER_TEST_P()
3231 EXPECT_EQ(url_b, child->current_frame_host()->last_successful_url()); in IN_PROC_BROWSER_TEST_P()
3244 child->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
3250 RenderFrameDeletedObserver deleted_observer(child->current_frame_host()); in IN_PROC_BROWSER_TEST_P()
3264 child->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
3265 EXPECT_EQ(url_a, child->current_frame_host()->last_successful_url()); in IN_PROC_BROWSER_TEST_P()
3303 root->child_at(0)->current_frame_host()->GetProcess(); in IN_PROC_BROWSER_TEST_P()
3314 EXPECT_TRUE(root->child_at(1)->current_frame_host()->IsRenderFrameLive()); in IN_PROC_BROWSER_TEST_P()
3363 root->child_at(0)->current_frame_host()->GetSiteInstance(); in IN_PROC_BROWSER_TEST_P()
3367 root->child_at(0)->current_frame_host()->GetProcess(); in IN_PROC_BROWSER_TEST_P()
3428 SiteInstance* site_instance_a = root->current_frame_host()->GetSiteInstance(); in IN_PROC_BROWSER_TEST_P()
3454 RenderProcessHost* child_process = root->current_frame_host()->GetProcess(); in IN_PROC_BROWSER_TEST_P()
3459 EXPECT_FALSE(root->current_frame_host()->IsRenderFrameLive()); in IN_PROC_BROWSER_TEST_P()
3468 EXPECT_TRUE(root->current_frame_host()->IsRenderFrameLive()); in IN_PROC_BROWSER_TEST_P()
3522 root->child_at(0)->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
3525 root->child_at(1)->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
3537 node4->current_frame_host()->GetSiteInstance(); in IN_PROC_BROWSER_TEST_P()
3554 root->child_at(0)->current_frame_host()->GetProcess(); in IN_PROC_BROWSER_TEST_P()
3591 child->current_frame_host()->render_view_host()->IsRenderViewLive()); in IN_PROC_BROWSER_TEST_P()
3592 EXPECT_TRUE(child->current_frame_host()->IsRenderFrameLive()); in IN_PROC_BROWSER_TEST_P()
3595 RenderProcessHost* root_process = root->current_frame_host()->GetProcess(); in IN_PROC_BROWSER_TEST_P()
3596 RenderProcessHost* child_process = child->current_frame_host()->GetProcess(); in IN_PROC_BROWSER_TEST_P()
3616 child->current_frame_host()->render_view_host()->IsRenderViewLive()); in IN_PROC_BROWSER_TEST_P()
3617 EXPECT_FALSE(child->current_frame_host()->IsRenderFrameLive()); in IN_PROC_BROWSER_TEST_P()
3618 EXPECT_FALSE(child->current_frame_host()->render_frame_created_); in IN_PROC_BROWSER_TEST_P()
4055 set_scrolling_property(root->current_frame_host(), scrolling_values[i]); in IN_PROC_BROWSER_TEST_P()
4058 EXPECT_EQ(expect_scrollbar, has_scrollbar(child->current_frame_host())); in IN_PROC_BROWSER_TEST_P()
4178 child->current_frame_host()->GetLastCommittedOrigin(); in IN_PROC_BROWSER_TEST_P()
4310 EXPECT_NE(child->current_frame_host()->GetSiteInstance(), in IN_PROC_BROWSER_TEST_P()
4311 root->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
4317 EXPECT_EQ(child->current_frame_host()->GetSiteInstance(), in IN_PROC_BROWSER_TEST_P()
4318 root->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
4724 root->child_at(0)->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
4883 EXPECT_NE(root->current_frame_host()->GetSiteInstance(), in IN_PROC_BROWSER_TEST_P()
4884 node2->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
4888 EXPECT_EQ(root->current_frame_host()->GetSiteInstance(), in IN_PROC_BROWSER_TEST_P()
4889 node3->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
4896 EXPECT_EQ(root->current_frame_host()->GetSiteInstance(), in IN_PROC_BROWSER_TEST_P()
4897 node3->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
4898 EXPECT_TRUE(node3->current_frame_host()->IsRenderFrameLive()); in IN_PROC_BROWSER_TEST_P()
4921 EXPECT_EQ(node2->current_frame_host()->GetSiteInstance(), in IN_PROC_BROWSER_TEST_P()
4922 node3->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
4923 EXPECT_NE(root->current_frame_host()->GetSiteInstance(), in IN_PROC_BROWSER_TEST_P()
4924 node3->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
4929 EXPECT_NE(node2->current_frame_host()->GetSiteInstance(), in IN_PROC_BROWSER_TEST_P()
4930 node3->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
4935 EXPECT_EQ(node2->current_frame_host()->GetSiteInstance(), in IN_PROC_BROWSER_TEST_P()
4936 node3->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
4937 EXPECT_TRUE(node2->current_frame_host()->IsRenderFrameLive()); in IN_PROC_BROWSER_TEST_P()
4989 EXPECT_NE(root->child_at(0)->current_frame_host()->GetSiteInstance(), in IN_PROC_BROWSER_TEST_P()
4990 root->child_at(1)->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
5192 RenderFrameDeletedObserver deleted_observer(child->current_frame_host()); in IN_PROC_BROWSER_TEST_P()
5212 RenderFrameDeletedObserver deleted_observer(child->current_frame_host()); in IN_PROC_BROWSER_TEST_P()
5231 RenderFrameDeletedObserver deleted_observer(child->current_frame_host()); in IN_PROC_BROWSER_TEST_P()
5293 EXPECT_NE(root->child_at(0)->current_frame_host()->GetSiteInstance(), in IN_PROC_BROWSER_TEST_P()
5367 SiteInstance* site_instance_a = root->current_frame_host()->GetSiteInstance(); in IN_PROC_BROWSER_TEST_P()
5424 SiteInstance* site_instance_a = root->current_frame_host()->GetSiteInstance(); in IN_PROC_BROWSER_TEST_P()
5667 RenderFrameHostImpl* rfh = root->current_frame_host(); in IN_PROC_BROWSER_TEST_P()
5799 root->child_at(0)->current_frame_host()->GetRenderWidgetHost(), 1, 1); in IN_PROC_BROWSER_TEST_P()
5870 RenderFrameHost* root_rfh = root->current_frame_host(); in IN_PROC_BROWSER_TEST_P()
5894 RenderFrameHost* child_rfh = child->current_frame_host(); in IN_PROC_BROWSER_TEST_P()
6030 FrameFocusedObserver focus_observer(child1->current_frame_host()); in IN_PROC_BROWSER_TEST_P()
6092 FrameDeletedObserver observer(root->child_at(0)->current_frame_host()); in IN_PROC_BROWSER_TEST_P()
6132 FrameDeletedObserver observer(child->current_frame_host()); in IN_PROC_BROWSER_TEST_P()
6156 child->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
6160 FrameDeletedObserver observer(child->current_frame_host()); in IN_PROC_BROWSER_TEST_P()
6191 SiteInstance* site_instance_a = root->current_frame_host()->GetSiteInstance(); in IN_PROC_BROWSER_TEST_P()
6193 root->render_manager()->current_frame_host()->GetProcess(); in IN_PROC_BROWSER_TEST_P()
6203 FrameDeletedObserver observer(root->child_at(0)->current_frame_host()); in IN_PROC_BROWSER_TEST_P()
6236 EXPECT_NE(node->current_frame_host()->GetSiteInstance(), in IN_PROC_BROWSER_TEST_P()
6323 EXPECT_NE(node->current_frame_host()->GetSiteInstance(), in IN_PROC_BROWSER_TEST_P()
6329 RenderProcessHost* process = node->current_frame_host()->GetProcess(); in IN_PROC_BROWSER_TEST_P()
6332 *node->current_frame_host()->GetSiteInstance(), *process); in IN_PROC_BROWSER_TEST_P()
6335 int frame_routing_id = node->current_frame_host()->GetRoutingID(); in IN_PROC_BROWSER_TEST_P()
6337 node->current_frame_host()->GetFrameToken(); in IN_PROC_BROWSER_TEST_P()
6339 node->current_frame_host()->GetRenderWidgetHost()->GetRoutingID(); in IN_PROC_BROWSER_TEST_P()
6345 node->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
6433 frame_to_immediate_local_roots_map[ftn->current_frame_host()] = roots; in IN_PROC_BROWSER_TEST_P()
6434 frame_to_label_map[ftn->current_frame_host()] = roots.substr(0, 2); in IN_PROC_BROWSER_TEST_P()
6440 RenderFrameHostImpl* current_frame_host = ftn->current_frame_host(); in IN_PROC_BROWSER_TEST_P() local
6442 current_frame_host->ForEachImmediateLocalRoot(base::BindRepeating( in IN_PROC_BROWSER_TEST_P()
6447 std::string result = frame_to_label_map[current_frame_host]; in IN_PROC_BROWSER_TEST_P()
6451 EXPECT_EQ(frame_to_immediate_local_roots_map[current_frame_host], result); in IN_PROC_BROWSER_TEST_P()
6469 RenderFrameHostImpl* frame_host = ftn->current_frame_host(); in IN_PROC_BROWSER_TEST_P()
6548 root->child_at(0)->current_frame_host(), in IN_PROC_BROWSER_TEST_P()
6558 ExecuteScript(root->child_at(0)->current_frame_host(), in IN_PROC_BROWSER_TEST_P()
6565 root->child_at(0)->current_frame_host()->GetView()); in IN_PROC_BROWSER_TEST_P()
6568 root->child_at(1)->current_frame_host()->GetView()); in IN_PROC_BROWSER_TEST_P()
6571 root->child_at(0)->child_at(0)->current_frame_host()->GetView()); in IN_PROC_BROWSER_TEST_P()
6605 root->child_at(0)->current_frame_host()->GetRenderWidgetHost(), false); in IN_PROC_BROWSER_TEST_P()
6664 root->child_at(0)->current_frame_host()->GetRenderWidgetHost(), false); in IN_PROC_BROWSER_TEST_P()
6674 root->child_at(0)->current_frame_host()); in IN_PROC_BROWSER_TEST_P()
6686 root->child_at(0)->current_frame_host()->GetView()); in IN_PROC_BROWSER_TEST_P()
6690 root->child_at(1)->current_frame_host()->GetView()); in IN_PROC_BROWSER_TEST_P()
7211 root->current_frame_host()->GetRenderWidgetHost(); in IN_PROC_BROWSER_TEST_P()
7267 root->child_at(0)->current_frame_host()->GetLastCommittedOrigin(); in IN_PROC_BROWSER_TEST_P()
7279 EXPECT_EQ(root->child_at(0)->current_frame_host()->GetLastCommittedURL(), in IN_PROC_BROWSER_TEST_P()
7287 EXPECT_FALSE(root->child_at(0)->current_frame_host()->is_loading()); in IN_PROC_BROWSER_TEST_P()
7346 if (root->child_at(0)->current_frame_host()->is_loading()) in IN_PROC_BROWSER_TEST_P()
7351 root->child_at(0)->current_frame_host()->last_successful_url()); in IN_PROC_BROWSER_TEST_P()
7417 if (root->child_at(0)->current_frame_host()->is_loading()) in IN_PROC_BROWSER_TEST_P()
7422 root->child_at(0)->current_frame_host()->last_successful_url()); in IN_PROC_BROWSER_TEST_P()
7485 if (navigating_frame->current_frame_host()->is_loading()) in IN_PROC_BROWSER_TEST_P()
7490 navigating_frame->current_frame_host()->last_successful_url()); in IN_PROC_BROWSER_TEST_P()
7554 root->child_at(0)->current_frame_host()->GetSiteInstance()) in IN_PROC_BROWSER_TEST_P()
7565 root->child_at(0)->current_frame_host()->GetRenderWidgetHost(), 1, 1); in IN_PROC_BROWSER_TEST_P()
7573 root->current_frame_host()->GetSiteInstance())); in IN_PROC_BROWSER_TEST_P()
7599 ->current_frame_host() in IN_PROC_BROWSER_TEST_P()
7611 root->child_at(0)->current_frame_host()->GetProcess(); in IN_PROC_BROWSER_TEST_P()
7644 root->child_at(0)->current_frame_host()->GetRenderWidgetHost(), 5, 5); in IN_PROC_BROWSER_TEST_P()
7650 SimulateMouseClick(root->current_frame_host()->GetRenderWidgetHost(), 1, 1); in IN_PROC_BROWSER_TEST_P()
7683 child->current_frame_host()->GetSiteInstance(); in IN_PROC_BROWSER_TEST_P()
7684 EXPECT_NE(root->current_frame_host()->GetSiteInstance(), orig_site_instance); in IN_PROC_BROWSER_TEST_P()
7692 EXPECT_NE(orig_site_instance, child->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
7700 EXPECT_EQ(orig_site_instance, child->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
7732 child_0->current_frame_host()->GetSiteInstance(); in IN_PROC_BROWSER_TEST_P()
7734 child_1->current_frame_host()->GetSiteInstance(); in IN_PROC_BROWSER_TEST_P()
7749 child_0->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
7761 child_1->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
7804 EXPECT_NE(new_root->current_frame_host()->GetSiteInstance(), in IN_PROC_BROWSER_TEST_P()
7805 new_root->child_at(0)->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
7806 EXPECT_NE(new_root->current_frame_host()->GetSiteInstance(), in IN_PROC_BROWSER_TEST_P()
7807 new_root->child_at(1)->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
7808 EXPECT_NE(new_root->child_at(0)->current_frame_host()->GetSiteInstance(), in IN_PROC_BROWSER_TEST_P()
7809 new_root->child_at(1)->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
7839 child_0->current_frame_host()->GetSiteInstance(); in IN_PROC_BROWSER_TEST_P()
7841 child_1->current_frame_host()->GetSiteInstance(); in IN_PROC_BROWSER_TEST_P()
7856 child_0->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
7868 child_1->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
7914 EXPECT_EQ(new_root->current_frame_host()->GetLastCommittedOrigin(), in IN_PROC_BROWSER_TEST_P()
7915 root->current_frame_host()->GetLastCommittedOrigin()); in IN_PROC_BROWSER_TEST_P()
7916 EXPECT_EQ(new_child_0->current_frame_host() in IN_PROC_BROWSER_TEST_P()
7919 child_0->current_frame_host() in IN_PROC_BROWSER_TEST_P()
7922 EXPECT_EQ(new_child_1->current_frame_host() in IN_PROC_BROWSER_TEST_P()
7925 child_1->current_frame_host() in IN_PROC_BROWSER_TEST_P()
7928 EXPECT_NE(child_0->current_frame_host() in IN_PROC_BROWSER_TEST_P()
7931 child_1->current_frame_host() in IN_PROC_BROWSER_TEST_P()
7937 new_root->current_frame_host()->GetLastCommittedOrigin().Serialize(), in IN_PROC_BROWSER_TEST_P()
7940 new_child_0->current_frame_host()->GetLastCommittedOrigin().opaque()); in IN_PROC_BROWSER_TEST_P()
7943 new_child_1->current_frame_host()->GetLastCommittedOrigin().opaque()); in IN_PROC_BROWSER_TEST_P()
7948 EXPECT_NE(new_root->current_frame_host()->GetSiteInstance(), in IN_PROC_BROWSER_TEST_P()
7949 new_child_0->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
7950 EXPECT_NE(new_root->current_frame_host()->GetSiteInstance(), in IN_PROC_BROWSER_TEST_P()
7951 new_child_1->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
7952 EXPECT_NE(new_child_0->current_frame_host()->GetSiteInstance(), in IN_PROC_BROWSER_TEST_P()
7953 new_child_1->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
7970 child->current_frame_host()->GetSiteInstance(); in IN_PROC_BROWSER_TEST_P()
7971 EXPECT_EQ(child_site_instance, root->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
8013 EXPECT_EQ(new_root->current_frame_host()->GetSiteInstance(), in IN_PROC_BROWSER_TEST_P()
8014 new_root->child_at(0)->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
8045 child->current_frame_host()->GetSiteInstance(); in IN_PROC_BROWSER_TEST_P()
8046 EXPECT_NE(root->current_frame_host()->GetSiteInstance(), orig_site_instance); in IN_PROC_BROWSER_TEST_P()
8054 EXPECT_NE(orig_site_instance, child->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
8062 EXPECT_EQ(orig_site_instance, child->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
8169 RenderFrameHostImpl* frame1 = child1->current_frame_host(); in IN_PROC_BROWSER_TEST_P()
8170 RenderFrameHostImpl* frame2 = child2->current_frame_host(); in IN_PROC_BROWSER_TEST_P()
8344 RenderProcessHost* process1 = child1->current_frame_host()->GetProcess(); in IN_PROC_BROWSER_TEST_P()
8345 RenderProcessHost* process2 = child2->current_frame_host()->GetProcess(); in IN_PROC_BROWSER_TEST_P()
8367 child1->current_frame_host(), in IN_PROC_BROWSER_TEST_P()
8373 child1->current_frame_host()->GetRenderWidgetHost()->ForwardKeyboardEvent( in IN_PROC_BROWSER_TEST_P()
8392 child2->current_frame_host(), in IN_PROC_BROWSER_TEST_P()
8398 child2->current_frame_host()->GetRenderWidgetHost()->ForwardKeyboardEvent( in IN_PROC_BROWSER_TEST_P()
8609 root->current_frame_host(), in IN_PROC_BROWSER_TEST_P()
8614 RenderProcessHost* child_process = child->current_frame_host()->GetProcess(); in IN_PROC_BROWSER_TEST_P()
8619 EXPECT_FALSE(child->current_frame_host()->IsRenderFrameLive()); in IN_PROC_BROWSER_TEST_P()
8623 EXPECT_FALSE(child->current_frame_host()->GetView()); in IN_PROC_BROWSER_TEST_P()
8634 EXPECT_TRUE(child->current_frame_host()->IsRenderFrameLive()); in IN_PROC_BROWSER_TEST_P()
8639 EXPECT_TRUE(child->current_frame_host()->GetView()); in IN_PROC_BROWSER_TEST_P()
8641 child->current_frame_host()->GetView(), in IN_PROC_BROWSER_TEST_P()
8652 EXPECT_TRUE(ExecuteScript(child->current_frame_host(), in IN_PROC_BROWSER_TEST_P()
8673 return EvalJs(ftn->current_frame_host(), "history.length;"); in IN_PROC_BROWSER_TEST_P()
8765 RenderFrameHostImpl* child_rfh = child->current_frame_host(); in IN_PROC_BROWSER_TEST_P()
9200 ->current_frame_host() in IN_PROC_BROWSER_TEST_F()
9227 ->current_frame_host() in IN_PROC_BROWSER_TEST_F()
9261 ->current_frame_host() in IN_PROC_BROWSER_TEST_F()
9283 ->current_frame_host() in IN_PROC_BROWSER_TEST_F()
9317 EXPECT_NE(root->current_frame_host()->GetSiteInstance(), in IN_PROC_BROWSER_TEST_P()
9318 child->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
9319 EXPECT_NE(root->current_frame_host()->GetProcess(), in IN_PROC_BROWSER_TEST_P()
9320 child->current_frame_host()->GetProcess()); in IN_PROC_BROWSER_TEST_P()
9330 EXPECT_EQ(root->current_frame_host()->GetSiteInstance(), in IN_PROC_BROWSER_TEST_P()
9331 child->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
9332 EXPECT_EQ(root->current_frame_host()->GetProcess(), in IN_PROC_BROWSER_TEST_P()
9333 child->current_frame_host()->GetProcess()); in IN_PROC_BROWSER_TEST_P()
9348 RenderProcessHost* child_process = child->current_frame_host()->GetProcess(); in IN_PROC_BROWSER_TEST_P()
9355 EXPECT_FALSE(child->current_frame_host()->IsRenderFrameLive()); in IN_PROC_BROWSER_TEST_P()
9364 EXPECT_TRUE(child->current_frame_host()->IsRenderFrameLive()); in IN_PROC_BROWSER_TEST_P()
9366 EXPECT_EQ(child->current_frame_host()->GetSiteInstance(), in IN_PROC_BROWSER_TEST_P()
9367 root->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
9802 frames_.push_back(root->current_frame_host()); in LoadPage()
9803 frames_.push_back(root->child_at(0)->current_frame_host()); in LoadPage()
9804 frames_.push_back(root->child_at(1)->current_frame_host()); in LoadPage()
9805 frames_.push_back(root->child_at(1)->child_at(0)->current_frame_host()); in LoadPage()
9807 root->child_at(1)->child_at(0)->child_at(0)->current_frame_host()); in LoadPage()
9878 root->child_at(0)->current_frame_host()->GetSiteInstance(); in IN_PROC_BROWSER_TEST_P()
9890 root->child_at(0)->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
9897 root->child_at(0)->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
9955 EXPECT_NE(root->current_frame_host()->GetSiteInstance(), in IN_PROC_BROWSER_TEST_P()
9956 root->child_at(0)->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
10010 EXPECT_NE(root->current_frame_host()->GetSiteInstance(), in IN_PROC_BROWSER_TEST_P()
10011 root->child_at(0)->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
10016 EXPECT_TRUE(ExecuteScript(root->child_at(0)->current_frame_host(), in IN_PROC_BROWSER_TEST_P()
10222 EXPECT_NE(root->current_frame_host()->GetProcess(), in IN_PROC_BROWSER_TEST_P()
10223 new_shell_root->current_frame_host()->GetProcess()); in IN_PROC_BROWSER_TEST_P()
10228 EXPECT_EQ(root->current_frame_host()->GetProcess(), in IN_PROC_BROWSER_TEST_P()
10229 new_shell_root->current_frame_host()->GetProcess()); in IN_PROC_BROWSER_TEST_P()
10247 EXPECT_NE(root->current_frame_host()->GetProcess(), in IN_PROC_BROWSER_TEST_P()
10248 root->child_at(0)->current_frame_host()->GetProcess()); in IN_PROC_BROWSER_TEST_P()
10249 EXPECT_NE(root->current_frame_host()->GetProcess(), in IN_PROC_BROWSER_TEST_P()
10250 root->child_at(1)->current_frame_host()->GetProcess()); in IN_PROC_BROWSER_TEST_P()
10251 EXPECT_NE(root->current_frame_host()->GetProcess(), in IN_PROC_BROWSER_TEST_P()
10252 root->child_at(1)->child_at(0)->current_frame_host()->GetProcess()); in IN_PROC_BROWSER_TEST_P()
10253 EXPECT_NE(root->child_at(1)->current_frame_host()->GetProcess(), in IN_PROC_BROWSER_TEST_P()
10254 root->child_at(1)->child_at(0)->current_frame_host()->GetProcess()); in IN_PROC_BROWSER_TEST_P()
10255 EXPECT_EQ(root->child_at(0)->current_frame_host()->GetProcess(), in IN_PROC_BROWSER_TEST_P()
10256 root->child_at(1)->current_frame_host()->GetProcess()); in IN_PROC_BROWSER_TEST_P()
10271 EXPECT_NE(root->current_frame_host()->GetProcess(), in IN_PROC_BROWSER_TEST_P()
10272 new_shell_root->current_frame_host()->GetProcess()); in IN_PROC_BROWSER_TEST_P()
10273 EXPECT_NE(root->child_at(0)->current_frame_host()->GetProcess(), in IN_PROC_BROWSER_TEST_P()
10274 new_shell_root->current_frame_host()->GetProcess()); in IN_PROC_BROWSER_TEST_P()
10275 EXPECT_NE(root->child_at(1)->child_at(0)->current_frame_host()->GetProcess(), in IN_PROC_BROWSER_TEST_P()
10276 new_shell_root->current_frame_host()->GetProcess()); in IN_PROC_BROWSER_TEST_P()
10279 EXPECT_EQ(root->current_frame_host()->GetProcess(), in IN_PROC_BROWSER_TEST_P()
10280 new_shell_root->child_at(0)->current_frame_host()->GetProcess()); in IN_PROC_BROWSER_TEST_P()
10283 EXPECT_EQ(root->child_at(0)->current_frame_host()->GetProcess(), in IN_PROC_BROWSER_TEST_P()
10286 ->current_frame_host() in IN_PROC_BROWSER_TEST_P()
10362 EXPECT_TRUE(root->current_frame_host()->IsRenderFrameLive()); in IN_PROC_BROWSER_TEST_P()
10363 EXPECT_EQ(root_speculative_rfh, root->current_frame_host()); in IN_PROC_BROWSER_TEST_P()
10364 EXPECT_EQ(new_url_1, root->current_frame_host()->GetLastCommittedURL()); in IN_PROC_BROWSER_TEST_P()
10397 ExecuteScript(root->current_frame_host(), in IN_PROC_BROWSER_TEST_P()
10402 child2->current_frame_host(), in IN_PROC_BROWSER_TEST_P()
10469 EXPECT_TRUE(child->current_frame_host()->IsRenderFrameLive()); in IN_PROC_BROWSER_TEST_P()
10470 EXPECT_EQ(child_speculative_rfh, child->current_frame_host()); in IN_PROC_BROWSER_TEST_P()
10471 EXPECT_EQ(new_url_2, child->current_frame_host()->GetLastCommittedURL()); in IN_PROC_BROWSER_TEST_P()
10497 ExecuteScript(child->current_frame_host(), in IN_PROC_BROWSER_TEST_P()
10605 RenderFrameHostImpl* speculative_rfh = root->current_frame_host() in IN_PROC_BROWSER_TEST_P()
10704 root->current_frame_host()->GetProcess()->GetEffectiveImportance()); in IN_PROC_BROWSER_TEST_P()
10707 child->current_frame_host()->GetProcess()->GetEffectiveImportance()); in IN_PROC_BROWSER_TEST_P()
10712 root->current_frame_host()->GetProcess()->GetEffectiveImportance()); in IN_PROC_BROWSER_TEST_P()
10715 child->current_frame_host()->GetProcess()->GetEffectiveImportance()); in IN_PROC_BROWSER_TEST_P()
10718 root->current_frame_host()->GetProcess()->GetEffectiveImportance()); in IN_PROC_BROWSER_TEST_P()
10721 child->current_frame_host()->GetProcess()->GetEffectiveImportance()); in IN_PROC_BROWSER_TEST_P()
10724 int old_child_process_id = child->current_frame_host()->GetProcess()->GetID(); in IN_PROC_BROWSER_TEST_P()
10727 int new_child_process_id = child->current_frame_host()->GetProcess()->GetID(); in IN_PROC_BROWSER_TEST_P()
10731 child->current_frame_host()->GetProcess()->GetEffectiveImportance()); in IN_PROC_BROWSER_TEST_P()
10733 root->current_frame_host()->GetProcess()->GetEffectiveImportance()); in IN_PROC_BROWSER_TEST_P()
10736 int old_root_process_id = root->current_frame_host()->GetProcess()->GetID(); in IN_PROC_BROWSER_TEST_P()
10740 int new_root_process_id = root->current_frame_host()->GetProcess()->GetID(); in IN_PROC_BROWSER_TEST_P()
10743 root->current_frame_host()->GetProcess()->GetEffectiveImportance()); in IN_PROC_BROWSER_TEST_P()
10870 root->current_frame_host()->GetRenderWidgetHost()->GetView()); in SetupTest()
10896 WaitForHitTestData(child_frame_tree_node_->current_frame_host()); in SetupTest()
10899 child_frame_tree_node_->current_frame_host() in SetupTest()
10918 child_frame_tree_node_->current_frame_host(), "get_point_inside_text()", in GetPointInChild()
11236 WaitForHitTestData(child_node->current_frame_host()); in IN_PROC_BROWSER_TEST_P()
11239 root->current_frame_host()->GetRenderWidgetHost()); in IN_PROC_BROWSER_TEST_P()
11241 child_node->current_frame_host()->GetRenderWidgetHost()); in IN_PROC_BROWSER_TEST_P()
11279 child_tap_point = child_node->current_frame_host() in IN_PROC_BROWSER_TEST_P()
11371 root->current_frame_host()->GetProcess()->AddFilter(filter_mainframe.get()); in IN_PROC_BROWSER_TEST_P()
11376 child_b->current_frame_host()->GetProcess()->AddFilter(filter_child_b.get()); in IN_PROC_BROWSER_TEST_P()
11392 root->current_frame_host()->GetRenderWidgetHost()); in IN_PROC_BROWSER_TEST_P()
11456 child_node->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
11500 child_node->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
11893 root->current_frame_host()->GetSiteInstance())); in IN_PROC_BROWSER_TEST_P()
11902 EXPECT_EQ(bar_process, child->current_frame_host()->GetProcess()); in IN_PROC_BROWSER_TEST_P()
11905 child->current_frame_host()->GetSiteInstance()->process_reuse_policy()); in IN_PROC_BROWSER_TEST_P()
11907 EXPECT_TRUE(child->current_frame_host()->IsCrossProcessSubframe()); in IN_PROC_BROWSER_TEST_P()
11910 child->current_frame_host()->GetSiteInstance()->GetSiteURL().host()); in IN_PROC_BROWSER_TEST_P()
11915 child->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
11917 child->current_frame_host()->GetSiteInstance())); in IN_PROC_BROWSER_TEST_P()
11934 EXPECT_EQ(bar_process, second_subframe->current_frame_host()->GetProcess()); in IN_PROC_BROWSER_TEST_P()
11935 EXPECT_NE(child->current_frame_host()->GetSiteInstance(), in IN_PROC_BROWSER_TEST_P()
11936 second_subframe->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
11946 second_subframe->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
11948 child->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
11962 root->current_frame_host()->GetSiteInstance(); in IN_PROC_BROWSER_TEST_P()
11976 second_root->current_frame_host()->GetSiteInstance(); in IN_PROC_BROWSER_TEST_P()
11984 second_child->current_frame_host()->GetSiteInstance(); in IN_PROC_BROWSER_TEST_P()
11997 second_root->current_frame_host()->GetSiteInstance(); in IN_PROC_BROWSER_TEST_P()
12096 WaitForHitTestData(nested_child->current_frame_host()); in IN_PROC_BROWSER_TEST_P()
12099 ExecuteScript(nested_child->current_frame_host(), "startTest();")); in IN_PROC_BROWSER_TEST_P()
12104 root->current_frame_host(), "window.domAutomationController.send(true);", in IN_PROC_BROWSER_TEST_P()
12120 EXPECT_NE(root->current_frame_host()->GetSiteInstance(), in IN_PROC_BROWSER_TEST_P()
12121 iframe->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
12128 ExecuteScript(iframe->current_frame_host(), in IN_PROC_BROWSER_TEST_P()
12141 ExecuteScript(root->current_frame_host(), in IN_PROC_BROWSER_TEST_P()
12259 popup_child->current_frame_host()->GetView()); in IN_PROC_BROWSER_TEST_P()
12297 child0->current_frame_host()->GetRenderWidgetHost()->GetPriority(); in IN_PROC_BROWSER_TEST_P()
12300 EXPECT_EQ(0u, child0->current_frame_host()->GetProcess()->GetFrameDepth()); in IN_PROC_BROWSER_TEST_P()
12307 child1->current_frame_host()->render_view_host(); in IN_PROC_BROWSER_TEST_P()
12318 grand_child->current_frame_host()->GetRenderWidgetHost()->GetPriority(); in IN_PROC_BROWSER_TEST_P()
12322 grand_child->current_frame_host()->GetProcess()->GetFrameDepth()); in IN_PROC_BROWSER_TEST_P()
12348 root->child_at(0)->current_frame_host()->GetProcess(); in IN_PROC_BROWSER_TEST_P()
12350 popup_root->current_frame_host()->GetProcess(); in IN_PROC_BROWSER_TEST_P()
12370 root->current_frame_host()->GetProcess(); in IN_PROC_BROWSER_TEST_P()
12403 ASSERT_TRUE(EvalJsAfterLifecycleUpdate(root->current_frame_host(), "", "") in IN_PROC_BROWSER_TEST_P()
12406 root->child_at(2)->current_frame_host(), "", "") in IN_PROC_BROWSER_TEST_P()
12419 root->child_at(0)->current_frame_host(), "", "") in IN_PROC_BROWSER_TEST_P()
12458 EvalJsAfterLifecycleUpdate(root->current_frame_host(), "", script); in IN_PROC_BROWSER_TEST_P()
12474 root->child_at(0)->current_frame_host(), raf_script, script); in IN_PROC_BROWSER_TEST_P()
12513 node->current_frame_host()->GetRenderWidgetHost()->GetPriority(); in IN_PROC_BROWSER_TEST_P()
12516 node->current_frame_host()->GetProcess()->GetIntersectsViewport()); in IN_PROC_BROWSER_TEST_P()
12520 priority = node->current_frame_host()->GetRenderWidgetHost()->GetPriority(); in IN_PROC_BROWSER_TEST_P()
12523 node->current_frame_host()->GetProcess()->GetIntersectsViewport()); in IN_PROC_BROWSER_TEST_P()
12651 root->current_frame_host(), in IN_PROC_BROWSER_TEST_P()
12670 int view_height = root->current_frame_host() in IN_PROC_BROWSER_TEST_P()
12743 ASSERT_TRUE(EvalJsAfterLifecycleUpdate(root->current_frame_host(), in IN_PROC_BROWSER_TEST_P()
12755 child_b->current_frame_host(), in IN_PROC_BROWSER_TEST_P()
12774 int view_height = (child_b->current_frame_host() in IN_PROC_BROWSER_TEST_P()
12828 root->current_frame_host(), in IN_PROC_BROWSER_TEST_P()
12886 child_b->current_frame_host(), in IN_PROC_BROWSER_TEST_P()
12939 web_contents(), child_node->current_frame_host()); in IN_PROC_BROWSER_TEST_P()
12940 SimulateMouseClick(child_node->current_frame_host()->GetRenderWidgetHost(), in IN_PROC_BROWSER_TEST_P()
12944 SimulateMouseClick(child_node->current_frame_host()->GetRenderWidgetHost(), 1, in IN_PROC_BROWSER_TEST_P()
12977 RenderWidgetHost* rwh = root->current_frame_host()->GetRenderWidgetHost(); in IN_PROC_BROWSER_TEST_P()
12979 child->current_frame_host()->GetRenderWidgetHost(); in IN_PROC_BROWSER_TEST_P()
12986 root->current_frame_host()->GetRenderWidgetHost()->GetView()); in IN_PROC_BROWSER_TEST_P()
13087 ASSERT_TRUE(EvalJsAfterLifecycleUpdate(root->current_frame_host(), "", "") in IN_PROC_BROWSER_TEST_P()
13090 EvalJsAfterLifecycleUpdate(child_node->current_frame_host(), "", "") in IN_PROC_BROWSER_TEST_P()
13095 ASSERT_TRUE(ExecJs(root->current_frame_host(), "window.scrollTo(0, 5000)")); in IN_PROC_BROWSER_TEST_P()
13100 ASSERT_TRUE(ExecJs(root->current_frame_host(), "window.scrollTo(0, 0)")); in IN_PROC_BROWSER_TEST_P()
13137 ASSERT_TRUE(EvalJsAfterLifecycleUpdate(root->current_frame_host(), "", "") in IN_PROC_BROWSER_TEST_P()
13140 EvalJsAfterLifecycleUpdate(child_node_b->current_frame_host(), "", "") in IN_PROC_BROWSER_TEST_P()
13146 ExecJs(child_node_b->current_frame_host(), "window.scrollTo(0, 5000)")); in IN_PROC_BROWSER_TEST_P()
13153 ExecJs(child_node_b->current_frame_host(), "window.scrollTo(0, 0)")); in IN_PROC_BROWSER_TEST_P()
13369 WaitForHitTestData(child->current_frame_host()); in IN_PROC_BROWSER_TEST_P()
13373 child->current_frame_host()->GetRenderWidgetHost(); in IN_PROC_BROWSER_TEST_P()
13397 EXPECT_NE(root->current_frame_host()->GetRenderWidgetHost(), in IN_PROC_BROWSER_TEST_P()
13398 new_child->current_frame_host()->GetRenderWidgetHost()); in IN_PROC_BROWSER_TEST_P()
13400 new_child->current_frame_host()->GetRenderWidgetHost())); in IN_PROC_BROWSER_TEST_P()
13416 root->current_frame_host()->GetRenderWidgetHost()->GetView()); in IN_PROC_BROWSER_TEST_P()
13418 child->current_frame_host()->GetRenderWidgetHost()->GetView()); in IN_PROC_BROWSER_TEST_P()
13421 root->current_frame_host()->GetRenderWidgetHost())); in IN_PROC_BROWSER_TEST_P()
13431 WaitForHitTestData(child->current_frame_host()); in IN_PROC_BROWSER_TEST_P()
13434 child->current_frame_host()->GetRenderWidgetHost())); in IN_PROC_BROWSER_TEST_P()
13438 child->current_frame_host()->GetRenderWidgetHost()->GetView()); in IN_PROC_BROWSER_TEST_P()
13500 root->current_frame_host()->GetRenderWidgetHost()->GetView()); in IN_PROC_BROWSER_TEST_F()
13502 child->current_frame_host()->GetRenderWidgetHost()->GetView()); in IN_PROC_BROWSER_TEST_F()
13505 root->current_frame_host()->GetRenderWidgetHost())); in IN_PROC_BROWSER_TEST_F()
13512 WaitForHitTestData(child->current_frame_host()); in IN_PROC_BROWSER_TEST_F()
13515 child->current_frame_host()->GetRenderWidgetHost())); in IN_PROC_BROWSER_TEST_F()
13518 child->current_frame_host()->GetRenderWidgetHost()->GetView()); in IN_PROC_BROWSER_TEST_F()
13590 root->current_frame_host()->GetRenderWidgetHost()->GetView()); in IN_PROC_BROWSER_TEST_P()
13592 child->current_frame_host()->GetRenderWidgetHost()->GetView()); in IN_PROC_BROWSER_TEST_P()
13595 root->current_frame_host()->GetRenderWidgetHost())); in IN_PROC_BROWSER_TEST_P()
13602 WaitForHitTestData(child->current_frame_host()); in IN_PROC_BROWSER_TEST_P()
13605 child->current_frame_host()->GetRenderWidgetHost())); in IN_PROC_BROWSER_TEST_P()
13608 child->current_frame_host()->GetRenderWidgetHost()->GetView()); in IN_PROC_BROWSER_TEST_P()
13633 WaitForHitTestData(child->current_frame_host()); in IN_PROC_BROWSER_TEST_P()
13637 child->current_frame_host()->GetRenderWidgetHost())); in IN_PROC_BROWSER_TEST_P()
13640 child->current_frame_host()->GetRenderWidgetHost()->GetView()); in IN_PROC_BROWSER_TEST_P()
13681 root->child_at(0)->current_frame_host()->GetProcess(); in IN_PROC_BROWSER_TEST_P()
13715 RenderProcessHost* child_process = root->current_frame_host()->GetProcess(); in IN_PROC_BROWSER_TEST_P()
13768 root->child_at(0)->current_frame_host()->GetProcess(); in IN_PROC_BROWSER_TEST_P()
13835 root->child_at(0)->current_frame_host()->GetProcess(); in IN_PROC_BROWSER_TEST_P()
13871 EvalJsAfterLifecycleUpdate(root->current_frame_host(), "", "true")); in IN_PROC_BROWSER_TEST_P()
13876 root->child_at(0)->current_frame_host()->GetProcess(); in IN_PROC_BROWSER_TEST_P()
13897 EvalJsAfterLifecycleUpdate(root->current_frame_host(), "", "true")); in IN_PROC_BROWSER_TEST_P()
13930 root->child_at(0)->current_frame_host()->GetProcess(); in IN_PROC_BROWSER_TEST_P()
13959 EvalJsAfterLifecycleUpdate(root->current_frame_host(), "", "true")); in IN_PROC_BROWSER_TEST_P()
13996 RenderProcessHost* process = ftn->current_frame_host()->GetProcess(); in CrashProcess()
14001 EXPECT_FALSE(ftn->current_frame_host()->IsRenderFrameLive()); in CrashProcess()
14047 EXPECT_TRUE(root->current_frame_host()->IsRenderFrameLive()); in IN_PROC_BROWSER_TEST_P()
14048 EXPECT_TRUE(root->child_at(0)->current_frame_host()->IsRenderFrameLive()); in IN_PROC_BROWSER_TEST_P()
14065 root->child_at(0)->current_frame_host()->GetRenderWidgetHost(), in IN_PROC_BROWSER_TEST_P()
14121 grandchild->current_frame_host()->GetRenderWidgetHost(), in IN_PROC_BROWSER_TEST_P()
14181 EvalJsAfterLifecycleUpdate(root->current_frame_host(), "", "true")); in IN_PROC_BROWSER_TEST_P()
14204 EXPECT_TRUE(root->current_frame_host()->IsRenderFrameLive()); in IN_PROC_BROWSER_TEST_P()
14205 EXPECT_FALSE(root->child_at(0)->current_frame_host()->IsRenderFrameLive()); in IN_PROC_BROWSER_TEST_P()
14217 EXPECT_TRUE(root->current_frame_host()->IsRenderFrameLive()); in IN_PROC_BROWSER_TEST_P()
14218 EXPECT_TRUE(root->child_at(0)->current_frame_host()->IsRenderFrameLive()); in IN_PROC_BROWSER_TEST_P()
14240 EvalJsAfterLifecycleUpdate(root->current_frame_host(), "", "true")); in IN_PROC_BROWSER_TEST_P()
14258 EXPECT_TRUE(root->current_frame_host()->IsRenderFrameLive()); in IN_PROC_BROWSER_TEST_P()
14259 EXPECT_FALSE(root->child_at(0)->current_frame_host()->IsRenderFrameLive()); in IN_PROC_BROWSER_TEST_P()
14284 EXPECT_TRUE(root->current_frame_host()->IsRenderFrameLive()); in IN_PROC_BROWSER_TEST_P()
14285 EXPECT_FALSE(root->child_at(0)->current_frame_host()->IsRenderFrameLive()); in IN_PROC_BROWSER_TEST_P()
14317 root->child_at(0)->current_frame_host()->GetRenderWidgetHost(); in IN_PROC_BROWSER_TEST_P()
14534 RenderFrameHostImpl* subframe_rfh = subframe->current_frame_host(); in IN_PROC_BROWSER_TEST_P()
14551 popup_subframe->current_frame_host(); in IN_PROC_BROWSER_TEST_P()
14555 EXPECT_NE(subframe->current_frame_host()->GetSiteInstance(), in IN_PROC_BROWSER_TEST_P()
14556 popup_subframe->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
14558 subframe->current_frame_host()->GetSiteInstance()->GetProcess(), in IN_PROC_BROWSER_TEST_P()
14559 popup_subframe->current_frame_host()->GetSiteInstance()->GetProcess()); in IN_PROC_BROWSER_TEST_P()
14561 subframe->current_frame_host()->GetSiteInstance()->GetSiteURL(), in IN_PROC_BROWSER_TEST_P()
14562 popup_subframe->current_frame_host()->GetSiteInstance()->GetSiteURL()); in IN_PROC_BROWSER_TEST_P()
14581 auto* rfh = popup_root->current_frame_host(); in IN_PROC_BROWSER_TEST_P()
14588 popup_root->current_frame_host()->GetProcess(), in IN_PROC_BROWSER_TEST_P()
14808 EXPECT_NE(inner_contents_root->current_frame_host()->GetSiteInstance(), in IN_PROC_BROWSER_TEST_P()
14809 inner_child->current_frame_host()->GetSiteInstance()); in IN_PROC_BROWSER_TEST_P()
14810 EXPECT_TRUE(inner_child->current_frame_host()->IsCrossProcessSubframe()); in IN_PROC_BROWSER_TEST_P()
14821 inner_child->current_frame_host()->GetRenderWidgetHost()); in IN_PROC_BROWSER_TEST_P()
14835 GURL original_frame_url(child->current_frame_host()->GetLastCommittedURL()); in IN_PROC_BROWSER_TEST_P()
14849 child->current_frame_host()->GetLastCommittedURL()); in IN_PROC_BROWSER_TEST_P()
14895 WaitForHitTestData(child_b->current_frame_host()); in IN_PROC_BROWSER_TEST_P()
14899 child_b->current_frame_host() in IN_PROC_BROWSER_TEST_P()
14931 child_b->current_frame_host()->GetRenderWidgetHost(), in IN_PROC_BROWSER_TEST_P()
14934 root->current_frame_host()->GetRenderWidgetHost()); in IN_PROC_BROWSER_TEST_P()
15066 return root->current_frame_host()->GetRenderWidgetHost(); in GetRenderWidgetHostImpl()
15189 root->current_frame_host()->GetProcess()); in IN_PROC_BROWSER_TEST_P()
15209 int process_id = root->current_frame_host()->GetProcess()->GetID(); in IN_PROC_BROWSER_TEST_P()
15223 root->TransferNavigationRequestOwnership(root->current_frame_host()); in IN_PROC_BROWSER_TEST_P()
15224 root->current_frame_host()->OnCrossDocumentCommitProcessed( in IN_PROC_BROWSER_TEST_P()
15230 static_cast<mojom::FrameHost*>(root->current_frame_host()) in IN_PROC_BROWSER_TEST_P()
15243 root->current_frame_host()->GetProcess()->IsInitializedAndNotDead()); in IN_PROC_BROWSER_TEST_P()
15313 RenderFrameHostImpl* rfh_b = rfh_a->child_at(0)->current_frame_host(); in IN_PROC_BROWSER_TEST_P()
15368 RenderFrameHostImpl* rfh_b = rfh_a->child_at(0)->current_frame_host(); in IN_PROC_BROWSER_TEST_P()
15369 RenderFrameHostImpl* rfh_c = rfh_b->child_at(0)->current_frame_host(); in IN_PROC_BROWSER_TEST_P()
15424 RenderFrameHostImpl* rfh_b = rfh_a->child_at(0)->current_frame_host(); in IN_PROC_BROWSER_TEST_P()
15456 RenderFrameHostImpl* rfh_b = rfh_a->child_at(0)->current_frame_host(); in IN_PROC_BROWSER_TEST_P()
15458 RenderFrameHostImpl* rfh_c = rfh_a->child_at(0)->current_frame_host(); in IN_PROC_BROWSER_TEST_P()
15502 RenderFrameHostImpl* rfh_b = rfh_a->child_at(0)->current_frame_host(); in IN_PROC_BROWSER_TEST_P()
15569 root->current_frame_host()->GetRenderWidgetHost()); in IN_PROC_BROWSER_TEST_P()
15573 child->current_frame_host()->GetRenderWidgetHost()) in IN_PROC_BROWSER_TEST_P()
15654 child->current_frame_host()->GetRenderWidgetHost()); in IN_PROC_BROWSER_TEST_P()
15754 EXPECT_TRUE(root->child_at(0)->current_frame_host()->IsSandboxed(flag)); in IN_PROC_BROWSER_TEST_F()
15756 EXPECT_FALSE(root->child_at(0)->current_frame_host()->IsSandboxed(flag)); in IN_PROC_BROWSER_TEST_F()
15781 EXPECT_TRUE(root->child_at(0)->current_frame_host()->IsSandboxed(flag)); in IN_PROC_BROWSER_TEST_F()
15783 EXPECT_FALSE(root->child_at(0)->current_frame_host()->IsSandboxed(flag)); in IN_PROC_BROWSER_TEST_F()
15977 auto* original_child_frame = child_node->current_frame_host(); in IN_PROC_BROWSER_TEST_P()
16036 RenderFrameHostImpl* b2_rfh = a1_rfh->child_at(0)->current_frame_host(); in IN_PROC_BROWSER_TEST_P()
16046 RenderFrameHostImpl* b3_rfh = a1_rfh->child_at(0)->current_frame_host(); in IN_PROC_BROWSER_TEST_P()
16060 RenderFrameHostImpl* b4_rfh = a1_rfh->child_at(0)->current_frame_host(); in IN_PROC_BROWSER_TEST_P()
16110 ASSERT_TRUE(EvalJsAfterLifecycleUpdate(node->current_frame_host(), "", "") in IN_PROC_BROWSER_TEST_P()
16176 ASSERT_TRUE(EvalJsAfterLifecycleUpdate(a_node->current_frame_host(), in IN_PROC_BROWSER_TEST_P()
16240 root->current_frame_host() in IN_PROC_BROWSER_TEST_P()
16249 child->current_frame_host() in IN_PROC_BROWSER_TEST_P()
16264 child->current_frame_host()->GetRenderWidgetHost()->GetView()); in IN_PROC_BROWSER_TEST_P()