Home
last modified time | relevance | path

Searched refs:preferences (Results 1 – 25 of 131) sorted by relevance

123456

/external/webkit/Source/WebKit2/UIProcess/API/C/
DWKPreferences.h45 WK_EXPORT void WKPreferencesSetJavaScriptEnabled(WKPreferencesRef preferences, bool javaScriptEnabl…
46 WK_EXPORT bool WKPreferencesGetJavaScriptEnabled(WKPreferencesRef preferences);
49 WK_EXPORT void WKPreferencesSetLoadsImagesAutomatically(WKPreferencesRef preferences, bool loadsIma…
50 WK_EXPORT bool WKPreferencesGetLoadsImagesAutomatically(WKPreferencesRef preferences);
53 …rencesSetLoadsSiteIconsIgnoringImageLoadingPreference(WKPreferencesRef preferences, bool loadsSite…
54 …RT bool WKPreferencesGetLoadsSiteIconsIgnoringImageLoadingPreference(WKPreferencesRef preferences);
57 WK_EXPORT void WKPreferencesSetOfflineWebApplicationCacheEnabled(WKPreferencesRef preferences, bool…
58 WK_EXPORT bool WKPreferencesGetOfflineWebApplicationCacheEnabled(WKPreferencesRef preferences);
61 WK_EXPORT void WKPreferencesSetLocalStorageEnabled(WKPreferencesRef preferences, bool localStorageE…
62 WK_EXPORT bool WKPreferencesGetLocalStorageEnabled(WKPreferencesRef preferences);
[all …]
DWKPreferencesPrivate.h92 WK_EXPORT void WKPreferencesSetForceFTPDirectoryListings(WKPreferencesRef preferences, bool force);
93 WK_EXPORT bool WKPreferencesGetForceFTPDirectoryListings(WKPreferencesRef preferences);
96 WK_EXPORT void WKPreferencesSetFTPDirectoryTemplatePath(WKPreferencesRef preferences, WKStringRef p…
97 WK_EXPORT WKStringRef WKPreferencesCopyFTPDirectoryTemplatePath(WKPreferencesRef preferences);
100 WK_EXPORT void WKPreferencesSetWebArchiveDebugModeEnabled(WKPreferencesRef preferences, bool enable…
101 WK_EXPORT bool WKPreferencesGetWebArchiveDebugModeEnabled(WKPreferencesRef preferences);
104 WK_EXPORT void WKPreferencesSetLocalFileContentSniffingEnabled(WKPreferencesRef preferences, bool e…
105 WK_EXPORT bool WKPreferencesGetLocalFileContentSniffingEnabled(WKPreferencesRef preferences);
108 WK_EXPORT void WKPreferencesSetPageCacheEnabled(WKPreferencesRef preferences, bool enabled);
109 WK_EXPORT bool WKPreferencesGetPageCacheEnabled(WKPreferencesRef preferences);
[all …]
/external/webkit/Tools/DumpRenderTree/win/
DLayoutTestControllerWin.cpp146 COMPtr<IWebPreferences> preferences; in disableImageLoading() local
147 if (FAILED(webView->preferences(&preferences))) in disableImageLoading()
150 preferences->setLoadsImagesAutomatically(FALSE); in disableImageLoading()
366 COMPtr<IWebPreferences> preferences; in setAuthorAndUserStylesEnabled() local
367 if (FAILED(webView->preferences(&preferences))) in setAuthorAndUserStylesEnabled()
370 COMPtr<IWebPreferencesPrivate> prefsPrivate(Query, preferences); in setAuthorAndUserStylesEnabled()
471 COMPtr<IWebPreferences> preferences; in setPrivateBrowsingEnabled() local
472 if (FAILED(webView->preferences(&preferences))) in setPrivateBrowsingEnabled()
475 preferences->setPrivateBrowsingEnabled(privateBrowsingEnabled); in setPrivateBrowsingEnabled()
484 COMPtr<IWebPreferences> preferences; in setXSSAuditorEnabled() local
[all …]
DDumpRenderTree.cpp816 static void resetDefaultsToConsistentValues(IWebPreferences* preferences) in resetDefaultsToConsistentValues() argument
832 preferences->setStandardFontFamily(standardFamily); in resetDefaultsToConsistentValues()
833 preferences->setFixedFontFamily(fixedFamily); in resetDefaultsToConsistentValues()
834 preferences->setSerifFontFamily(standardFamily); in resetDefaultsToConsistentValues()
835 preferences->setSansSerifFontFamily(sansSerifFamily); in resetDefaultsToConsistentValues()
836 preferences->setCursiveFontFamily(cursiveFamily); in resetDefaultsToConsistentValues()
837 preferences->setFantasyFontFamily(fantasyFamily); in resetDefaultsToConsistentValues()
839 preferences->setAutosaves(FALSE); in resetDefaultsToConsistentValues()
840 preferences->setDefaultFontSize(16); in resetDefaultsToConsistentValues()
841 preferences->setDefaultFixedFontSize(13); in resetDefaultsToConsistentValues()
[all …]
/external/webkit/Tools/WebKitTestRunner/
DTestController.cpp357 WKPreferencesRef preferences = WKPageGroupGetPreferences(m_pageGroup.get()); in resetStateToConsistentValues() local
358 WKPreferencesSetOfflineWebApplicationCacheEnabled(preferences, true); in resetStateToConsistentValues()
359 WKPreferencesSetFontSmoothingLevel(preferences, kWKFontSmoothingLevelNoSubpixelAntiAliasing); in resetStateToConsistentValues()
360 WKPreferencesSetXSSAuditorEnabled(preferences, false); in resetStateToConsistentValues()
361 WKPreferencesSetDeveloperExtrasEnabled(preferences, true); in resetStateToConsistentValues()
362 WKPreferencesSetJavaScriptCanOpenWindowsAutomatically(preferences, true); in resetStateToConsistentValues()
363 WKPreferencesSetJavaScriptCanAccessClipboard(preferences, true); in resetStateToConsistentValues()
364 WKPreferencesSetDOMPasteAllowed(preferences, true); in resetStateToConsistentValues()
365 WKPreferencesSetUniversalAccessFromFileURLsAllowed(preferences, true); in resetStateToConsistentValues()
366 WKPreferencesSetFileAccessFromFileURLsAllowed(preferences, true); in resetStateToConsistentValues()
[all …]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/ui/
DPerformancesView.java22 import org.eclipse.core.runtime.preferences.IEclipsePreferences;
23 import org.eclipse.core.runtime.preferences.InstanceScope;
24 import org.eclipse.core.runtime.preferences.IEclipsePreferences.IPreferenceChangeListener;
25 import org.eclipse.core.runtime.preferences.IEclipsePreferences.PreferenceChangeEvent;
154 IEclipsePreferences preferences; field in PerformancesView
187 this.preferences = new InstanceScope().getNode(IPerformancesConstants.PLUGIN_ID); in PerformancesView()
190 …int eclipseVersion = this.preferences.getInt(IPerformancesConstants.PRE_ECLIPSE_VERSION, IPerforma… in PerformancesView()
191 …String databaseLocation = this.preferences.get(IPerformancesConstants.PRE_DATABASE_LOCATION, IPerf… in PerformancesView()
192 …boolean connected = this.preferences.getBoolean(IPerformancesConstants.PRE_DATABASE_CONNECTION, IP… in PerformancesView()
194 this.preferences.addPreferenceChangeListener(this); in PerformancesView()
[all …]
DComponentResultsView.java15 import org.eclipse.core.runtime.preferences.IEclipsePreferences;
16 import org.eclipse.core.runtime.preferences.InstanceScope;
17 import org.eclipse.core.runtime.preferences.IEclipsePreferences.IPreferenceChangeListener;
18 import org.eclipse.core.runtime.preferences.IEclipsePreferences.PreferenceChangeEvent;
105 IEclipsePreferences preferences; field in ComponentResultsView
114 this.preferences = new InstanceScope().getNode(IPerformancesConstants.PLUGIN_ID); in ComponentResultsView()
115 this.preferences.addPreferenceChangeListener(this); in ComponentResultsView()
116 Util.initMilestones(this.preferences); in ComponentResultsView()
260 …ComponentResultsView.this.preferences.putBoolean(IPerformancesConstants.PRE_FILTER_ADVANCED_SCENAR… in makeActions()
270 …ComponentResultsView.this.preferences.putBoolean(IPerformancesConstants.PRE_FILTER_OLD_BUILDS, isC… in makeActions()
[all …]
DPerformanceResultsPreferenceInitializer.java13 import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer;
14 import org.eclipse.core.runtime.preferences.DefaultScope;
15 import org.eclipse.core.runtime.preferences.IEclipsePreferences;
16 import org.eclipse.core.runtime.preferences.IScopeContext;
DBuildsView.java22 import org.eclipse.core.runtime.preferences.InstanceScope;
71 …String resultGenerationDir = BuildsView.this.preferences.get(IPerformancesConstants.PRE_RESULTS_GE… in run()
78 …BuildsView.this.preferences.put(IPerformancesConstants.PRE_RESULTS_GENERATION_DIR, dir.getAbsolute… in run()
296 this.preferences = new InstanceScope().getNode(IPerformancesConstants.PLUGIN_ID); in BuildsView()
297 this.preferences.addPreferenceChangeListener(this); in BuildsView()
462 …boolean connected = this.preferences.getBoolean(IPerformancesConstants.PRE_DATABASE_CONNECTION, IP… in makeActions()
489 …int eclipseVersion = this.preferences.getInt(IPerformancesConstants.PRE_ECLIPSE_VERSION, IPerforma… in resetView()
490 …boolean connected = this.preferences.getBoolean(IPerformancesConstants.PRE_DATABASE_CONNECTION, IP… in resetView()
491 …String databaseLocation = this.preferences.get(IPerformancesConstants.PRE_DATABASE_LOCATION, IPerf… in resetView()
492 String lastBuild = this.preferences.get(IPerformancesConstants.PRE_LAST_BUILD, null); in resetView()
DComponentsView.java23 import org.eclipse.core.runtime.preferences.InstanceScope;
24 import org.eclipse.core.runtime.preferences.IEclipsePreferences.PreferenceChangeEvent;
124 this.preferences = new InstanceScope().getNode(IPerformancesConstants.PLUGIN_ID); in ComponentsView()
127 …WRITE_STATUS = this.preferences.getInt(IPerformancesConstants.PRE_WRITE_STATUS, IPerformancesConst… in ComponentsView()
169 …boolean fingerprints = ComponentsView.this.preferences.getBoolean(IPerformancesConstants.PRE_FILTE… in createPartControl()
263 this.preferences.putBoolean(IPerformancesConstants.PRE_FILTER_ADVANCED_SCENARIOS, fingerprints); in filterAdvancedScenarios()
393 …boolean checked = this.preferences.getBoolean(IPerformancesConstants.PRE_FILTER_ADVANCED_SCENARIOS… in restoreState()
DConfigTab.java18 import org.eclipse.core.runtime.preferences.IEclipsePreferences;
19 import org.eclipse.core.runtime.preferences.InstanceScope;
88 private IEclipsePreferences preferences; field in ConfigTab
97 this.preferences = new InstanceScope().getNode(IPerformancesConstants.PLUGIN_ID); in ConfigTab()
136 …boolean fingerprints = this.preferences.getBoolean(IPerformancesConstants.PRE_FILTER_ADVANCED_SCEN… in createTabFolderPage()
314 …boolean onlyMilestones = this.preferences.getBoolean(IPerformancesConstants.PRE_FILTER_OLD_BUILDS,… in fillTableLines()
315 …boolean skipNightlyBuilds = this.preferences.getBoolean(IPerformancesConstants.PRE_FILTER_NIGHTLY_… in fillTableLines()
/external/webkit/Source/WebKit/win/WebCoreSupport/
DWebInspectorClient.cpp121 COMPtr<WebPreferences> preferences(Query, iPreferences); in openInspectorFrontend() local
122 if (!preferences) in openInspectorFrontend()
124 if (FAILED(preferences->setAutosaves(FALSE))) in openInspectorFrontend()
126 if (FAILED(preferences->setLoadsImagesAutomatically(TRUE))) in openInspectorFrontend()
128 if (FAILED(preferences->setAuthorAndUserStylesEnabled(TRUE))) in openInspectorFrontend()
130 if (FAILED(preferences->setAllowsAnimatedImages(TRUE))) in openInspectorFrontend()
132 if (FAILED(preferences->setLoadsImagesAutomatically(TRUE))) in openInspectorFrontend()
134 if (FAILED(preferences->setPlugInsEnabled(FALSE))) in openInspectorFrontend()
136 if (FAILED(preferences->setJavaEnabled(FALSE))) in openInspectorFrontend()
138 if (FAILED(preferences->setUserStyleSheetEnabled(FALSE))) in openInspectorFrontend()
[all …]
/external/webkit/Source/WebKit2/UIProcess/
DWebPageGroup.cpp94 void WebPageGroup::setPreferences(WebPreferences* preferences) in setPreferences() argument
96 if (preferences == m_preferences) in setPreferences()
100 m_preferences = preferences; in setPreferences()
104 m_preferences = preferences; in setPreferences()
111 WebPreferences* WebPageGroup::preferences() const in preferences() function in WebKit::WebPageGroup
/external/webkit/Source/WebKit/mac/WebCoreSupport/
DWebInspectorClient.mm222 …// Keep preferences separate from the rest of the client, making sure we are using expected prefer…
224 WebPreferences *preferences = [[WebPreferences alloc] init];
225 [preferences setAutosaves:NO];
226 [preferences setLoadsImagesAutomatically:YES];
227 [preferences setAuthorAndUserStylesEnabled:YES];
228 [preferences setJavaScriptEnabled:YES];
229 [preferences setAllowsAnimatedImages:YES];
230 [preferences setPlugInsEnabled:NO];
231 [preferences setJavaEnabled:NO];
232 [preferences setUserStyleSheetEnabled:NO];
[all …]
/external/webkit/Tools/DumpRenderTree/mac/
DDumpRenderTree.mm426 WebPreferences *preferences = [WebPreferences standardPreferences];
428 [preferences setAllowUniversalAccessFromFileURLs:YES];
429 [preferences setAllowFileAccessFromFileURLs:YES];
430 [preferences setStandardFontFamily:@"Times"];
431 [preferences setFixedFontFamily:@"Courier"];
432 [preferences setSerifFontFamily:@"Times"];
433 [preferences setSansSerifFontFamily:@"Helvetica"];
434 [preferences setCursiveFontFamily:@"Apple Chancery"];
435 [preferences setFantasyFontFamily:@"Papyrus"];
436 [preferences setDefaultFontSize:16];
[all …]
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_6/
Dshell.js386 var preferences = Components.classes['@mozilla.org/preferences;1'];
387 if (!preferences)
392 var prefService = preferences.
443 var preferences = Components.classes['@mozilla.org/preferences;1'];
444 if (!preferences)
449 var prefService = preferences.
/external/chromium/chrome/browser/policy/
Dconfiguration_policy_provider_mac.cc38 MacPreferences* preferences, in MacPreferencesPolicyProviderDelegate() argument
42 preferences_(preferences) { in MacPreferencesPolicyProviderDelegate()
134 MacPreferences* preferences) in ConfigurationPolicyProviderMac() argument
136 new MacPreferencesPolicyProviderDelegate(preferences, in ConfigurationPolicyProviderMac()
Dconfiguration_policy_provider_mac.h22 MacPreferences* preferences,
53 MacPreferences* preferences);
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DPreferenceActivityTest.java52 activity.addPreferencesFromResource(R.xml.preferences); in shouldRecordPreferencesResourceId()
53 assertThat(shadow.getPreferencesResId(), equalTo(R.xml.preferences)); in shouldRecordPreferencesResourceId()
58 activity.addPreferencesFromResource(R.xml.preferences); in shouldLoadPreferenceScreen()
/external/chromium/chrome/browser/autofill/
Dautofill_download.cc67 PrefService* preferences = profile_->GetPrefs(); in AutofillDownloadManager()
69 preferences->GetDouble(prefs::kAutofillPositiveUploadRate); in AutofillDownloadManager()
71 preferences->GetDouble(prefs::kAutofillNegativeUploadRate); in AutofillDownloadManager()
181 PrefService* preferences = profile_->GetPrefs(); in SetPositiveUploadRate() local
182 preferences->SetDouble(prefs::kAutofillPositiveUploadRate, rate); in SetPositiveUploadRate()
194 PrefService* preferences = profile_->GetPrefs(); in SetNegativeUploadRate() local
195 preferences->SetDouble(prefs::kAutofillNegativeUploadRate, rate); in SetNegativeUploadRate()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/model/
DScenarioResultsElement.java15 import org.eclipse.core.runtime.preferences.IEclipsePreferences;
16 import org.eclipse.core.runtime.preferences.InstanceScope;
140 IEclipsePreferences preferences = new InstanceScope().getNode(IPerformancesConstants.PLUGIN_ID); in writableStatus() local
141 String comment = preferences.get(getId(), null); in writableStatus()
DComponentResultsElement.java19 import org.eclipse.core.runtime.preferences.IEclipsePreferences;
20 import org.eclipse.core.runtime.preferences.InstanceScope;
214 IEclipsePreferences preferences = new InstanceScope().getNode(IPerformancesConstants.PLUGIN_ID); in writableStatus() local
215 String comment = preferences.get(getId(), null); in writableStatus()
DResultsElement.java18 import org.eclipse.core.runtime.preferences.IEclipsePreferences;
19 import org.eclipse.core.runtime.preferences.InstanceScope;
342 IEclipsePreferences preferences = new InstanceScope().getNode(IPerformancesConstants.PLUGIN_ID); in getPropertyValue() local
343 return preferences.get(getId(), ""); in getPropertyValue()
563 IEclipsePreferences preferences = new InstanceScope().getNode(IPerformancesConstants.PLUGIN_ID); in setPropertyValue() local
564 preferences.put(getId(), (String) value); in setPropertyValue()
566 preferences.flush(); in setPropertyValue()
/external/webkit/Source/WebKit/mac/WebView/
DWebView.mm685 _private->preferences = [standardPreferences retain];
740 …_private->page->settings()->setLocalStorageDatabasePath([[self preferences] _localStorageDatabaseP…
777 WebPreferences *prefs = [self preferences];
781 [self _preferencesChanged:[self preferences]];
782 [[self preferences] _postPreferencesChangedAPINotification];
1029 …esentationClass:rClass forMIMEType:MIMEType allowingPlugins:[_private->preferences arePlugInsEnabl…
1208 WebPreferences *preferences = _private->preferences;
1209 _private->preferences = nil;
1210 [preferences didRemoveFromWebView];
1211 [preferences release];
[all …]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/
DUiPlugin.java14 import org.eclipse.core.runtime.preferences.InstanceScope;
16 import org.eclipse.ui.preferences.ScopedPreferenceStore;

123456