| OLD | NEW |
| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 TextAutosizer* m_textAutosizer; | 75 TextAutosizer* m_textAutosizer; |
| 76 RenderBlock* m_block; | 76 RenderBlock* m_block; |
| 77 }; | 77 }; |
| 78 | 78 |
| 79 class TableLayoutScope : LayoutScope { | 79 class TableLayoutScope : LayoutScope { |
| 80 public: | 80 public: |
| 81 explicit TableLayoutScope(RenderTable*); | 81 explicit TableLayoutScope(RenderTable*); |
| 82 }; | 82 }; |
| 83 | 83 |
| 84 class DeferUpdatePageInfo { | 84 class DeferUpdatePageInfo { |
| 85 STACK_ALLOCATED(); |
| 85 public: | 86 public: |
| 86 explicit DeferUpdatePageInfo(Page*); | 87 explicit DeferUpdatePageInfo(Page*); |
| 87 ~DeferUpdatePageInfo(); | 88 ~DeferUpdatePageInfo(); |
| 88 private: | 89 private: |
| 89 RefPtr<LocalFrame> m_mainFrame; | 90 RefPtrWillBeMember<LocalFrame> m_mainFrame; |
| 90 }; | 91 }; |
| 91 | 92 |
| 92 private: | 93 private: |
| 93 typedef HashSet<const RenderBlock*> BlockSet; | 94 typedef HashSet<const RenderBlock*> BlockSet; |
| 94 | 95 |
| 95 enum HasEnoughTextToAutosize { | 96 enum HasEnoughTextToAutosize { |
| 96 UnknownAmountOfText, | 97 UnknownAmountOfText, |
| 97 HasEnoughText, | 98 HasEnoughText, |
| 98 NotEnoughText | 99 NotEnoughText |
| 99 }; | 100 }; |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 303 FingerprintMapper m_fingerprintMapper; | 304 FingerprintMapper m_fingerprintMapper; |
| 304 Vector<RefPtr<RenderStyle> > m_stylesRetainedDuringLayout; | 305 Vector<RefPtr<RenderStyle> > m_stylesRetainedDuringLayout; |
| 305 // FIXME: All frames should share the same m_pageInfo instance. | 306 // FIXME: All frames should share the same m_pageInfo instance. |
| 306 PageInfo m_pageInfo; | 307 PageInfo m_pageInfo; |
| 307 bool m_updatePageInfoDeferred; | 308 bool m_updatePageInfoDeferred; |
| 308 }; | 309 }; |
| 309 | 310 |
| 310 } // namespace blink | 311 } // namespace blink |
| 311 | 312 |
| 312 #endif // TextAutosizer_h | 313 #endif // TextAutosizer_h |
| OLD | NEW |