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

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

Issue 129063002: Update CSS classes to use OVERRIDE / FINAL when needed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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/CSSViewportRule.h ('k') | Source/core/css/InlineVariablesIterator.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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google 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 are met: 5 * modification, are permitted provided that the following conditions are met:
6 * 6 *
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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 47
48 class CSSFontFaceSource; 48 class CSSFontFaceSource;
49 class Dictionary; 49 class Dictionary;
50 class Document; 50 class Document;
51 class ExceptionState; 51 class ExceptionState;
52 class Font; 52 class Font;
53 class FontResource; 53 class FontResource;
54 class FontsReadyPromiseResolver; 54 class FontsReadyPromiseResolver;
55 class ExecutionContext; 55 class ExecutionContext;
56 56
57 class FontFaceSet : public RefCountedSupplement<Document, FontFaceSet>, public A ctiveDOMObject, public EventTargetWithInlineData { 57 class FontFaceSet FINAL : public RefCountedSupplement<Document, FontFaceSet>, pu blic ActiveDOMObject, public EventTargetWithInlineData {
58 REFCOUNTED_EVENT_TARGET(FontFaceSet); 58 REFCOUNTED_EVENT_TARGET(FontFaceSet);
59 public: 59 public:
60 virtual ~FontFaceSet(); 60 virtual ~FontFaceSet();
61 61
62 DEFINE_ATTRIBUTE_EVENT_LISTENER(loading); 62 DEFINE_ATTRIBUTE_EVENT_LISTENER(loading);
63 DEFINE_ATTRIBUTE_EVENT_LISTENER(loadingdone); 63 DEFINE_ATTRIBUTE_EVENT_LISTENER(loadingdone);
64 DEFINE_ATTRIBUTE_EVENT_LISTENER(loadingerror); 64 DEFINE_ATTRIBUTE_EVENT_LISTENER(loadingerror);
65 65
66 Vector<RefPtr<FontFace> > match(const String& font, const String& text, Exce ptionState&); 66 Vector<RefPtr<FontFace> > match(const String& font, const String& text, Exce ptionState&);
67 bool check(const String& font, const String& text, ExceptionState&); 67 bool check(const String& font, const String& text, ExceptionState&);
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 FontFaceArray m_failedFonts; 125 FontFaceArray m_failedFonts;
126 126
127 AsyncMethodRunner<FontFaceSet> m_asyncRunner; 127 AsyncMethodRunner<FontFaceSet> m_asyncRunner;
128 128
129 FontLoadHistogram m_histogram; 129 FontLoadHistogram m_histogram;
130 }; 130 };
131 131
132 } // namespace WebCore 132 } // namespace WebCore
133 133
134 #endif // FontFaceSet_h 134 #endif // FontFaceSet_h
OLDNEW
« no previous file with comments | « Source/core/css/CSSViewportRule.h ('k') | Source/core/css/InlineVariablesIterator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698