Searched defs:setting (Results 1 - 25 of 78) sorted by relevance

1234

/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
H A Dapi_misc.c34 VGint setting)
45 if (setting < VG_sRGBX_8888 ||
46 setting > VG_lABGR_8888_PRE) {
51 if (setting < VG_PATH_DATATYPE_S_8 ||
52 setting > VG_PATH_DATATYPE_F) {
33 vegaHardwareQuery(VGHardwareQueryType key, VGint setting) argument
/external/mesa3d/src/gallium/state_trackers/vega/
H A Dapi_misc.c34 VGint setting)
45 if (setting < VG_sRGBX_8888 ||
46 setting > VG_lABGR_8888_PRE) {
51 if (setting < VG_PATH_DATATYPE_S_8 ||
52 setting > VG_PATH_DATATYPE_F) {
33 vegaHardwareQuery(VGHardwareQueryType key, VGint setting) argument
/external/chromium_org/chrome/browser/policy/
H A Djavascript_policy_handler.cc53 int setting = CONTENT_SETTING_DEFAULT; local
58 default_setting->GetAsInteger(&setting);
66 setting = CONTENT_SETTING_BLOCK;
70 if (setting != CONTENT_SETTING_DEFAULT)
71 prefs->SetInteger(prefs::kManagedDefaultJavaScriptSetting, setting);
/external/chromium_org/chrome/browser/renderer_host/pepper/
H A Dpepper_broker_message_filter.cc65 ContentSetting setting = local
70 if (setting == CONTENT_SETTING_ALLOW)
/external/chromium_org/chrome/browser/ui/website_settings/
H A Dpermission_menu_model.cc53 ContentSetting setting,
56 DCHECK(setting == CONTENT_SETTING_ALLOW || setting == CONTENT_SETTING_BLOCK);
58 permission_.setting = setting;
69 return permission_.setting == command_id;
84 permission_.setting = static_cast<ContentSetting>(command_id);
52 PermissionMenuModel(const GURL& url, ContentSetting setting, const ChangeCallback& callback) argument
H A Dwebsite_settings_ui.h66 ContentSetting setting; member in struct:WebsiteSettingsUI::PermissionInfo
123 ContentSetting setting,
127 // Returns the icon resource ID for the given permission |type| and |setting|.
129 ContentSetting setting);
132 // setting is CONTENT_SETTING_DEFAULT, it will return the icon for |info|'s
133 // default setting.
/external/chromium_org/components/content_settings/core/common/
H A Dcontent_settings.cc16 ContentSetting setting,
21 setting(setting),
26 : setting(CONTENT_SETTING_DEFAULT), incognito(false) {
13 ContentSettingPatternSource( const ContentSettingsPattern& primary_pattern, const ContentSettingsPattern& secondary_pattern, ContentSetting setting, const std::string& source, bool incognito) argument
H A Dcontent_settings.h31 ContentSetting setting,
37 ContentSetting setting; member in struct:ContentSettingPatternSource
65 // |SettingInfo| provides meta data for content setting values. |source|
/external/chromium_org/chrome/browser/content_settings/
H A Dpermission_context_base_unittest.cc105 ContentSetting setting = local
109 EXPECT_EQ(CONTENT_SETTING_ALLOW , setting);
136 ContentSetting setting = local
140 EXPECT_EQ(CONTENT_SETTING_ASK , setting);
H A Dcontent_settings_internal_extension_provider.cc165 ContentSetting setting) {
167 extension, ResourceIdentifier(), setting);
173 ContentSetting setting) {
184 if (setting == CONTENT_SETTING_DEFAULT) {
194 new base::FundamentalValue(setting));
163 SetContentSettingForExtension( const extensions::Extension* extension, ContentSetting setting) argument
170 SetContentSettingForExtensionAndResource( const extensions::Extension* extension, const ResourceIdentifier& resource, ContentSetting setting) argument
H A Dcookie_settings.cc32 bool IsValidSetting(ContentSetting setting) { argument
33 return (setting == CONTENT_SETTING_ALLOW ||
34 setting == CONTENT_SETTING_SESSION_ONLY ||
35 setting == CONTENT_SETTING_BLOCK);
38 bool IsAllowed(ContentSetting setting) { argument
39 DCHECK(IsValidSetting(setting));
40 return (setting == CONTENT_SETTING_ALLOW ||
41 setting == CONTENT_SETTING_SESSION_ONLY);
117 ContentSetting setting = GetCookieSetting(url, first_party_url, false, NULL); local
118 return IsAllowed(setting);
123 ContentSetting setting = GetCookieSetting(url, first_party_url, true, NULL); local
128 ContentSetting setting = GetCookieSetting(origin, origin, true, NULL); local
139 SetDefaultCookieSetting(ContentSetting setting) argument
145 SetCookieSetting( const ContentSettingsPattern& primary_pattern, const ContentSettingsPattern& secondary_pattern, ContentSetting setting) argument
[all...]
H A Dcontent_settings_policy_provider.cc61 ContentSetting setting; member in struct:__anon3513::PrefsForManagedContentSettingsMapEntry
156 // Preferences for default content setting policies. If a policy is not set of
218 // setting is managed and to hold the managed default setting value. If the
220 // default content setting is managed. These preferences exist in parallel to
295 kPrefsForManagedContentSettingsMap[i].setting));
346 VLOG(1) << "Ignoring invalid certificate auto select setting. Reason:"
360 VLOG(1) << "Ignoring invalid certificate auto select setting. Reason:"
369 VLOG(1) << "Ignoring invalid certificate auto select setting:"
395 // If a pref to manage a default-content-setting wa
405 int setting = prefs_->GetInteger(kPrefToManageType[content_type]); local
[all...]
H A Dcontent_settings_utils.cc79 std::string ContentSettingToString(ContentSetting setting) { argument
80 switch (setting) {
108 NOTREACHED() << name << " is not a recognized content setting.";
152 ContentSetting setting = CONTENT_SETTING_DEFAULT; local
153 bool valid = ParseContentSettingValue(value, &setting);
155 return setting;
159 ContentSetting* setting) {
161 *setting = CONTENT_SETTING_DEFAULT;
167 *setting = IntToContentSetting(int_value);
168 return *setting !
158 ParseContentSettingValue(const base::Value* value, ContentSetting* setting) argument
[all...]
H A Dtab_specific_content_settings.h252 // Set whether the setting for the pending handler is DEFAULT (ignore),
254 void set_pending_protocol_handler_setting(ContentSetting setting) { argument
255 pending_protocol_handler_setting_ = setting;
371 // Stores which content setting types actually have blocked content.
377 // Stores which content setting types actually were allowed.
404 // The setting on the pending protocol handler registration. Persisted in case
/external/chromium_org/chrome/browser/extensions/api/content_settings/
H A Dcontent_settings_api.cc151 ContentSetting setting; local
153 // TODO(jochen): Do we return the value for setting or for reading cookies?
155 setting = cookie_settings->GetCookieSetting(primary_url, secondary_url,
158 setting = map->GetContentSetting(primary_url, secondary_url, content_type,
164 helpers::ContentSettingToString(setting));
205 params->details.setting->GetAsString(&setting_str));
206 ContentSetting setting; local
208 helpers::StringToContentSetting(setting_str, &setting));
210 GetProfile()->GetPrefs(), setting, content_type));
245 resource_identifier, setting, scop local
[all...]
H A Dcontent_settings_helpers.cc132 ContentSetting* setting) {
135 *setting = static_cast<ContentSetting>(type);
142 const char* ContentSettingToString(ContentSetting setting) { argument
143 size_t index = static_cast<size_t>(setting);
131 StringToContentSetting(const std::string& setting_str, ContentSetting* setting) argument
H A Dcontent_settings_store_unittest.cc23 ContentSetting setting) {
26 EXPECT_EQ(setting, content_settings::ValueToContentSetting(rule.value.get()));
57 scoped_ptr<base::Value> setting(
60 return content_settings::ValueToContentSetting(setting.get());
124 // Set setting
165 // Unregister first extension. This shouldn't change the setting.
177 // Unregister second extension. This should reset the setting to its default
20 CheckRule(const content_settings::Rule& rule, const ContentSettingsPattern& primary_pattern, const ContentSettingsPattern& secondary_pattern, ContentSetting setting) argument
/external/chromium_org/chrome/browser/ui/android/content_settings/
H A Dpopup_blocked_infobar_delegate.cc65 scoped_ptr<base::Value> setting = map->GetWebsiteSetting( local
/external/chromium_org/chrome/browser/ui/content_settings/
H A Dcontent_setting_bubble_model_unittest.cc166 ContentSetting setting = CONTENT_SETTING_BLOCK; local
172 setting);
178 setting);
197 // setting.
220 // Change the radio setting.
223 // Test that the media setting were change correctly.
/external/chromium_org/google_apis/gcm/engine/
H A Dgservices_settings_unittest.cc37 checkin_proto::GservicesSetting* setting = checkin_response.add_setting(); local
38 setting->set_name(iter->first);
39 setting->set_value(iter->second);
311 // Default setting overwritten by settings diff.
315 // Setting up diff removing some of the values (including default setting).
331 // Default setting back to norm.
/external/smack/src/org/jivesoftware/smackx/workgroup/settings/
H A DChatSettings.java68 public void addSetting(ChatSetting setting) { argument
69 settings.add(setting);
142 if ((eventType == XmlPullParser.START_TAG) && ("chat-setting".equals(parser.getName()))) {
171 else if (eventType == XmlPullParser.END_TAG && "chat-setting".equals(parser.getName())) {
/external/chromium_org/chrome/browser/
H A Dpepper_broker_infobar_delegate.cc48 ContentSetting setting = local
53 if (setting == CONTENT_SETTING_ASK) {
66 bool allowed = (setting == CONTENT_SETTING_ALLOW);
/external/chromium_org/chrome/browser/prefs/
H A Dpref_model_associator_unittest.cc22 int setting) {
32 content_type, new base::FundamentalValue(setting));
19 SetContentPattern(base::DictionaryValue* patterns_dict, const std::string& expression, const std::string& content_type, int setting) argument
/external/chromium_org/chrome/browser/supervised_user/
H A Dsupervised_user_shared_settings_service_unittest.cc107 const sync_pb::ManagedUserSharedSettingSpecifics& setting = local
110 setting.value(),
111 ToJson(settings_service_.GetValue(setting.mu_id(), setting.key())));
/external/chromium_org/chrome/browser/ui/webui/options/
H A Dpepper_flash_content_settings_utils.cc84 ContentSetting setting = FlashPermissionToContentSetting(iter->permission); local
86 media_exceptions->push_back(MediaException(pattern, setting, setting));

Completed in 766 milliseconds

1234