Changeset 88985 in webkit
- Timestamp:
- Jun 15, 2011 5:37:01 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r88984 r88985 1 2011-06-15 Gyuyoung Kim <gyuyoung.kim@samsung.com> 2 3 Reviewed by Kent Tamura. 4 5 [EFL] Implement animationXXX functions for Progress Tag 6 https://bugs.webkit.org/show_bug.cgi?id=62713 7 8 Progress tag need to implement acnimationXXX functions in order to show animation of 9 progress tag. Because, RenderProgress decides to show update progress bar's animation 10 according to the functions. 11 12 * platform/efl/RenderThemeEfl.cpp: 13 (WebCore::RenderThemeEfl::animationRepeatIntervalForProgressBar): 14 (WebCore::RenderThemeEfl::animationDurationForProgressBar): 15 * platform/efl/RenderThemeEfl.h: 16 1 17 2011-06-15 Sam Weinig <sam@webkit.org> 2 18 -
trunk/Source/WebCore/platform/efl/RenderThemeEfl.cpp
r88897 r88985 62 62 // TODO: as objects are webpage/user defined and they can be very large. 63 63 #define RENDER_THEME_EFL_PART_CACHE_MAX 32 64 64 65 // Constants for progress tag animation. 66 // These values have been copied from RenderThemeGtk.cpp 67 static const int progressAnimationFrames = 10; 68 static const double progressAnimationInterval = 0.125; 69 65 70 static const int sliderThumbWidth = 12; 66 71 static const int sliderThumbHeight = 12; 67 68 72 #if ENABLE(VIDEO) 69 73 static const int mediaSliderHeight = 14; … … 1093 1097 } 1094 1098 1099 double RenderThemeEfl::animationRepeatIntervalForProgressBar(RenderProgress*) const 1100 { 1101 return progressAnimationInterval; 1102 } 1103 1104 double RenderThemeEfl::animationDurationForProgressBar(RenderProgress*) const 1105 { 1106 return progressAnimationInterval * progressAnimationFrames * 2; // "2" for back and forth; 1107 } 1108 1095 1109 bool RenderThemeEfl::paintProgressBar(RenderObject* object, const PaintInfo& info, const IntRect& rect) 1096 1110 { -
trunk/Source/WebCore/platform/efl/RenderThemeEfl.h
r88788 r88985 167 167 virtual void adjustProgressBarStyle(CSSStyleSelector*, RenderStyle*, Element*) const; 168 168 virtual bool paintProgressBar(RenderObject*, const PaintInfo&, const IntRect&); 169 virtual double animationRepeatIntervalForProgressBar(RenderProgress*) const; 170 virtual double animationDurationForProgressBar(RenderProgress*) const; 169 171 #endif 170 172
Note: See TracChangeset
for help on using the changeset viewer.