Lines Matching defs:page_action
20 ASSERT_TRUE(RunExtensionTest("page_action/basics")) << message_;
34 ExtensionAction* action = extension->page_action();
65 ASSERT_TRUE(RunExtensionTest("page_action/add_popup")) << message_;
71 ExtensionAction* page_action = extension->page_action();
72 ASSERT_TRUE(page_action)
75 ASSERT_FALSE(page_action->HasPopup(tab_id));
87 ASSERT_TRUE(page_action->HasPopup(tab_id))
91 page_action->GetPopupUrl(tab_id).path().c_str());
103 ASSERT_TRUE(page_action->HasPopup(tab_id));
105 page_action->GetPopupUrl(tab_id).path().c_str());
111 ASSERT_TRUE(RunExtensionTest("page_action/remove_popup")) << message_;
117 ExtensionAction* page_action = extension->page_action();
118 ASSERT_TRUE(page_action)
121 ASSERT_TRUE(page_action->HasPopup(tab_id))
133 ASSERT_FALSE(page_action->HasPopup(tab_id))
140 ASSERT_TRUE(RunExtensionTest("page_action/old_api")) << message_;
166 ASSERT_TRUE(RunExtensionTest("page_action/popup")) << message_;
185 ASSERT_TRUE(LoadExtension(test_data_dir_.AppendASCII("page_action")
189 ASSERT_TRUE(LoadExtension(test_data_dir_.AppendASCII("page_action")