Lines Matching refs:new_frame
218 CefRefPtr<CefFrame> new_frame) { in OnMainFrameChanged()
225 if (old_frame && new_frame) { in OnMainFrameChanged()
226 EXPECT_NE(old_frame->GetIdentifier(), new_frame->GetIdentifier()); in OnMainFrameChanged()
233 GotCallback(__FUNCTION__, new_frame ? MAIN_FRAME_CHANGED_REMOVED in OnMainFrameChanged()
236 EXPECT_FALSE(new_frame); in OnMainFrameChanged()
240 if (new_frame && IsSame(new_frame)) { in OnMainFrameChanged()
242 VerifyFrame(__FUNCTION__, new_frame); in OnMainFrameChanged()
634 CefRefPtr<CefFrame> new_frame) override { in OnMainFrameChanged() argument
636 EXPECT_TRUE(old_frame || new_frame); in OnMainFrameChanged()
645 current_main_frame_->OnMainFrameChanged(browser, old_frame, new_frame); in OnMainFrameChanged()
651 if (new_frame) { in OnMainFrameChanged()
652 EXPECT_TRUE(new_frame->IsValid()); in OnMainFrameChanged()
653 EXPECT_TRUE(new_frame->IsMain()); in OnMainFrameChanged()
658 pending_main_frame_->OnMainFrameChanged(browser, old_frame, new_frame); in OnMainFrameChanged()
666 if (old_frame && new_frame) { in OnMainFrameChanged()
672 if (old_frame && !new_frame) { in OnMainFrameChanged()
1525 CefRefPtr<CefFrame> new_frame) override { in OnMainFrameChanged() argument
1526 if (temp_main_frame_ && temp_main_frame_->IsSame(new_frame)) { in OnMainFrameChanged()
1528 temp_main_frame_->OnMainFrameChanged(browser, old_frame, new_frame); in OnMainFrameChanged()
1532 OrderMainTestHandler::OnMainFrameChanged(browser, old_frame, new_frame); in OnMainFrameChanged()