Lines Matching refs:defaults
114 static HashMap<String, String>& defaults = *new HashMap<String, String>;
115 if (defaults.isEmpty()) {
116 #define DEFINE_STRING_DEFAULTS(KeyUpper, KeyLower, TypeName, Type, DefaultValue) defaults.set(WebPreferencesKey::KeyLower##Key(), DefaultValue);
121 return defaults.get(key);
127 static HashMap<String, bool>& defaults = *new HashMap<String, bool>;
128 if (defaults.isEmpty()) {
129 #define DEFINE_BOOL_DEFAULTS(KeyUpper, KeyLower, TypeName, Type, DefaultValue) defaults.set(WebPreferencesKey::KeyLower##Key(), DefaultValue);
134 return defaults.get(key);
140 static HashMap<String, uint32_t>& defaults = *new HashMap<String, uint32_t>;
141 if (defaults.isEmpty()) {
142 #define DEFINE_UINT32_DEFAULTS(KeyUpper, KeyLower, TypeName, Type, DefaultValue) defaults.set(WebPreferencesKey::KeyLower##Key(), DefaultValue);
147 return defaults.get(key);
153 static HashMap<String, double>& defaults = *new HashMap<String, double>;
154 if (defaults.isEmpty()) {
155 #define DEFINE_DOUBLE_DEFAULTS(KeyUpper, KeyLower, TypeName, Type, DefaultValue) defaults.set(WebPreferencesKey::KeyLower##Key(), DefaultValue);
160 return defaults.get(key);