| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 public: | 45 public: |
| 46 WebSettingsImpl(Settings*, DevToolsEmulator*); | 46 WebSettingsImpl(Settings*, DevToolsEmulator*); |
| 47 virtual ~WebSettingsImpl() {} | 47 virtual ~WebSettingsImpl() {} |
| 48 | 48 |
| 49 void SetFromStrings(const WebString& name, const WebString& value) override; | 49 void SetFromStrings(const WebString& name, const WebString& value) override; |
| 50 | 50 |
| 51 bool ShrinksViewportContentToFit() const override; | 51 bool ShrinksViewportContentToFit() const override; |
| 52 bool ViewportEnabled() const override; | 52 bool ViewportEnabled() const override; |
| 53 void SetAccelerated2dCanvasMSAASampleCount(int) override; | 53 void SetAccelerated2dCanvasMSAASampleCount(int) override; |
| 54 void SetAcceleratedCompositingEnabled(bool) override; | 54 void SetAcceleratedCompositingEnabled(bool) override; |
| 55 void SetAutoplayPolicy(AutoplayPolicy) override; |
| 55 void SetPreferCompositingToLCDTextEnabled(bool) override; | 56 void SetPreferCompositingToLCDTextEnabled(bool) override; |
| 56 void SetAccessibilityEnabled(bool) override; | 57 void SetAccessibilityEnabled(bool) override; |
| 57 void SetAccessibilityPasswordValuesEnabled(bool) override; | 58 void SetAccessibilityPasswordValuesEnabled(bool) override; |
| 58 void SetAllowFileAccessFromFileURLs(bool) override; | 59 void SetAllowFileAccessFromFileURLs(bool) override; |
| 59 void SetAllowCustomScrollbarInMainFrame(bool) override; | 60 void SetAllowCustomScrollbarInMainFrame(bool) override; |
| 60 void SetAllowGeolocationOnInsecureOrigins(bool) override; | 61 void SetAllowGeolocationOnInsecureOrigins(bool) override; |
| 61 void SetAllowRunningOfInsecureContent(bool) override; | 62 void SetAllowRunningOfInsecureContent(bool) override; |
| 62 void SetAllowScriptsToCloseWindows(bool) override; | 63 void SetAllowScriptsToCloseWindows(bool) override; |
| 63 void SetAllowUniversalAccessFromFileURLs(bool) override; | 64 void SetAllowUniversalAccessFromFileURLs(bool) override; |
| 64 void SetAlwaysShowContextMenuOnTouch(bool) override; | 65 void SetAlwaysShowContextMenuOnTouch(bool) override; |
| 65 void SetAntialiased2dCanvasEnabled(bool) override; | 66 void SetAntialiased2dCanvasEnabled(bool) override; |
| 66 void SetAntialiasedClips2dCanvasEnabled(bool) override; | 67 void SetAntialiasedClips2dCanvasEnabled(bool) override; |
| 67 void SetAutoZoomFocusedNodeToLegibleScale(bool) override; | 68 void SetAutoZoomFocusedNodeToLegibleScale(bool) override; |
| 68 void SetBrowserSideNavigationEnabled(bool) override; | 69 void SetBrowserSideNavigationEnabled(bool) override; |
| 69 void SetClobberUserAgentInitialScaleQuirk(bool) override; | 70 void SetClobberUserAgentInitialScaleQuirk(bool) override; |
| 70 void SetCookieEnabled(bool) override; | 71 void SetCookieEnabled(bool) override; |
| 71 void SetCrossOriginMediaPlaybackRequiresUserGesture(bool) override; | |
| 72 void SetNavigateOnDragDrop(bool) override; | 72 void SetNavigateOnDragDrop(bool) override; |
| 73 void SetCursiveFontFamily(const WebString&, | 73 void SetCursiveFontFamily(const WebString&, |
| 74 UScriptCode = USCRIPT_COMMON) override; | 74 UScriptCode = USCRIPT_COMMON) override; |
| 75 void SetDNSPrefetchingEnabled(bool) override; | 75 void SetDNSPrefetchingEnabled(bool) override; |
| 76 void SetDataSaverEnabled(bool) override; | 76 void SetDataSaverEnabled(bool) override; |
| 77 void SetDOMPasteAllowed(bool) override; | 77 void SetDOMPasteAllowed(bool) override; |
| 78 void SetDefaultFixedFontSize(int) override; | 78 void SetDefaultFixedFontSize(int) override; |
| 79 void SetDefaultFontSize(int) override; | 79 void SetDefaultFontSize(int) override; |
| 80 void SetDefaultTextEncodingName(const WebString&) override; | 80 void SetDefaultTextEncodingName(const WebString&) override; |
| 81 void SetDefaultVideoPosterURL(const WebString&) override; | 81 void SetDefaultVideoPosterURL(const WebString&) override; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 110 void SetJavaScriptCanOpenWindowsAutomatically(bool) override; | 110 void SetJavaScriptCanOpenWindowsAutomatically(bool) override; |
| 111 void SetJavaScriptEnabled(bool) override; | 111 void SetJavaScriptEnabled(bool) override; |
| 112 void SetLoadsImagesAutomatically(bool) override; | 112 void SetLoadsImagesAutomatically(bool) override; |
| 113 void SetLoadWithOverviewMode(bool) override; | 113 void SetLoadWithOverviewMode(bool) override; |
| 114 void SetShouldReuseGlobalForUnownedMainFrame(bool) override; | 114 void SetShouldReuseGlobalForUnownedMainFrame(bool) override; |
| 115 void SetProgressBarCompletion(ProgressBarCompletion) override; | 115 void SetProgressBarCompletion(ProgressBarCompletion) override; |
| 116 void SetLocalStorageEnabled(bool) override; | 116 void SetLocalStorageEnabled(bool) override; |
| 117 void SetMainFrameClipsContent(bool) override; | 117 void SetMainFrameClipsContent(bool) override; |
| 118 void SetMainFrameResizesAreOrientationChanges(bool) override; | 118 void SetMainFrameResizesAreOrientationChanges(bool) override; |
| 119 void SetMaxTouchPoints(int) override; | 119 void SetMaxTouchPoints(int) override; |
| 120 void SetMediaPlaybackRequiresUserGesture(bool) override; | |
| 121 void SetMediaPlaybackGestureWhitelistScope(const WebString&) override; | 120 void SetMediaPlaybackGestureWhitelistScope(const WebString&) override; |
| 122 void SetPresentationRequiresUserGesture(bool) override; | 121 void SetPresentationRequiresUserGesture(bool) override; |
| 123 void SetEmbeddedMediaExperienceEnabled(bool) override; | 122 void SetEmbeddedMediaExperienceEnabled(bool) override; |
| 124 void SetMinimumAccelerated2dCanvasSize(int) override; | 123 void SetMinimumAccelerated2dCanvasSize(int) override; |
| 125 void SetMinimumFontSize(int) override; | 124 void SetMinimumFontSize(int) override; |
| 126 void SetMinimumLogicalFontSize(int) override; | 125 void SetMinimumLogicalFontSize(int) override; |
| 127 void SetMockScrollbarsEnabled(bool) override; | 126 void SetMockScrollbarsEnabled(bool) override; |
| 128 void SetHideScrollbars(bool) override; | 127 void SetHideScrollbars(bool) override; |
| 129 void SetOfflineWebApplicationCacheEnabled(bool) override; | 128 void SetOfflineWebApplicationCacheEnabled(bool) override; |
| 130 void SetPassiveEventListenerDefault(PassiveEventListenerDefault) override; | 129 void SetPassiveEventListenerDefault(PassiveEventListenerDefault) override; |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 271 bool clobber_user_agent_initial_scale_quirk_; | 270 bool clobber_user_agent_initial_scale_quirk_; |
| 272 float expensive_background_throttling_cpu_budget_; | 271 float expensive_background_throttling_cpu_budget_; |
| 273 float expensive_background_throttling_initial_budget_; | 272 float expensive_background_throttling_initial_budget_; |
| 274 float expensive_background_throttling_max_budget_; | 273 float expensive_background_throttling_max_budget_; |
| 275 float expensive_background_throttling_max_delay_; | 274 float expensive_background_throttling_max_delay_; |
| 276 }; | 275 }; |
| 277 | 276 |
| 278 } // namespace blink | 277 } // namespace blink |
| 279 | 278 |
| 280 #endif | 279 #endif |
| OLD | NEW |