summaryrefslogtreecommitdiffstats
path: root/webkit/port/platform/chromium/RenderThemeGtk.cpp
diff options
context:
space:
mode:
authordeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-12 14:41:13 +0000
committerdeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-12 14:41:13 +0000
commit091d9b0fc26e02eb6c019332a32d0f7317d70086 (patch)
tree55c909922af4563759c1e386ade83acbb67ada20 /webkit/port/platform/chromium/RenderThemeGtk.cpp
parentd9eb3c45ead253d51ab8838055c5493ba0ac7951 (diff)
downloadchromium_src-091d9b0fc26e02eb6c019332a32d0f7317d70086.zip
chromium_src-091d9b0fc26e02eb6c019332a32d0f7317d70086.tar.gz
chromium_src-091d9b0fc26e02eb6c019332a32d0f7317d70086.tar.bz2
Drop search field methods in RenderThemeGtk.
These were originally in RenderThemeWin, but were dropped when removing layout test mode hacks. We don't really care about search fields, they are a macism, and we should match the Windows metrics better this way. Review URL: http://codereview.chromium.org/14047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6887 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/port/platform/chromium/RenderThemeGtk.cpp')
-rw-r--r--webkit/port/platform/chromium/RenderThemeGtk.cpp32
1 files changed, 0 insertions, 32 deletions
diff --git a/webkit/port/platform/chromium/RenderThemeGtk.cpp b/webkit/port/platform/chromium/RenderThemeGtk.cpp
index a28fa64..3f7ffa0 100644
--- a/webkit/port/platform/chromium/RenderThemeGtk.cpp
+++ b/webkit/port/platform/chromium/RenderThemeGtk.cpp
@@ -446,38 +446,6 @@ void RenderThemeGtk::adjustButtonInnerStyle(RenderStyle* style) const
style->setPaddingLeft(Length(3, Fixed));
}
-void RenderThemeGtk::adjustSearchFieldStyle(CSSStyleSelector* selector, RenderStyle* style, Element* e) const
-{
- adjustTextFieldStyle(selector, style, e);
-}
-
-void RenderThemeGtk::adjustSearchFieldCancelButtonStyle(CSSStyleSelector* selector, RenderStyle* style, Element* e) const
-{
- style->resetBorder();
- style->resetPadding();
-
- // FIXME: This should not be hard-coded.
- IntSize size = IntSize(14, 14);
- style->setWidth(Length(size.width(), Fixed));
- style->setHeight(Length(size.height(), Fixed));
-}
-
-void RenderThemeGtk::adjustSearchFieldResultsDecorationStyle(CSSStyleSelector* selector, RenderStyle* style, Element* e) const
-{
- style->resetBorder();
- style->resetPadding();
-
- // FIXME: This should not be hard-coded.
- IntSize size = IntSize(14, 14);
- style->setWidth(Length(size.width(), Fixed));
- style->setHeight(Length(size.height(), Fixed));
-}
-
-void RenderThemeGtk::adjustSearchFieldResultsButtonStyle(CSSStyleSelector* selector, RenderStyle* style, Element* e) const
-{
- adjustSearchFieldCancelButtonStyle(selector, style, e);
-}
-
bool RenderThemeGtk::controlSupportsTints(const RenderObject* o) const
{
return isEnabled(o);