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

Side by Side Diff: Source/core/testing/InternalSettings.h

Issue 1232333002: Fix virtual/override/final usage in the rest of Source/core/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2013 Apple Inc. All rights reserved. 3 * Copyright (C) 2013 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 static PassRefPtrWillBeRawPtr<InternalSettings> create(Page& page) 82 static PassRefPtrWillBeRawPtr<InternalSettings> create(Page& page)
83 { 83 {
84 return adoptRefWillBeNoop(new InternalSettings(page)); 84 return adoptRefWillBeNoop(new InternalSettings(page));
85 } 85 }
86 static InternalSettings* from(Page&); 86 static InternalSettings* from(Page&);
87 87
88 #if !ENABLE(OILPAN) 88 #if !ENABLE(OILPAN)
89 void hostDestroyed() { m_page = nullptr; } 89 void hostDestroyed() { m_page = nullptr; }
90 #endif 90 #endif
91 91
92 virtual ~InternalSettings(); 92 ~InternalSettings() override;
93 void resetToConsistentState(); 93 void resetToConsistentState();
94 94
95 void setStandardFontFamily(const AtomicString& family, const String& script, ExceptionState&); 95 void setStandardFontFamily(const AtomicString& family, const String& script, ExceptionState&);
96 void setSerifFontFamily(const AtomicString& family, const String& script, Ex ceptionState&); 96 void setSerifFontFamily(const AtomicString& family, const String& script, Ex ceptionState&);
97 void setSansSerifFontFamily(const AtomicString& family, const String& script , ExceptionState&); 97 void setSansSerifFontFamily(const AtomicString& family, const String& script , ExceptionState&);
98 void setFixedFontFamily(const AtomicString& family, const String& script, Ex ceptionState&); 98 void setFixedFontFamily(const AtomicString& family, const String& script, Ex ceptionState&);
99 void setCursiveFontFamily(const AtomicString& family, const String& script, ExceptionState&); 99 void setCursiveFontFamily(const AtomicString& family, const String& script, ExceptionState&);
100 void setFantasyFontFamily(const AtomicString& family, const String& script, ExceptionState&); 100 void setFantasyFontFamily(const AtomicString& family, const String& script, ExceptionState&);
101 void setPictographFontFamily(const AtomicString& family, const String& scrip t, ExceptionState&); 101 void setPictographFontFamily(const AtomicString& family, const String& scrip t, ExceptionState&);
102 102
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 Page* page() const { return m_page; } 142 Page* page() const { return m_page; }
143 static const char* supplementName(); 143 static const char* supplementName();
144 144
145 RawPtrWillBeWeakMember<Page> m_page; 145 RawPtrWillBeWeakMember<Page> m_page;
146 Backup m_backup; 146 Backup m_backup;
147 }; 147 };
148 148
149 } // namespace blink 149 } // namespace blink
150 150
151 #endif // InternalSettings_h 151 #endif // InternalSettings_h
OLDNEW
« no previous file with comments | « Source/core/plugins/testing/DocumentFragmentPluginPlaceholder.h ('k') | Source/core/testing/InternalSettings.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698