Home
last modified time | relevance | path

Searched refs:default_setting (Results 1 – 23 of 23) sorted by relevance

/external/chromium_org/chrome/browser/policy/
Djavascript_policy_handler.cc26 const base::Value* default_setting = in CheckPolicySettings() local
36 if (default_setting && !default_setting->IsType(base::Value::TYPE_INTEGER)) { in CheckPolicySettings()
42 if (javascript_enabled && default_setting) { in CheckPolicySettings()
54 const base::Value* default_setting = in ApplyPolicySettings() local
57 if (default_setting) { in ApplyPolicySettings()
58 default_setting->GetAsInteger(&setting); in ApplyPolicySettings()
/external/chromium_org/chrome/browser/ui/gtk/website_settings/
Dpermission_selector.cc44 ContentSetting default_setting, in PermissionSelector() argument
50 default_setting_(default_setting), in PermissionSelector()
52 DCHECK_NE(default_setting, CONTENT_SETTING_DEFAULT); in PermissionSelector()
61 effective_setting = default_setting; in PermissionSelector()
83 setting, default_setting, source)), in PermissionSelector()
106 menu_model_.reset(new PermissionMenuModel(this, url, type, default_setting, in PermissionSelector()
Dpermission_selector.h36 ContentSetting default_setting,
Dwebsite_settings_popup_gtk.cc595 permission->default_setting, in SetPermissionInfo()
/external/chromium/chrome/common/
Dcontent_settings.h33 explicit ContentSettings(ContentSetting default_setting) { in ContentSettings()
35 settings[i] = default_setting; in ContentSettings()
/external/chromium_org/chrome/browser/ui/views/website_settings/
Dpermission_selector_view.cc153 ContentSetting default_setting, in PermissionSelectorView() argument
159 default_setting_(default_setting), in PermissionSelectorView()
190 setting = default_setting; in PermissionSelectorView()
210 this, url, type, default_setting, current_setting)); in PermissionSelectorView()
214 default_setting, in PermissionSelectorView()
Dpermission_selector_view.h36 ContentSetting default_setting,
Dwebsite_settings_popup_view.cc478 permission->default_setting, in SetPermissionInfo()
/external/chromium/chrome/browser/ui/webui/options/
Dcontent_settings_handler.cc359 ContentSetting default_setting; in GetSettingDefaultFromModel() local
361 default_setting = web_ui_->GetProfile()-> in GetSettingDefaultFromModel()
364 default_setting = DesktopNotificationServiceFactory::GetForProfile( in GetSettingDefaultFromModel()
367 default_setting = GetContentSettingsMap()->GetDefaultContentSetting(type); in GetSettingDefaultFromModel()
370 return ContentSettingToString(default_setting); in GetSettingDefaultFromModel()
573 ContentSetting default_setting = ContentSettingFromString(setting); in SetContentFilter() local
577 SetDefaultContentSetting(default_setting); in SetContentFilter()
580 SetDefaultContentSetting(default_setting); in SetContentFilter()
583 SetDefaultContentSetting(content_type, default_setting); in SetContentFilter()
/external/chromium_org/chrome/browser/ui/website_settings/
Dpermission_menu_model.cc14 ContentSetting default_setting, in PermissionMenuModel() argument
20 switch (default_setting) { in PermissionMenuModel()
Dwebsite_settings_ui.h68 ContentSetting default_setting; member
114 ContentSetting default_setting,
Dwebsite_settings_ui.cc79 default_setting(CONTENT_SETTING_DEFAULT), in PermissionInfo()
156 ContentSetting default_setting, in PermissionActionToUIString() argument
160 effective_setting = default_setting; in PermissionActionToUIString()
Dpermission_menu_model.h34 ContentSetting default_setting,
Dwebsite_settings.cc593 permission_info.default_setting = permission_info.setting; in PresentSitePermissions()
596 permission_info.default_setting = in PresentSitePermissions()
/external/chromium_org/chrome/browser/ui/webui/options/
Dcontent_settings_handler.cc263 default_setting(CONTENT_SETTING_DEFAULT), in MediaSettingsInfo()
595 media_settings_.default_setting = in UpdateMediaSettingsView()
655 ContentSetting default_setting; in GetSettingDefaultFromModel() local
657 default_setting = in GetSettingDefaultFromModel()
661 default_setting = in GetSettingDefaultFromModel()
666 return ContentSettingToString(default_setting); in GetSettingDefaultFromModel()
1176 ContentSetting default_setting) { in ApplyWhitelist() argument
1192 default_setting == CONTENT_SETTING_ASK) { in ApplyWhitelist()
1213 ContentSetting default_setting = ContentSettingFromString(setting); in SetContentFilter() local
1226 SetDefaultContentSetting(default_setting); in SetContentFilter()
[all …]
Dcontent_settings_handler.h71 ContentSetting default_setting; member
157 ContentSetting default_setting);
/external/chromium_org/chrome/browser/notifications/
Dmessage_center_settings_controller.cc311 ContentSetting default_setting = in SetNotifierEnabled() local
313 DCHECK(default_setting == CONTENT_SETTING_ALLOW || in SetNotifierEnabled()
314 default_setting == CONTENT_SETTING_BLOCK || in SetNotifierEnabled()
315 default_setting == CONTENT_SETTING_ASK); in SetNotifierEnabled()
316 if ((enabled && default_setting != CONTENT_SETTING_ALLOW) || in SetNotifierEnabled()
317 (!enabled && default_setting == CONTENT_SETTING_ALLOW)) { in SetNotifierEnabled()
/external/chromium/chrome/browser/geolocation/
Dgeolocation_settings_state.cc56 const ContentSetting default_setting = in GetDetailedInfo() local
87 if (saved_setting != default_setting) in GetDetailedInfo()
/external/chromium_org/chrome/browser/content_settings/
Dcontent_settings_usages_state.cc61 ContentSetting default_setting = in GetDetailedInfo() local
93 if (saved_setting != default_setting) in GetDetailedInfo()
Dhost_content_settings_map.cc191 ContentSetting default_setting = in GetDefaultContentSetting() local
193 if (default_setting != CONTENT_SETTING_DEFAULT) { in GetDefaultContentSetting()
196 return default_setting; in GetDefaultContentSetting()
455 ContentSetting default_setting = GetDefaultContentSettingFromProvider( in MigrateObsoleteClearOnExitPref() local
458 if (default_setting == CONTENT_SETTING_ALLOW) { in MigrateObsoleteClearOnExitPref()
/external/chromium_org/chrome/browser/profile_resetter/
Dprofile_resetter_unittest.cc376 ContentSetting default_setting = in TEST_F() local
379 default_settings[content_type] = default_setting; in TEST_F()
381 default_setting == CONTENT_SETTING_BLOCK ? CONTENT_SETTING_ALLOW in TEST_F()
384 default_setting == CONTENT_SETTING_ALLOW ? CONTENT_SETTING_ALLOW in TEST_F()
428 ContentSetting default_setting = in TEST_F() local
432 EXPECT_EQ(default_settings[content_type], default_setting); in TEST_F()
440 EXPECT_EQ(default_setting, site_setting); in TEST_F()
/external/chromium_org/chrome/browser/ui/cocoa/
Dwebsite_settings_bubble_controller.mm889 permissionInfo.default_setting))];
898 permissionInfo.default_setting,
910 permissionInfo.default_setting,
956 permissionInfo.default_setting : permissionInfo.setting;
Dwebsite_settings_bubble_controller_unittest.mm220 info.default_setting = kTestDefaultSettings[i];