Home
last modified time | relevance | path

Searched refs:HasKey (Results 1 – 25 of 43) sorted by relevance

12

/external/chromium/chrome/browser/ui/webui/options/
Dlanguage_options_handler_unittest.cc65 ASSERT_TRUE(language_code_set->HasKey("en-US")); in TEST()
66 ASSERT_TRUE(language_code_set->HasKey("id")); // From kExtraLanguages. in TEST()
67 ASSERT_TRUE(language_code_set->HasKey("fil")); // From kExtraLanguages. in TEST()
76 ASSERT_TRUE(language_code_set->HasKey("fr")); in TEST()
85 ASSERT_TRUE(language_code_set->HasKey("fr")); in TEST()
94 ASSERT_TRUE(language_code_set->HasKey("ja")); in TEST()
178 EXPECT_TRUE(dictionary->HasKey("en-US")); in TEST()
188 EXPECT_TRUE(dictionary->HasKey("en-US")); in TEST()
/external/chromium/chrome/common/extensions/
Dextension.cc715 if (content_script->HasKey(keys::kRunAt)) { in LoadUserScriptHelper()
737 if (content_script->HasKey(keys::kAllFrames)) { in LoadUserScriptHelper()
810 if (content_script->HasKey(keys::kJs) && in LoadUserScriptHelper()
818 if (content_script->HasKey(keys::kCss) && in LoadUserScriptHelper()
878 if (!content_script->HasKey(globs_property_name)) in LoadGlobsHelper()
916 if (extension_action->HasKey(keys::kPageActionIcons) && in LoadExtensionActionHelper()
932 if (extension_action->HasKey(keys::kPageActionId)) { in LoadExtensionActionHelper()
942 if (extension_action->HasKey(keys::kPageActionDefaultIcon)) { in LoadExtensionActionHelper()
955 if (extension_action->HasKey(keys::kPageActionDefaultTitle)) { in LoadExtensionActionHelper()
960 } else if (extension_action->HasKey(keys::kName)) { in LoadExtensionActionHelper()
[all …]
/external/chromium/chrome/browser/extensions/
Dextension_tabs_module.cc298 if (args->HasKey(keys::kPopulateKey)) { in RunImpl()
332 if (args->HasKey(keys::kUrlKey)) { in RunImpl()
377 if (args->HasKey(keys::kTabIdKey)) { in RunImpl()
424 if (args->HasKey(keys::kLeftKey)) { in RunImpl()
431 if (args->HasKey(keys::kTopKey)) { in RunImpl()
438 if (args->HasKey(keys::kWidthKey)) { in RunImpl()
445 if (args->HasKey(keys::kHeightKey)) { in RunImpl()
453 if (args->HasKey(keys::kIncognitoKey)) { in RunImpl()
465 if (args->HasKey(keys::kFocusedKey)) in RunImpl()
470 if (args->HasKey(keys::kWindowTypeKey)) { in RunImpl()
[all …]
Dextension_context_menu_api.cc84 if (!properties.HasKey(kTypeKey)) { in ParseType()
114 if (!properties.HasKey(kCheckedKey)) { in ParseChecked()
132 if (!properties.HasKey(key)) in ParseURLPatterns()
186 if (!properties.HasKey(kParentIdKey)) in GetParent()
189 if (properties.HasKey(kParentIdKey) && in GetParent()
216 if (properties->HasKey(kTitleKey) && in RunImpl()
247 if (properties->HasKey(kParentIdKey)) { in RunImpl()
300 if (properties->HasKey(kTitleKey)) { in RunImpl()
Dexecute_code_in_tab_function.cc45 bool has_code = script_info->HasKey(keys::kCodeKey); in RunImpl()
46 bool has_file = script_info->HasKey(keys::kFileKey); in RunImpl()
90 if (script_info->HasKey(keys::kAllFramesKey)) { in RunImpl()
96 if (script_info->HasKey(keys::kCodeKey)) { in RunImpl()
108 if (script_info->HasKey(keys::kFileKey)) { in RunImpl()
Dextension_cookies_api.cc141 if (details->HasKey(keys::kStoreIdKey)) { in ParseStoreContext()
252 if (details_->HasKey(keys::kUrlKey) && !ParseUrl(details_, &url_, false)) in RunImpl()
315 if (details->HasKey(keys::kNameKey)) in RunImpl()
317 if (details->HasKey(keys::kValueKey)) in RunImpl()
319 if (details->HasKey(keys::kDomainKey)) in RunImpl()
321 if (details->HasKey(keys::kPathKey)) in RunImpl()
324 if (details->HasKey(keys::kSecureKey)) { in RunImpl()
328 if (details->HasKey(keys::kHttpOnlyKey)) { in RunImpl()
332 if (details->HasKey(keys::kExpirationDateKey)) { in RunImpl()
Dextension_tts_api.cc73 if (options->HasKey(util::kVoiceNameKey)) in Utterance()
76 if (options->HasKey(util::kLocaleKey)) in Utterance()
79 if (options->HasKey(util::kGenderKey)) in Utterance()
97 if (options->HasKey(util::kEnqueueKey)) in Utterance()
200 if (options->HasKey(util::kEnqueueKey)) in SpeakNow()
Dexternal_extension_provider_impl.cc183 return prefs_->HasKey(id); in HasExtension()
197 if (extension->HasKey(kExternalUpdateUrl)) { in GetExtensionDetails()
200 } else if (extension->HasKey(kExternalCrx)) { in GetExtensionDetails()
Dextension_cookies_helpers.cc148 if (!details_->HasKey(key)) in MatchesString()
156 if (!details_->HasKey(key)) in MatchesBoolean()
164 if (!details_->HasKey(keys::kDomainKey)) in MatchesDomain()
Dextension_sidebar_api.cc109 if (details->HasKey(kTabIdKey)) { in RunImpl()
171 if (!details.HasKey(kTabIdKey)) { in RunImpl()
Dextension_proxy_api_helpers.cc85 if (pac_dict->HasKey(keys::kProxyConfigPacScriptUrl) && in GetPacUrlFromExtensionPref()
108 if (pac_dict->HasKey(keys::kProxyConfigPacScriptData) && in GetPacDataFromExtensionPref()
261 if (!proxy_rules->HasKey(keys::kProxyConfigBypassList)) { in GetBypassListFromExtensionPref()
Dextension_history_api.cc271 if (json->HasKey(keys::kStartTimeKey)) { // Optional. in RunAsyncImpl()
276 if (json->HasKey(keys::kEndTimeKey)) { // Optional. in RunAsyncImpl()
281 if (json->HasKey(keys::kMaxResultsKey)) { // Optional. in RunAsyncImpl()
Dextension_page_actions_module.cc52 if (action->HasKey(keys::kTitleKey)) in SetPageActionEnabled()
54 if (action->HasKey(keys::kIconIdKey)) { in SetPageActionEnabled()
Dextension_preference_api.cc295 if (details->HasKey(kIncognito)) in RunImpl()
348 if (details->HasKey(kIncognito)) in RunImpl()
394 if (details->HasKey(kIncognito)) in RunImpl()
Dextension_omnibox_api.cc127 if (suggestion_value->HasKey(kSuggestionDescriptionStyles)) { in RunImpl()
154 if (suggestion_value->HasKey(kSuggestionDescriptionStyles)) { in RunImpl()
Dextension_browser_actions_api.cc27 if (details_->HasKey("tabId")) in RunImpl()
Dextension_bookmarks_module.cc436 if (!json->HasKey(keys::kParentIdKey)) { in RunImpl()
457 if (!json->HasKey(keys::kIndexKey)) { // Optional (defaults to end). in RunImpl()
532 if (!destination->HasKey(keys::kParentIdKey)) { in RunImpl()
556 if (destination->HasKey(keys::kIndexKey)) { // Optional (defaults to end). in RunImpl()
667 if (json->HasKey(keys::kParentIdKey)) { in GetBucketsForArgs()
/external/chromium/chrome/browser/
Dbackground_page_tracker.cc227 if (!contents->HasKey((*iter)->id())) { in UpdateExtensionList()
246 if (!contents->HasKey(application_id)) { in UpdateExtensionList()
273 if (contents->HasKey(id)) in OnBackgroundPageLoaded()
288 if (!contents->HasKey(id)) in OnExtensionUnloaded()
/external/chromium/chrome/browser/automation/
Dautomation_util.cc289 if (cookie_dict->HasKey("domain") && in SetCookieJSON()
294 if (cookie_dict->HasKey("path") && in SetCookieJSON()
299 if (cookie_dict->HasKey("secure") && in SetCookieJSON()
304 if (cookie_dict->HasKey("expiry")) { in SetCookieJSON()
313 if (cookie_dict->HasKey("http_only") && in SetCookieJSON()
/external/chromium/base/
Dvalues_unittest.cc278 EXPECT_TRUE(dict.HasKey(key)); in TEST_F()
281 EXPECT_FALSE(dict.HasKey(key)); in TEST_F()
293 EXPECT_TRUE(dict.HasKey(key)); in TEST_F()
296 EXPECT_FALSE(dict.HasKey(key)); in TEST_F()
305 EXPECT_FALSE(dict.HasKey("this.is.expanded")); in TEST_F()
306 EXPECT_TRUE(dict.HasKey("this")); in TEST_F()
314 EXPECT_TRUE(dict.HasKey("this.isnt.expanded")); in TEST_F()
/external/chromium/chrome/browser/sync/syncable/
Dmodel_type_payload_map_unittest.cc34 EXPECT_FALSE(value->HasKey("Preferences")); in TEST_F()
/external/chromium/chrome/browser/sync/
Dsync_ui_util_unittest.cc40 EXPECT_TRUE(strings.HasKey("unrecoverable_error_detected")); in TEST()
/external/chromium/chrome/browser/chromeos/login/
Dsigned_settings_temp_storage.cc46 if (temp_storage && temp_storage->HasKey(name)) { in Retrieve()
/external/chromium/chrome/browser/prefs/
Dproxy_config_dictionary.cc53 return dict_->HasKey(kProxyBypassList); in HasBypassList()
/external/chromium/chrome/browser/debugger/
Ddevtools_remote_service.cc49 if (!json->HasKey(kCommandKey)) { in HandleMessage()

12