Changeset 84348 in webkit
- Timestamp:
- Apr 20, 2011 12:18:56 AM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r84346 r84348 1 2011-04-20 Gyuyoung Kim <gyuyoung.kim@samsung.com> 2 3 Reviewed by Daniel Bates. 4 5 [EFL] Add current time to media control panel. 6 https://bugs.webkit.org/show_bug.cgi?id=58866 7 8 Implement paintMediaCurrentTime() to show playing time of media content. 9 10 * platform/efl/RenderThemeEfl.cpp: 11 (WebCore::RenderThemeEfl::RenderThemeEfl): 12 (WebCore::RenderThemeEfl::formatMediaControlsCurrentTime): 13 (WebCore::RenderThemeEfl::paintMediaCurrentTime): 14 * platform/efl/RenderThemeEfl.h: 15 1 16 2011-04-19 Jungshik Shin <jshin@chromium.org> 2 17 -
trunk/Source/WebCore/platform/efl/RenderThemeEfl.cpp
r83410 r84348 42 42 #include "UserAgentStyleSheets.h" 43 43 #include <wtf/text/CString.h> 44 #include <wtf/text/StringConcatenate.h> 44 45 45 46 #include <Ecore_Evas.h> … … 691 692 , m_searchTextBackgroundColor(0, 0, 0, 0) 692 693 , m_searchTextForegroundColor(0, 0, 0) 694 #if ENABLE(VIDEO) 695 , m_panelColor(220, 220, 195) // light tannish color. 696 #endif 693 697 , m_canvas(0) 694 698 , m_edje(0) … … 1096 1100 String RenderThemeEfl::formatMediaControlsCurrentTime(float currentTime, float duration) const 1097 1101 { 1098 notImplemented(); 1099 return String(); 1102 return makeString(formatMediaControlsTime(currentTime), " / ", formatMediaControlsTime(duration)); 1100 1103 } 1101 1104 … … 1191 1194 bool RenderThemeEfl::paintMediaCurrentTime(RenderObject* object, const PaintInfo& info, const IntRect& rect) 1192 1195 { 1193 notImplemented();1194 return false;1196 info.context->fillRect(FloatRect(rect), m_panelColor, ColorSpaceDeviceRGB); 1197 return true; 1195 1198 } 1196 1199 #endif -
trunk/Source/WebCore/platform/efl/RenderThemeEfl.h
r83410 r84348 210 210 Color m_searchTextBackgroundColor; 211 211 Color m_searchTextForegroundColor; 212 #if ENABLE(VIDEO) 213 Color m_panelColor; 214 #endif 212 215 Ecore_Evas* m_canvas; 213 216 Evas_Object* m_edje;
Note: See TracChangeset
for help on using the changeset viewer.