Lines Matching refs:browser
38 scoped_refptr<BrowserProxy> browser(automation()->GetBrowserWindow(0));
39 ASSERT_TRUE(browser.get());
41 scoped_refptr<TabProxy> tab = browser->GetActiveTab();
50 scoped_refptr<BrowserProxy> browser(automation()->GetBrowserWindow(0));
51 ASSERT_TRUE(browser.get());
58 ASSERT_TRUE(browser->GetTabCount(&tab_count));
61 ASSERT_TRUE(browser->IsMenuCommandEnabled(IDC_PRINT, &enabled));
63 ASSERT_TRUE(browser->RunCommand(IDC_PRINT));
66 ASSERT_TRUE(browser->GetTabCount(&tab_count));
68 scoped_refptr<TabProxy> tab = browser->GetActiveTab();
71 ASSERT_TRUE(browser->IsMenuCommandEnabled(IDC_PRINT, &enabled));