/external/chromium_org/base/prefs/ |
H A D | pref_member.cc | 46 // Add ourselves as a pref observer so we can keep our local value in sync. 75 const PrefService::Preference* pref = local 77 DCHECK(pref); 80 internal()->UpdateValue(pref->GetValue()->DeepCopy(), 81 pref->IsManaged(), 82 pref->IsUserModifiable(),
|
H A D | pref_member_unittest.cc | 34 GetPrefValueHelper() : value_(false), pref_thread_("pref thread") { 122 // Try changing back through the pref. 143 // Try changing back through the pref. 164 // Try changing back through the pref. 185 // Try changing back through the pref. 202 // Try changing through the pref member. 211 // Try adding through the pref. 220 // Try removing through the pref. 281 // Changing the pref does fire the observer. 298 IntegerPrefMember pref; local [all...] |
/external/chromium_org/chrome/browser/chromeos/policy/ |
H A D | device_cloud_policy_manager_chromeos.cc | 129 const PrefService::Preference* pref = local_state_->FindPreference( local 131 if (!pref->IsDefaultValue()) 132 pref->GetValue()->GetAsString(&requisition); 237 const PrefService::Preference* pref = local_state_->FindPreference( local 239 if (pref->IsDefaultValue()) {
|
H A D | login_screen_default_policy_browsertest.cc | 202 const PrefService::Preference* pref = local 204 ASSERT_TRUE(pref); 205 EXPECT_FALSE(pref->IsManaged()); 206 EXPECT_FALSE(pref->IsDefaultValue()); 207 EXPECT_TRUE(base::Value::Equals(&recommended_value, pref->GetValue())); 209 pref->GetRecommendedValue())); 228 const PrefService::Preference* pref = local 230 ASSERT_TRUE(pref); 231 EXPECT_FALSE(pref->IsManaged()); 232 EXPECT_TRUE(pref [all...] |
H A D | recommendation_restorer_unittest.cc | 170 const PrefServiceSyncable::Preference* pref = local 172 ASSERT_TRUE(pref); 173 EXPECT_TRUE(pref->HasUserSetting()); 174 const base::Value* value = pref->GetValue(); 197 const PrefServiceSyncable::Preference* pref = local 199 ASSERT_TRUE(pref); 200 EXPECT_TRUE(pref->IsRecommended()); 201 EXPECT_FALSE(pref->HasUserSetting()); 202 const base::Value* value = pref->GetValue();
|
/external/chromium_org/chrome/browser/chromeos/settings/ |
H A D | cros_settings_unittest.cc | 46 void FetchPref(const std::string& pref) { argument 48 if (expected_props_.find(pref) == expected_props_.end()) 54 weak_factory_.GetWeakPtr(), pref))) { 56 expected_props_.find(pref)->second); 57 const base::Value* pref_value = settings_.GetPref(pref); 64 expected_props_.erase(pref);
|
/external/chromium_org/chrome/browser/extensions/api/preference/ |
H A D | preference_helpers.cc | 63 const PrefService::Preference* pref = local 65 CHECK(pref); 67 if (!pref->IsExtensionModifiable()) 116 // a) incognito pref changes are visible only to the incognito tabs 117 // b) regular pref changes are visible only to the incognito tabs if the 118 // incognito pref has not alredy been set
|
/external/chromium_org/chrome/browser/external_protocol/ |
H A D | external_protocol_handler.cc | 221 PrefService* pref = g_browser_process->local_state(); local 222 if (pref) { // May be NULL during testing. 223 DictionaryPrefUpdate update_excluded_schemas(pref, prefs::kExcludedSchemes); 242 PrefService* pref = g_browser_process->local_state(); local 243 if (pref) { // May be NULL during testing. 244 DictionaryPrefUpdate update_excluded_schemas(pref, prefs::kExcludedSchemes);
|
/external/chromium_org/chrome/browser/metrics/ |
H A D | chrome_stability_metrics_provider.cc | 39 PrefService* pref = g_browser_process->local_state(); local 40 DCHECK(pref); 41 int value = pref->GetInteger(path); 42 pref->SetInteger(path, value + 1); 46 PrefService* pref = g_browser_process->local_state(); local 47 DCHECK(pref); 48 int64 value = pref->GetInt64(path); 49 pref->SetInt64(path, value + 1); 94 PrefService* pref = g_browser_process->local_state(); local 98 int count = pref [all...] |
/external/chromium_org/chrome/browser/prefs/ |
H A D | pref_model_associator_unittest.cc | 37 const PrefService::Preference* pref = local 39 ASSERT_TRUE(pref); 40 base::Value::Type type = pref->GetType(); 77 const PrefService::Preference* pref = local 81 PrefModelAssociator::MergePreference(pref->name(), 82 *pref->GetValue(), 89 const PrefService::Preference* pref = local 92 PrefModelAssociator::MergePreference(pref->name(), 93 *pref->GetValue(), 106 const PrefService::Preference* pref local 125 const PrefService::Preference* pref = local 144 const PrefService::Preference* pref = local 168 const PrefService::Preference* pref = local 191 const PrefService::Preference* pref = local 226 const PrefService::Preference* pref = local 244 const PrefService::Preference* pref = local 264 const PrefService::Preference* pref = local 374 MergeListPreference(const char* pref) argument 392 MergeDictionaryPreference(const char* pref) argument [all...] |
/external/chromium_org/chrome/browser/spellchecker/ |
H A D | spelling_service_client.cc | 59 const PrefService* pref = user_prefs::UserPrefs::Get(context); local 60 DCHECK(pref); 65 pref->GetString(prefs::kSpellCheckDictionary), 106 const PrefService* pref = user_prefs::UserPrefs::Get(context); local 107 DCHECK(pref); 110 if (!pref->GetBoolean(prefs::kEnableContinuousSpellcheck) || 111 !pref->GetBoolean(prefs::kSpellCheckUseSpellingService) || 117 std::string locale = pref->GetString(prefs::kSpellCheckDictionary);
|
/external/chromium_org/chrome/browser/ui/views/apps/ |
H A D | glass_app_window_frame_view_win.cc | 108 gfx::Size pref = widget_->client_view()->GetPreferredSize(); local 109 gfx::Rect bounds(0, 0, pref.width(), pref.height());
|
/external/chromium_org/chrome/browser/ui/views/bookmarks/ |
H A D | bookmark_bar_instructions_view.cc | 55 gfx::Size pref = view->GetPreferredSize(); local 59 descent = std::max(descent, pref.height() - baseline); 61 height = std::max(pref.height(), height); 63 width += pref.width(); 76 gfx::Size pref = view->GetPreferredSize(); local 82 y = (height() - pref.height()) / 2; 83 int view_width = std::min(remaining_width, pref.width()); 84 view->SetBounds(x, y, view_width, pref.height());
|
/external/chromium_org/chrome/browser/ui/webui/translate_internals/ |
H A D | translate_internals_handler.cc | 204 const PrefService::Preference* pref = prefs->FindPreference(key.c_str()); local 205 if (pref) 206 dict.Set(key, pref->GetValue()->DeepCopy());
|
/external/chromium_org/third_party/libxslt/libxslt/ |
H A D | namespaces.c | 584 xmlChar pref[30]; local 592 snprintf((char *) pref, 30, "%s_%d", nsPrefix, counter++); 593 ns = xmlSearchNs(target->doc, target, BAD_CAST pref); 602 ns = xmlNewNs(target, nsName, BAD_CAST pref);
|
/external/chromium_org/ui/views/layout/ |
H A D | grid_layout_unittest.cc | 23 explicit SettableSizeView(const gfx::Size& pref) { argument 24 pref_ = pref; 64 pref = layout.GetPreferredSize(&host); 67 gfx::Size pref; member in class:views::GridLayoutTest 89 gfx::Size pref = layout.GetPreferredSize(&host); local 90 EXPECT_EQ(gfx::Size(10, 20), pref); 139 EXPECT_EQ(gfx::Size(30, 20), pref); 141 host.SetBounds(0, 0, pref.width(), pref.height()); 163 EXPECT_EQ(gfx::Size(100, 60), pref); 298 gfx::Size pref = layout.GetPreferredSize(&host); local [all...] |
/external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/message/ |
H A D | OptionsMessage.java | 82 public void setProtocolRolePreference(ProtocolRole pref) { argument 83 mProtocolRolePreference = pref; 189 ret.append(" pref=" + mProtocolRolePreference);
|
/external/chromium_org/apps/ui/views/ |
H A D | app_window_frame_view.cc | 240 gfx::Size pref = widget_->client_view()->GetPreferredSize(); local 241 gfx::Rect bounds(0, 0, pref.width(), pref.height());
|
/external/chromium_org/athena/activity/ |
H A D | activity_frame_view.cc | 123 gfx::Size pref = frame_->client_view()->GetPreferredSize(); local 124 gfx::Rect bounds(0, 0, pref.width(), pref.height());
|
/external/chromium_org/chrome/browser/background/ |
H A D | background_contents_service_unittest.cc | 54 // Returns the stored pref URL for the passed app id. 56 const base::DictionaryValue* pref = GetPrefs(profile); local 57 EXPECT_TRUE(pref->HasKey(base::UTF16ToUTF8(appid))); 59 pref->GetDictionaryWithoutPathExpansion(base::UTF16ToUTF8(appid), &value);
|
/external/chromium_org/chrome/browser/content_settings/ |
H A D | content_settings_policy_provider.cc | 258 const PrefService::Preference* pref = prefs_->FindPreference(pref_name); local 259 DCHECK(pref); 260 DCHECK(pref->IsManaged()); 263 if (!pref->GetValue()->GetAsList(&pattern_str_list)) { 309 const PrefService::Preference* pref = prefs_->FindPreference(pref_name); local 310 DCHECK(pref); 311 DCHECK(pref->IsManaged()); 314 if (!pref->GetValue()->GetAsList(&pattern_filter_str_list)) { 395 // If a pref to manage a default-content-setting was not set (NOTICE: 396 // "HasPrefPath" returns false if no value was set for a registered pref) the [all...] |
/external/chromium_org/chrome/browser/extensions/api/font_settings/ |
H A D | font_settings_api.cc | 70 // for the system locale, but the pref value may be in the English name. 158 const PrefService::Preference* pref = registrar_.prefs()->FindPreference( local 160 CHECK(pref); 163 if (!pref->GetValue()->GetAsString(&font_name)) { 189 const PrefService::Preference* pref = registrar_.prefs()->FindPreference( local 191 CHECK(pref); 196 dict->Set(key, pref->GetValue()->DeepCopy()); 236 // Ensure |pref_path| really is for a registered per-script font pref. 254 const PrefService::Preference* pref = local 259 pref 359 const PrefService::Preference* pref = prefs->FindPreference(GetPrefName()); local [all...] |
/external/chromium_org/chrome/browser/extensions/api/media_galleries_private/ |
H A D | gallery_watch_state_tracker.cc | 121 void GalleryWatchStateTracker::OnGalleryRemoved(MediaGalleriesPreferences* pref, argument 128 RemoveGalleryWatch(it->first, gallery_id, pref);
|
/external/chromium_org/chrome/browser/extensions/error_console/ |
H A D | error_console.cc | 269 int pref = 0; local 270 if (prefs_->ReadPrefAsInteger(extension_id, kStoreExtensionErrorsPref, &pref)) 271 return pref;
|
/external/chromium_org/chrome/browser/extensions/ |
H A D | extension_management_test_util.cc | 115 void ExtensionManagementPrefUpdaterBase::SetPref(base::DictionaryValue* pref) { argument 116 pref_.reset(pref);
|