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

Unified Diff: Source/core/css/CSSFontSelector.h

Issue 93783005: Store a copy of generic font settings at CSSFontSelector. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
« no previous file with comments | « no previous file | Source/core/css/CSSFontSelector.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSFontSelector.h
diff --git a/Source/core/css/CSSFontSelector.h b/Source/core/css/CSSFontSelector.h
index 1bdd88de13e4825751f53442bcefecb82e21c922..41caa08649c389f95979d98cbfd86c774480bbdf 100644
--- a/Source/core/css/CSSFontSelector.h
+++ b/Source/core/css/CSSFontSelector.h
@@ -30,6 +30,7 @@
#include "core/fetch/ResourcePtr.h"
#include "platform/Timer.h"
#include "platform/fonts/FontSelector.h"
+#include "platform/fonts/GenericFontFamilySettings.h"
#include "wtf/Forward.h"
#include "wtf/HashMap.h"
#include "wtf/HashSet.h"
@@ -88,6 +89,8 @@ public:
Document* document() const { return m_document; }
+ const GenericFontFamilySettings& genericFontFamilySettings() const { return m_genericFontFamilySettings; }
+
void beginLoadingFontSoon(FontResource*);
void loadPendingFonts();
@@ -102,6 +105,7 @@ private:
HashSet<FontSelectorClient*> m_clients;
FontLoader m_fontLoader;
+ GenericFontFamilySettings m_genericFontFamilySettings;
esprehn 2013/12/04 00:57:23 Why not store a reference to it?
};
} // namespace WebCore
« no previous file with comments | « no previous file | Source/core/css/CSSFontSelector.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698