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

Side by Side Diff: Source/core/css/CSSFontSelector.h

Issue 22893004: Add explicit keyword to constructors that take one argument (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 4 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 unified diff | Download patch
« no previous file with comments | « Source/core/css/CSSFilterValue.h ('k') | Source/core/css/CSSGradientValue.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007, 2008, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008, 2011 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 bool isEmpty() const; 67 bool isEmpty() const;
68 68
69 virtual void registerForInvalidationCallbacks(FontSelectorClient*); 69 virtual void registerForInvalidationCallbacks(FontSelectorClient*);
70 virtual void unregisterForInvalidationCallbacks(FontSelectorClient*); 70 virtual void unregisterForInvalidationCallbacks(FontSelectorClient*);
71 71
72 Document* document() const { return m_document; } 72 Document* document() const { return m_document; }
73 73
74 void beginLoadingFontSoon(FontResource*); 74 void beginLoadingFontSoon(FontResource*);
75 75
76 private: 76 private:
77 CSSFontSelector(Document*); 77 explicit CSSFontSelector(Document*);
78 78
79 void dispatchInvalidationCallbacks(); 79 void dispatchInvalidationCallbacks();
80 80
81 void beginLoadTimerFired(Timer<CSSFontSelector>*); 81 void beginLoadTimerFired(Timer<CSSFontSelector>*);
82 82
83 Document* m_document; 83 Document* m_document;
84 HashMap<String, OwnPtr<Vector<RefPtr<CSSFontFace> > >, CaseFoldingHash> m_fo ntFaces; 84 HashMap<String, OwnPtr<Vector<RefPtr<CSSFontFace> > >, CaseFoldingHash> m_fo ntFaces;
85 HashMap<String, OwnPtr<Vector<RefPtr<CSSFontFace> > >, CaseFoldingHash> m_lo callyInstalledFontFaces; 85 HashMap<String, OwnPtr<Vector<RefPtr<CSSFontFace> > >, CaseFoldingHash> m_lo callyInstalledFontFaces;
86 HashMap<String, OwnPtr<HashMap<unsigned, RefPtr<CSSSegmentedFontFace> > >, C aseFoldingHash> m_fonts; 86 HashMap<String, OwnPtr<HashMap<unsigned, RefPtr<CSSSegmentedFontFace> > >, C aseFoldingHash> m_fonts;
87 HashSet<FontSelectorClient*> m_clients; 87 HashSet<FontSelectorClient*> m_clients;
88 88
89 Vector<ResourcePtr<FontResource> > m_fontsToBeginLoading; 89 Vector<ResourcePtr<FontResource> > m_fontsToBeginLoading;
90 Timer<CSSFontSelector> m_beginLoadingTimer; 90 Timer<CSSFontSelector> m_beginLoadingTimer;
91 91
92 unsigned m_version; 92 unsigned m_version;
93 }; 93 };
94 94
95 } // namespace WebCore 95 } // namespace WebCore
96 96
97 #endif // CSSFontSelector_h 97 #endif // CSSFontSelector_h
OLDNEW
« no previous file with comments | « Source/core/css/CSSFilterValue.h ('k') | Source/core/css/CSSGradientValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698