Lines Matching defs:url
23 #include "url/gurl.h"
58 // Navigates to |url| and tests that the location bar and the |virtual_url|
59 // correspond to |url|, while the real URL of the navigation entry uses the
61 void TestExtensionURLOverride(const GURL& url) {
62 ui_test_utils::NavigateToURL(browser(), url);
63 EXPECT_EQ(url, GetLocationBarTextAsURL());
64 EXPECT_EQ(url, GetNavigationEntry()->GetVirtualURL());
69 // Navigates to |url| and tests that the location bar is empty while the
70 // |virtual_url| is the same as |url|.
71 void TestURLNotShown(const GURL& url) {
72 ui_test_utils::NavigateToURL(browser(), url);
74 EXPECT_EQ(url, GetNavigationEntry()->GetVirtualURL());
80 GURL url(chrome::kChromeUINewTabURL);
81 TestURLNotShown(url);