Home
last modified time | relevance | path

Searched refs:GetAvailability (Results 1 – 25 of 26) sorted by relevance

12

/external/chromium_org/chrome/browser/prefs/
Dincognito_mode_prefs_unittest.cc39 TEST_F(IncognitoModePrefsTest, GetAvailability) { in TEST_F() argument
44 IncognitoModePrefs::GetAvailability(&prefs_)); in TEST_F()
50 IncognitoModePrefs::GetAvailability(&prefs_)); in TEST_F()
56 IncognitoModePrefs::GetAvailability(&prefs_)); in TEST_F()
68 IncognitoModePrefs::GetAvailability(&prefs_); in TEST_F()
74 IncognitoModePrefs::GetAvailability(&prefs_); in TEST_F()
Dincognito_mode_prefs.cc43 IncognitoModePrefs::Availability IncognitoModePrefs::GetAvailability( in GetAvailability() function in IncognitoModePrefs
77 Availability incognito_avail = GetAvailability(prefs); in ShouldLaunchIncognito()
85 switch (GetAvailability(profile->GetPrefs())) { in CanOpenBrowser()
Dincognito_mode_prefs.h45 static Availability GetAvailability(const PrefService* prefs);
/external/chromium_org/extensions/renderer/resources/
Dlast_error.js5 var GetAvailability = requireNative('v8_context').GetAvailability; variable
31 if (GetAvailability('extension.lastError').is_available)
84 if (GetAvailability('extension.lastError').is_available)
95 var runtimeAvailability = GetAvailability('runtime.lastError');
Dbinding.js7 var GetAvailability = requireNative('v8_context').GetAvailability; variable
283 if (!GetAvailability(apiFunction.name).is_available ||
348 if (!GetAvailability(eventName).is_available ||
377 if (!GetAvailability(schema.namespace + "." +
422 var availability = GetAvailability(schema.namespace);
Dtest_custom_bindings.js13 var GetAvailability = requireNative('v8_context').GetAvailability; variable
/external/chromium_org/chrome/renderer/resources/extensions/
Dapp_custom_bindings.js7 var GetAvailability = requireNative('v8_context').GetAvailability; variable
8 if (!GetAvailability('app').is_available) {
/external/chromium_org/extensions/renderer/
Dv8_context_native_handler.cc20 base::Bind(&V8ContextNativeHandler::GetAvailability, in V8ContextNativeHandler()
27 void V8ContextNativeHandler::GetAvailability( in GetAvailability() function in extensions::V8ContextNativeHandler
32 Feature::Availability availability = context_->GetAvailability(api_name); in GetAvailability()
Dv8_context_native_handler.h19 void GetAvailability(const v8::FunctionCallbackInfo<v8::Value>& args);
Dapi_definitions_natives.cc33 context()->GetAvailability(*i).is_available()) { in GetExtensionAPIDefinitionsForTest()
Dscript_context.h89 Feature::Availability GetAvailability(const std::string& api_name);
Dscript_context.cc94 Feature::Availability ScriptContext::GetAvailability( in GetAvailability() function in extensions::ScriptContext
Ddispatcher.cc376 Feature::Availability availability = context->GetAvailability(function_name); in CheckContextAccessToExtensionAPI()
1216 context->GetAvailability(ancestor_name).is_available() && in GetOrCreateBindObjectIfAvailable()
1217 !context->GetAvailability(api_name).is_available()) { in GetOrCreateBindObjectIfAvailable()
/external/chromium_org/chrome/browser/ui/app_list/
Dapp_context_menu.cc229 return IncognitoModePrefs::GetAvailability(profile_->GetPrefs()) != in IsCommandIdEnabled()
233 return IncognitoModePrefs::GetAvailability(profile_->GetPrefs()) != in IsCommandIdEnabled()
/external/chromium_org/chrome/browser/ui/ash/launcher/
Dlauncher_context_menu.cc251 return IncognitoModePrefs::GetAvailability( in IsCommandIdEnabled()
257 return IncognitoModePrefs::GetAvailability( in IsCommandIdEnabled()
/external/chromium_org/chrome/browser/profiles/
Doff_the_record_profile_impl.cc129 IncognitoModePrefs::GetAvailability(profile_->GetPrefs())); in Init()
Dprofile_manager.cc296 IncognitoModePrefs::GetAvailability(profile->GetPrefs()) == in GetLastUsedProfileAllowedByPolicy()
Dprofile_manager_unittest.cc553 IncognitoModePrefs::GetAvailability(prefs)); in TEST_F()
/external/chromium_org/chrome/browser/ui/bookmarks/
Dbookmark_context_menu_controller.cc350 IncognitoModePrefs::GetAvailability(prefs); in IsCommandIdEnabled()
/external/chromium_org/chrome/browser/ui/
Dbrowser_command_controller.cc1033 IncognitoModePrefs::GetAvailability(profile->GetPrefs()); in UpdateSharedCommandsForIncognitoAvailability()
1226 IncognitoModePrefs::GetAvailability( in UpdateCommandsForFullscreenMode()
Dbrowser_navigator.cc105 if (prefs && IncognitoModePrefs::GetAvailability(prefs) == in AdjustNavigateParamsForURL()
Dbrowser_commands.cc336 if (IncognitoModePrefs::GetAvailability(prefs) == in NewEmptyWindow()
/external/chromium_org/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_menu_bridge.mm282 IncognitoModePrefs::GetAvailability(profile_->GetPrefs());
/external/chromium_org/chrome/browser/extensions/api/tabs/
Dtabs_api.cc270 IncognitoModePrefs::GetAvailability(GetProfile()->GetPrefs()); in ShouldOpenIncognitoWindow()
/external/chromium_org/chrome/browser/renderer_context_menu/
Drender_view_context_menu.cc1138 IncognitoModePrefs::GetAvailability(profile_->GetPrefs()); in IsCommandIdEnabled()

12