Lines Matching refs:GetBrowserActionsBar
32 BrowserActionTestUtil GetBrowserActionsBar() {
38 GetBrowserActionsBar().Press(index);
42 return GetBrowserActionsBar().HasPopup();
53 ASSERT_EQ(1, GetBrowserActionsBar().NumberOfBrowserActions());
94 ASSERT_EQ(1, GetBrowserActionsBar().NumberOfBrowserActions());
95 EXPECT_FALSE(GetBrowserActionsBar().HasIcon(0));
104 EXPECT_TRUE(GetBrowserActionsBar().HasIcon(0));
112 EXPECT_TRUE(GetBrowserActionsBar().HasIcon(0));
126 ASSERT_EQ(1, GetBrowserActionsBar().NumberOfBrowserActions());
127 EXPECT_TRUE(GetBrowserActionsBar().HasIcon(0));
131 GetBrowserActionsBar().Press(0);
133 EXPECT_EQ("Showing icon 2", GetBrowserActionsBar().GetTooltip(0));
137 EXPECT_EQ("hi!", GetBrowserActionsBar().GetTooltip(0));
141 EXPECT_EQ("Showing icon 2", GetBrowserActionsBar().GetTooltip(0));
145 EXPECT_EQ("hi!", GetBrowserActionsBar().GetTooltip(0));
158 BrowserActionTestUtil actions_bar = GetBrowserActionsBar();
208 GetBrowserActionsBar().Press(0);
285 ASSERT_EQ(1, GetBrowserActionsBar().NumberOfBrowserActions());
329 ASSERT_EQ(3, GetBrowserActionsBar().NumberOfBrowserActions());
349 EXPECT_EQ(kTooltipA, GetBrowserActionsBar().GetTooltip(0));
350 EXPECT_EQ(kTooltipB, GetBrowserActionsBar().GetTooltip(1));
351 EXPECT_EQ(kTooltipC, GetBrowserActionsBar().GetTooltip(2));
363 EXPECT_EQ(kTooltipC, GetBrowserActionsBar().GetTooltip(0));
364 EXPECT_EQ(kTooltipA, GetBrowserActionsBar().GetTooltip(1));
365 EXPECT_EQ(kTooltipB, GetBrowserActionsBar().GetTooltip(2));
374 EXPECT_EQ(kTooltipC, GetBrowserActionsBar().GetTooltip(0));
375 EXPECT_EQ(kTooltipB, GetBrowserActionsBar().GetTooltip(1));
376 EXPECT_EQ(kTooltipA, GetBrowserActionsBar().GetTooltip(2));