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

Side by Side Diff: Source/core/rendering/TextAutosizer.h

Issue 640593002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/[css|rendering|clipboard] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased the patch Created 6 years, 2 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
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 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 namespace blink { 43 namespace blink {
44 44
45 class Document; 45 class Document;
46 class RenderBlock; 46 class RenderBlock;
47 class RenderListItem; 47 class RenderListItem;
48 class RenderListMarker; 48 class RenderListMarker;
49 49
50 // Single-pass text autosizer. Documentation at: 50 // Single-pass text autosizer. Documentation at:
51 // http://tinyurl.com/TextAutosizer 51 // http://tinyurl.com/TextAutosizer
52 52
53 class TextAutosizer FINAL : public NoBaseWillBeGarbageCollectedFinalized<TextAut osizer> { 53 class TextAutosizer final : public NoBaseWillBeGarbageCollectedFinalized<TextAut osizer> {
54 WTF_MAKE_NONCOPYABLE(TextAutosizer); 54 WTF_MAKE_NONCOPYABLE(TextAutosizer);
55 public: 55 public:
56 static PassOwnPtrWillBeRawPtr<TextAutosizer> create(const Document* document ) 56 static PassOwnPtrWillBeRawPtr<TextAutosizer> create(const Document* document )
57 { 57 {
58 return adoptPtrWillBeNoop(new TextAutosizer(document)); 58 return adoptPtrWillBeNoop(new TextAutosizer(document));
59 } 59 }
60 static float computeAutosizedFontSize(float specifiedSize, float multiplier) ; 60 static float computeAutosizedFontSize(float specifiedSize, float multiplier) ;
61 61
62 void updatePageInfoInAllFrames(); 62 void updatePageInfoInAllFrames();
63 void updatePageInfo(); 63 void updatePageInfo();
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 FingerprintMapper m_fingerprintMapper; 306 FingerprintMapper m_fingerprintMapper;
307 Vector<RefPtr<RenderStyle> > m_stylesRetainedDuringLayout; 307 Vector<RefPtr<RenderStyle> > m_stylesRetainedDuringLayout;
308 // FIXME: All frames should share the same m_pageInfo instance. 308 // FIXME: All frames should share the same m_pageInfo instance.
309 PageInfo m_pageInfo; 309 PageInfo m_pageInfo;
310 bool m_updatePageInfoDeferred; 310 bool m_updatePageInfoDeferred;
311 }; 311 };
312 312
313 } // namespace blink 313 } // namespace blink
314 314
315 #endif // TextAutosizer_h 315 #endif // TextAutosizer_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RootInlineBox.h ('k') | Source/core/rendering/TrailingFloatsRootInlineBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698