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

Unified Diff: Source/core/frame/Settings.h

Issue 82583005: Use removeFontFace to avoid resetting fontSelector. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added 2 layout tests Created 7 years 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/core/frame/Settings.h
diff --git a/Source/core/frame/Settings.h b/Source/core/frame/Settings.h
index 76f5ac5097f6f27694fd84a4fe0cce2853601043..dd1ae0ece914e6c1c459851eb21b07fa341b83f7 100644
--- a/Source/core/frame/Settings.h
+++ b/Source/core/frame/Settings.h
@@ -55,6 +55,13 @@ public:
static PassOwnPtr<Settings> create();
GenericFontFamilySettings& genericFontFamilySettings() { return m_genericFontFamilySettings; }
+ void setCursiveFontFamily(const AtomicString&, UScriptCode = USCRIPT_COMMON);
+ void setFantasyFontFamily(const AtomicString&, UScriptCode = USCRIPT_COMMON);
+ void setFixedFontFamily(const AtomicString&, UScriptCode = USCRIPT_COMMON);
+ void setPictographFontFamily(const AtomicString&, UScriptCode = USCRIPT_COMMON);
+ void setSansSerifFontFamily(const AtomicString&, UScriptCode = USCRIPT_COMMON);
+ void setSerifFontFamily(const AtomicString&, UScriptCode = USCRIPT_COMMON);
+ void setStandardFontFamily(const AtomicString&, UScriptCode = USCRIPT_COMMON);
void setTextAutosizingEnabled(bool);
bool textAutosizingEnabled() const;
@@ -92,6 +99,7 @@ private:
Settings();
void invalidate(SettingsDelegate::ChangeType);
+ void notifyFontFamilySettingsChanged();
// FIXME: pageOfShame() is a hack for the inspector code:
// http://crbug.com/327476

Powered by Google App Engine
This is Rietveld 408576698