summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/android/RenderThemeAndroid.h
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2008-12-17 18:05:15 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2008-12-17 18:05:15 -0800
commit1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353 (patch)
tree4457a7306ea5acb43fe05bfe0973b1f7faf97ba2 /WebCore/platform/android/RenderThemeAndroid.h
parent9364f22aed35e1a1e9d07c121510f80be3ab0502 (diff)
downloadexternal_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.zip
external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.tar.gz
external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.tar.bz2
Code drop from //branches/cupcake/...@124589
Diffstat (limited to 'WebCore/platform/android/RenderThemeAndroid.h')
-rw-r--r--WebCore/platform/android/RenderThemeAndroid.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/WebCore/platform/android/RenderThemeAndroid.h b/WebCore/platform/android/RenderThemeAndroid.h
index 4233f6f..e1a8f48 100644
--- a/WebCore/platform/android/RenderThemeAndroid.h
+++ b/WebCore/platform/android/RenderThemeAndroid.h
@@ -45,7 +45,7 @@ public:
// A method asking if the theme's controls actually care about redrawing when hovered.
virtual bool supportsHover(const RenderStyle* style) const { return style->affectedByHoverRules(); }
- virtual short baselinePosition(const RenderObject*) const;
+ virtual int baselinePosition(const RenderObject*) const;
virtual Color platformActiveSelectionBackgroundColor() const;
virtual Color platformInactiveSelectionBackgroundColor() const;
@@ -75,6 +75,7 @@ protected:
bool paintCombo(RenderObject* o, const RenderObject::PaintInfo& i, const IntRect& ir);
+ virtual void adjustListboxStyle(CSSStyleSelector* selector, RenderStyle* style, Element* e) const;
virtual void adjustMenuListStyle(CSSStyleSelector* selector, RenderStyle* style, Element* e) const;
virtual bool paintMenuList(RenderObject* o, const RenderObject::PaintInfo& i, const IntRect& r);
@@ -89,7 +90,7 @@ private:
void addIntrinsicMargins(RenderStyle* style) const;
void close();
- bool supportsFocus(EAppearance appearance);
+ bool supportsFocus(ControlPart appearance);
// FIXME: There should be a way to use one RenderSkinRadio for both radio and checkbox
RenderSkinRadio* m_radio;
RenderSkinRadio* m_checkbox;