OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Victor Carbune (victor@rosedu.org) | 2 * Copyright (C) 2012 Victor Carbune (victor@rosedu.org) |
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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
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 20 matching lines...) Expand all Loading... |
31 | 31 |
32 namespace blink { | 32 namespace blink { |
33 | 33 |
34 class VTTCue; | 34 class VTTCue; |
35 class VTTCueBox; | 35 class VTTCueBox; |
36 | 36 |
37 class RenderVTTCue final : public RenderBlockFlow { | 37 class RenderVTTCue final : public RenderBlockFlow { |
38 public: | 38 public: |
39 explicit RenderVTTCue(VTTCueBox*); | 39 explicit RenderVTTCue(VTTCueBox*); |
40 | 40 |
41 virtual void trace(Visitor*) override; | |
42 private: | 41 private: |
43 virtual void layout() override; | 42 virtual void layout() override; |
44 | 43 |
45 void adjustForTopAndBottomMarginBorderAndPadding(); | 44 void adjustForTopAndBottomMarginBorderAndPadding(); |
46 void repositionCueSnapToLinesNotSet(); | 45 void repositionCueSnapToLinesNotSet(); |
47 | 46 |
48 RawPtrWillBeMember<VTTCue> m_cue; | 47 VTTCue* m_cue; |
49 }; | 48 }; |
50 | 49 |
51 } // namespace blink | 50 } // namespace blink |
52 | 51 |
53 #endif // RenderVTTCue_h | 52 #endif // RenderVTTCue_h |
OLD | NEW |