Home
last modified time | relevance | path

Searched refs:kTab (Results 1 – 16 of 16) sorted by relevance

/external/chromium_org/extensions/common/permissions/
Dapi_permission_set_unittest.cc17 apis.insert(APIPermission::kTab); in TEST()
28 EXPECT_EQ(apis.erase(APIPermission::kTab), 1u); in TEST()
31 EXPECT_EQ(apis.erase(APIPermission::kTab), 0u); in TEST()
57 apis1.insert(APIPermission::kTab); in TEST()
60 expected_apis.insert(APIPermission::kTab); in TEST()
76 apis2.insert(APIPermission::kTab); in TEST()
92 expected_apis.insert(APIPermission::kTab); in TEST()
135 apis1.insert(APIPermission::kTab); in TEST()
161 apis2.insert(APIPermission::kTab); in TEST()
177 expected_apis.insert(APIPermission::kTab); in TEST()
[all …]
Dapi_permission.h143 kTab, enumerator
/external/chromium_org/chrome/common/extensions/permissions/
Dpermission_set_unittest.cc66 EXPECT_EQ(APIPermission::kTab, info->GetByName("tabs")->id()); in TEST()
100 expected.insert(APIPermission::kTab); in TEST()
111 EXPECT_EQ(tabs_name, info->GetByID(APIPermission::kTab)->name()); in TEST()
112 EXPECT_EQ(APIPermission::kTab, info->GetByName("tabs")->id()); in TEST()
113 EXPECT_EQ(APIPermission::kTab, info->GetByName("windows")->id()); in TEST()
264 apis1.insert(APIPermission::kTab); in TEST()
267 expected_apis.insert(APIPermission::kTab); in TEST()
294 apis2.insert(APIPermission::kTab); in TEST()
311 expected_apis.insert(APIPermission::kTab); in TEST()
384 apis1.insert(APIPermission::kTab); in TEST()
[all …]
Dchrome_api_permissions.cc143 { APIPermission::kTab, "tabs", APIPermissionInfo::kFlagNone, in GetAllPermissions()
/external/chromium_org/chrome/browser/extensions/api/permissions/
Dpermissions_api_helpers_unittest.cc32 apis.insert(APIPermission::kTab); in TEST()
95 EXPECT_TRUE(permissions->HasAPIPermission(APIPermission::kTab)); in TEST()
/external/chromium_org/extensions/browser/
Dinfo_map_unittest.cc150 EXPECT_FALSE(match && match->HasAPIPermission(APIPermission::kTab)); in TEST_F()
155 EXPECT_TRUE(match && match->HasAPIPermission(APIPermission::kTab)); in TEST_F()
/external/chromium_org/chrome/browser/extensions/
Dactive_tab_permission_granter.cc53 new_apis.insert(APIPermission::kTab); in GrantIfRequested()
Dactive_tab_unittest.cc124 extension.get(), tab_id, APIPermission::kTab); in HasTabsPermission()
132 APIPermission::kTab); in IsGrantedForTab()
Dextension_tab_util.cc177 extension, GetTabId(contents), APIPermission::kTab); in ScrubTabValueForExtension()
189 APIPermission::kTab); in ScrubTabForExtension()
Dpermissions_updater_unittest.cc138 apis.insert(APIPermission::kTab); in TEST_F()
Dextension_keybinding_apitest.cc43 APIPermission::kTab); in IsGrantedForTab()
Dextension_prefs_unittest.cc194 api_perm_set1_.insert(APIPermission::kTab); in Initialize()
345 api_perms.insert(APIPermission::kTab); in Initialize()
Dextension_service_unittest.cc2039 expected_api_perms.insert(APIPermission::kTab); in TEST_F()
2088 expected_api_perms.insert(APIPermission::kTab); in TEST_F()
2148 expected_api_permissions.insert(APIPermission::kTab); in TEST_F()
/external/chromium_org/ash/touch/
Dtouch_uma.cc422 const char kTab[] = "BrowserTab"; in FindGestureActionType() local
423 if (name == kTabStrip || name == kTab) { in FindGestureActionType()
/external/chromium_org/chrome/browser/extensions/api/extension_action/
Dbrowser_action_interactive_test.cc196 APIPermission::kTab)); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/extensions/api/tabs/
Dtabs_api.cc1811 extension_.get(), execute_tab_id_, APIPermission::kTab)) { in HasPermission()