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

Unified Diff: Source/WebCore/page/Settings.h

Issue 13723004: Remove the ENABLE_TEXT_AUTOSIZING compile-time flag. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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
Index: Source/WebCore/page/Settings.h
diff --git a/Source/WebCore/page/Settings.h b/Source/WebCore/page/Settings.h
index 2adaead33a673109491c1faa66dd97919a6506d2..f97764ebf44451c550155370bf22adbfcace2d7b 100644
--- a/Source/WebCore/page/Settings.h
+++ b/Source/WebCore/page/Settings.h
@@ -94,7 +94,6 @@ namespace WebCore {
void setPictographFontFamily(const AtomicString&, UScriptCode = USCRIPT_COMMON);
const AtomicString& pictographFontFamily(UScriptCode = USCRIPT_COMMON) const;
-#if ENABLE(TEXT_AUTOSIZING)
void setTextAutosizingEnabled(bool);
bool textAutosizingEnabled() const { return m_textAutosizingEnabled; }
@@ -104,7 +103,6 @@ namespace WebCore {
// Only set by Layout Tests, and only used if textAutosizingEnabled() returns true.
void setTextAutosizingWindowSizeOverride(const IntSize&);
const IntSize& textAutosizingWindowSizeOverride() const { return m_textAutosizingWindowSizeOverride; }
-#endif
// Only set by Layout Tests.
void setResolutionOverride(const IntSize&);
@@ -289,11 +287,9 @@ namespace WebCore {
ScriptFontFamilyMap m_fantasyFontFamilyMap;
ScriptFontFamilyMap m_pictographFontFamilyMap;
SecurityOrigin::StorageBlockingPolicy m_storageBlockingPolicy;
-#if ENABLE(TEXT_AUTOSIZING)
float m_textAutosizingFontScaleFactor;
IntSize m_textAutosizingWindowSizeOverride;
bool m_textAutosizingEnabled : 1;
-#endif
IntSize m_resolutionDensityPerInchOverride;
SETTINGS_MEMBER_VARIABLES

Powered by Google App Engine
This is Rietveld 408576698