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

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

Issue 18601002: Add infrastructure for partial layouts (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: define RenderObject::frameView in the header Created 7 years, 3 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) 2003 Apple Computer, Inc. 2 * Copyright (C) 2003 Apple Computer, Inc.
3 * 3 *
4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation.
5 * 5 *
6 * Other contributors: 6 * Other contributors:
7 * Robert O'Callahan <roc+@cs.cmu.edu> 7 * Robert O'Callahan <roc+@cs.cmu.edu>
8 * David Baron <dbaron@fas.harvard.edu> 8 * David Baron <dbaron@fas.harvard.edu>
9 * Christian Biesinger <cbiesinger@web.de> 9 * Christian Biesinger <cbiesinger@web.de>
10 * Randall Jesup <rjesup@wgate.com> 10 * Randall Jesup <rjesup@wgate.com>
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 81
82 private: 82 private:
83 virtual const char* renderName() const OVERRIDE FINAL; 83 virtual const char* renderName() const OVERRIDE FINAL;
84 84
85 virtual bool isMarquee() const OVERRIDE FINAL { return true; } 85 virtual bool isMarquee() const OVERRIDE FINAL { return true; }
86 86
87 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OV ERRIDE FINAL; 87 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OV ERRIDE FINAL;
88 88
89 virtual void layoutBlock(bool relayoutChildren, LayoutUnit pageLogicalHeight = 0) OVERRIDE FINAL; 89 virtual void layoutBlock(bool relayoutChildren, LayoutUnit pageLogicalHeight = 0) OVERRIDE FINAL;
90 90
91 virtual bool supportsPartialLayout() const OVERRIDE { return false; }
92
91 void timerFired(Timer<RenderMarquee>*); 93 void timerFired(Timer<RenderMarquee>*);
92 94
93 int m_currentLoop; 95 int m_currentLoop;
94 int m_totalLoops; 96 int m_totalLoops;
95 Timer<RenderMarquee> m_timer; 97 Timer<RenderMarquee> m_timer;
96 int m_start; 98 int m_start;
97 int m_end; 99 int m_end;
98 int m_speed; 100 int m_speed;
99 Length m_height; 101 Length m_height;
100 bool m_reset: 1; 102 bool m_reset: 1;
(...skipping 13 matching lines...) Expand all
114 ASSERT_WITH_SECURITY_IMPLICATION(!renderer || renderer->isMarquee()); 116 ASSERT_WITH_SECURITY_IMPLICATION(!renderer || renderer->isMarquee());
115 return static_cast<const RenderMarquee*>(renderer); 117 return static_cast<const RenderMarquee*>(renderer);
116 } 118 }
117 119
118 // Catch unneeded cast. 120 // Catch unneeded cast.
119 void toRenderMarquee(const RenderMarquee*); 121 void toRenderMarquee(const RenderMarquee*);
120 122
121 } // namespace WebCore 123 } // namespace WebCore
122 124
123 #endif // RenderMarquee_h 125 #endif // RenderMarquee_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderListItem.h ('k') | Source/core/rendering/RenderMediaControlElements.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698