Lines Matching refs:nav
832 virtual std::string GetMainHtmlForNav(int nav) const { in GetMainHtmlForNav()
833 return "<html><body>TEST " + std::to_string(nav) + "</body></html>"; in GetMainHtmlForNav()
836 std::string GetURLForNav(int nav, const std::string& suffix = "") const { in GetURLForNav() argument
839 ss << kOrderMainUrlPrefix << nav << "/cross-origin" << suffix << ".html"; in GetURLForNav()
841 ss << kOrderMainUrlPrefix << "/" << nav << "same-origin" << suffix in GetURLForNav()
1142 virtual std::string GetSubURL1ForNav(int nav) const { in GetSubURL1ForNav()
1143 return GetURLForNav(nav, "sub1"); in GetSubURL1ForNav()
1146 std::string GetSubFrameHtml1ForNav(int nav) const { in GetSubFrameHtml1ForNav()
1148 return "<iframe src=\"" + GetSubURL2ForNav(nav) + "\">"; in GetSubFrameHtml1ForNav()
1153 virtual std::string GetSubURL2ForNav(int nav) const { in GetSubURL2ForNav()
1154 return GetURLForNav(nav, "sub2"); in GetSubURL2ForNav()
1157 std::string GetSubFrameHtml2ForNav(int nav) const { in GetSubFrameHtml2ForNav()
1161 std::string GetMainHtmlForNav(int nav) const override { in GetMainHtmlForNav()
1163 return "<html><body><iframe src=\"" + GetSubURL1ForNav(nav) + in GetMainHtmlForNav()
1164 "\"></iframe><iframe src=\"" + GetSubURL2ForNav(nav) + in GetMainHtmlForNav()
1167 return "<html><body><iframe src=\"" + GetSubURL1ForNav(nav) + in GetMainHtmlForNav()
1375 std::string GetSubURL1ForNav(int nav) const override { in GetSubURL1ForNav()
1377 ss << kOrderMainUrlPrefix << nav << "-sub1/sub-cross-origin.html"; in GetSubURL1ForNav()
1381 std::string GetSubURL2ForNav(int nav) const override { in GetSubURL2ForNav()
1383 ss << kOrderMainUrlPrefix << nav << "-sub2/sub-cross-origin.html"; in GetSubURL2ForNav()