Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(198)

Unified Diff: sky/engine/core/frame/Settings.in

Issue 681553003: Remove a bunch of unused or never-set settings. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/core/editing/FrameSelection.cpp ('k') | sky/engine/core/page/EventHandler.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/frame/Settings.in
diff --git a/sky/engine/core/frame/Settings.in b/sky/engine/core/frame/Settings.in
index 472bd6aae5d7ecc1c902fdacce4af61eef623116..e79674df34ac0ec39e071e4d0ef875f381791335 100644
--- a/sky/engine/core/frame/Settings.in
+++ b/sky/engine/core/frame/Settings.in
@@ -26,12 +26,6 @@
defaultTextEncodingName type=String
-# Sets the magnification value for validation message timer. If the
-# magnification value is N, a validation message disappears automatically after
-# <message length> * N / 1000 seconds. If N is equal to or less than 0, a
-# validation message doesn't disappears automaticaly.
-validationMessageTimerMagnification type=int, initial=50
-
# Number of pixels below which 2D canvas is rendered in software
# even if hardware acceleration is enabled.
# Hardware acceleration is useful for large canvases where it can avoid the
@@ -42,22 +36,14 @@ validationMessageTimerMagnification type=int, initial=50
# draw canvas in software.
minimumAccelerated2dCanvasSize type=int, initial=257*256
-minimumFontSize type=int, initial=0, invalidate=Style
-minimumLogicalFontSize type=int, initial=0, invalidate=Style
defaultFontSize type=int, initial=0, invalidate=Style
defaultFixedFontSize type=int, initial=0, invalidate=Style
-caretBrowsingEnabled initial=false
-localStorageEnabled initial=false
-allowUniversalAccessFromFileURLs initial=true
-allowFileAccessFromFileURLs initial=true
javaScriptCanAccessClipboard initial=false
shouldClearDocumentBackground initial=true
textAreasAreResizable initial=false, invalidate=Style
-shrinksStandaloneImagesToFit initial=true
-
deferredFiltersEnabled initial=true
containerCullingEnabled initial=false
@@ -67,8 +53,6 @@ containerCullingEnabled initial=false
# Leaving enabled for now to not change existing behavior.
downloadableBinaryFontsEnabled initial=true
-treatIPAddressAsDomain initial=false
-
preferCompositingToLCDTextEnabled initial=false, invalidate=AcceleratedCompositing
# 3D canvas (WebGL) support.
@@ -81,12 +65,6 @@ accelerated2dCanvasMSAASampleCount type=int, initial=0
asynchronousSpellCheckingEnabled initial=false
-hyperlinkAuditingEnabled initial=false
-allowDisplayOfInsecureContent initial=true
-allowRunningOfInsecureContent initial=true
-# FIXME: Remove this temporary flag. See crbug.com/366483 for the target
-# milestone.
-allowConnectingInsecureWebSocket initial=false
mediaPlaybackRequiresUserGesture initial=false
scrollAnimatorEnabled initial=true
@@ -118,17 +96,8 @@ maxTouchPoints type=int, initial=0
# crbug.com/304895 tracks removal once we're satisfied with the algorithm.
touchAdjustmentEnabled initial=true
-navigateOnDragDrop initial=true
DOMPasteAllowed initial=false
-allowCustomScrollbarInMainFrame initial=true
-webSecurityEnabled initial=true
-
-# This setting adds a means to enable/disable touch initiated drag & drop. If
-# enabled, the user can initiate drag using long press.
-# crbug.com/304894 tracks removal once it's been enabled on all platforms.
-touchDragDropEnabled initial=false
-
unifiedTextCheckerEnabled initial=defaultUnifiedTextCheckerEnabled
# Some apps could have a default video poster if it is not set.
@@ -150,16 +119,10 @@ useSolidColorScrollbars initial=true
mainFrameClipsContent initial=true
-
# Presumably used by tests? Unclear.
useWideViewport initial=true, invalidate=ViewportDescription
loadWithOverviewMode initial=true, invalidate=ViewportDescription
-
-# Font scale factor for accessibility, applied as part of text autosizing.
-accessibilityFontScaleFactor type=double, initial=1.0
-
-
# Only set by Layout Tests.
mediaTypeOverride type=String, initial="screen", invalidate=MediaType
@@ -171,20 +134,6 @@ imagesEnabled initial=true, invalidate=ImageLoading
viewportEnabled initial=false, invalidate=ViewportDescription
viewportMetaEnabled initial=false
-# Compensates for poor text legibility on mobile devices. This value is
-# multiplied by the font scale factor when performing text autosizing of
-# websites that do not set an explicit viewport description.
-deviceScaleAdjustment type=double, initial=1.0
-
-# This value indicates the maximum number of bytes a document is allowed
-# to transmit in Beacons (via navigator.sendBeacon()) -- Beacons are
-# intended to be smaller payloads transmitted as a page is unloading, not
-# a general (one-way) network transmission API.
-# The spec ( https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/Beacon/Overview.html )
-# does not proscribe an upper limit, but allows for it -- the underlying
-# API will return 'false' in that case.
-maxBeaconTransmission type=int, initial=65536
-
# V8 supports different types of caching. Used by V8 bindings.
v8CacheOptions type=V8CacheOptions, initial=V8CacheOptionsOff
@@ -197,6 +146,3 @@ availableHoverTypes type=int, initial=HoverTypeNone, invalidate=MediaQuery
# These values specify properties of the user's primary pointing device only.
primaryPointerType type=PointerType, initial=PointerTypeNone, invalidate=MediaQuery
primaryHoverType type=HoverType, initial=HoverTypeNone, invalidate=MediaQuery
-
-accessibilityEnabled initial=false
-inlineTextBoxAccessibilityEnabled initial=false
« no previous file with comments | « sky/engine/core/editing/FrameSelection.cpp ('k') | sky/engine/core/page/EventHandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698