Title: [146620] trunk/Source/WebCore
- Revision
- 146620
- Author
- [email protected]
- Date
- 2013-03-22 09:08:54 -0700 (Fri, 22 Mar 2013)
Log Message
[BlackBerry] Update Input field Background Color
https://bugs.webkit.org/show_bug.cgi?id=113063
Patch by Tiancheng Jiang <[email protected]> on 2013-03-22
Reviewed by George Staikos.
RIM PR 307463.
Internally reviewed by Ed Baker.
* platform/blackberry/RenderThemeBlackBerry.cpp:
(WebCore::RenderThemeBlackBerry::paintTextFieldOrTextAreaOrSearchField):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (146619 => 146620)
--- trunk/Source/WebCore/ChangeLog 2013-03-22 15:56:22 UTC (rev 146619)
+++ trunk/Source/WebCore/ChangeLog 2013-03-22 16:08:54 UTC (rev 146620)
@@ -1,3 +1,16 @@
+2013-03-22 Tiancheng Jiang <[email protected]>
+
+ [BlackBerry] Update Input field Background Color
+ https://bugs.webkit.org/show_bug.cgi?id=113063
+
+ Reviewed by George Staikos.
+
+ RIM PR 307463.
+ Internally reviewed by Ed Baker.
+
+ * platform/blackberry/RenderThemeBlackBerry.cpp:
+ (WebCore::RenderThemeBlackBerry::paintTextFieldOrTextAreaOrSearchField):
+
2013-03-22 Ilya Tikhonovsky <[email protected]>
Web Inspector: FlameChart. Draw function names over flame chart bar if they fit into the bar.
Modified: trunk/Source/WebCore/platform/blackberry/RenderThemeBlackBerry.cpp (146619 => 146620)
--- trunk/Source/WebCore/platform/blackberry/RenderThemeBlackBerry.cpp 2013-03-22 15:56:22 UTC (rev 146619)
+++ trunk/Source/WebCore/platform/blackberry/RenderThemeBlackBerry.cpp 2013-03-22 16:08:54 UTC (rev 146620)
@@ -37,6 +37,7 @@
#include "UserAgentStyleSheets.h"
#include <BlackBerryPlatformLog.h>
+#include <BlackBerryPlatformScreen.h>
namespace WebCore {
@@ -380,7 +381,10 @@
static RefPtr<Image> bg, bgDisabled, bgHighlight;
if (!bg) {
- bg = loadImage("core_textinput_bg");
+ if (BlackBerry::Platform::Graphics::Screen::primaryScreen()->displayTechnology() == BlackBerry::Platform::Graphics::OledDisplayTechnology)
+ bg = loadImage("core_textinput_bg_oled");
+ else
+ bg = loadImage("core_textinput_bg");
bgDisabled = loadImage("core_textinput_bg_disabled");
bgHighlight = loadImage("core_textinput_bg_highlight");
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes