Lines Matching refs:browser
6 #include "chrome/browser/automation/automation_util.h"
7 #include "chrome/browser/extensions/extension_apitest.h"
8 #include "chrome/browser/extensions/extension_host.h"
9 #include "chrome/browser/profiles/profile.h"
10 #include "chrome/browser/ui/browser.h"
13 #include "content/browser/renderer_host/browser_render_process_host.h"
14 #include "content/browser/renderer_host/render_view_host.h"
15 #include "content/browser/tab_contents/tab_contents.h"
62 browser()->NewTab();
63 ui_test_utils::NavigateToURL(browser(), base_url.Resolve("app1/main.html"));
64 browser()->NewTab();
65 ui_test_utils::NavigateToURL(browser(), base_url.Resolve("app2/main.html"));
66 browser()->NewTab();
67 ui_test_utils::NavigateToURL(browser(),
71 TabContents* tab1 = browser()->GetTabContentsAt(1);
72 TabContents* tab2 = browser()->GetTabContentsAt(2);
73 TabContents* tab3 = browser()->GetTabContentsAt(3);
123 browser()->NewTab();
124 ui_test_utils::NavigateToURL(browser(), base_url.Resolve("app1/main.html"));
125 browser()->NewTab();
126 ui_test_utils::NavigateToURL(browser(), base_url.Resolve("app2/main.html"));
127 browser()->NewTab();
128 ui_test_utils::NavigateToURL(browser(),
132 ASSERT_TRUE(HasCookie(browser()->GetTabContentsAt(1), "app2=4"));
133 ASSERT_TRUE(HasCookie(browser()->GetTabContentsAt(1), "normalPage=5"));
134 ASSERT_TRUE(HasCookie(browser()->GetTabContentsAt(1), "nonAppFrame=6"));
135 ASSERT_TRUE(HasCookie(browser()->GetTabContentsAt(2), "app1=3"));
136 ASSERT_TRUE(HasCookie(browser()->GetTabContentsAt(2), "normalPage=5"));
137 ASSERT_TRUE(HasCookie(browser()->GetTabContentsAt(2), "nonAppFrame=6"));
138 ASSERT_TRUE(HasCookie(browser()->GetTabContentsAt(3), "app1=3"));
139 ASSERT_TRUE(HasCookie(browser()->GetTabContentsAt(3), "app2=4"));
140 ASSERT_TRUE(HasCookie(browser()->GetTabContentsAt(3), "nonAppFrame=6"));