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

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

Issue 1110233003: Update list markers in notify change. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add Rebaseline Created 5 years, 7 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) 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 static PassOwnPtrWillBeRawPtr<TextAutosizer> create(const Document* document ) 57 static PassOwnPtrWillBeRawPtr<TextAutosizer> create(const Document* document )
58 { 58 {
59 return adoptPtrWillBeNoop(new TextAutosizer(document)); 59 return adoptPtrWillBeNoop(new TextAutosizer(document));
60 } 60 }
61 static float computeAutosizedFontSize(float specifiedSize, float multiplier) ; 61 static float computeAutosizedFontSize(float specifiedSize, float multiplier) ;
62 62
63 void updatePageInfoInAllFrames(); 63 void updatePageInfoInAllFrames();
64 void updatePageInfo(); 64 void updatePageInfo();
65 void record(const LayoutBlock*); 65 void record(const LayoutBlock*);
66 void destroy(const LayoutBlock*); 66 void destroy(const LayoutBlock*);
67 void inflateListItem(LayoutListItem*, LayoutListMarker*);
68 67
69 DECLARE_TRACE(); 68 DECLARE_TRACE();
70 69
71 class LayoutScope { 70 class LayoutScope {
72 public: 71 public:
73 explicit LayoutScope(LayoutBlock*); 72 explicit LayoutScope(LayoutBlock*);
74 ~LayoutScope(); 73 ~LayoutScope();
75 protected: 74 protected:
76 TextAutosizer* m_textAutosizer; 75 TextAutosizer* m_textAutosizer;
77 LayoutBlock* m_block; 76 LayoutBlock* m_block;
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 FingerprintMapper m_fingerprintMapper; 306 FingerprintMapper m_fingerprintMapper;
308 Vector<RefPtr<ComputedStyle>> m_stylesRetainedDuringLayout; 307 Vector<RefPtr<ComputedStyle>> m_stylesRetainedDuringLayout;
309 // FIXME: All frames should share the same m_pageInfo instance. 308 // FIXME: All frames should share the same m_pageInfo instance.
310 PageInfo m_pageInfo; 309 PageInfo m_pageInfo;
311 bool m_updatePageInfoDeferred; 310 bool m_updatePageInfoDeferred;
312 }; 311 };
313 312
314 } // namespace blink 313 } // namespace blink
315 314
316 #endif // TextAutosizer_h 315 #endif // TextAutosizer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698