summaryrefslogtreecommitdiff
path: root/Source/WebCore/rendering/RenderTheme.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2012-10-17 16:21:14 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2012-10-17 16:21:14 +0200
commit8995b83bcbfbb68245f779b64e5517627c6cc6ea (patch)
tree17985605dab9263cc2444bd4d45f189e142cca7c /Source/WebCore/rendering/RenderTheme.h
parentb9c9652036d5e9f1e29c574f40bc73a35c81ace6 (diff)
downloadqtwebkit-8995b83bcbfbb68245f779b64e5517627c6cc6ea.tar.gz
Imported WebKit commit cf4f8fc6f19b0629f51860cb2d4b25e139d07e00 (http://svn.webkit.org/repository/webkit/trunk@131592)
New snapshot that includes the build fixes for Mac OS X 10.6 and earlier as well as the previously cherry-picked changes
Diffstat (limited to 'Source/WebCore/rendering/RenderTheme.h')
-rw-r--r--Source/WebCore/rendering/RenderTheme.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/Source/WebCore/rendering/RenderTheme.h b/Source/WebCore/rendering/RenderTheme.h
index 6026b6017..5db283605 100644
--- a/Source/WebCore/rendering/RenderTheme.h
+++ b/Source/WebCore/rendering/RenderTheme.h
@@ -35,6 +35,7 @@
namespace WebCore {
+class CSSStyleSheet;
class Element;
class FileList;
class HTMLInputElement;
@@ -46,7 +47,7 @@ class RenderMeter;
#if ENABLE(PROGRESS_ELEMENT)
class RenderProgress;
#endif
-class CSSStyleSheet;
+class RenderSnapshottedPlugIn;
class RenderTheme : public RefCounted<RenderTheme> {
protected:
@@ -137,6 +138,11 @@ public:
// A method asking if the platform is able to show datalist suggestions for a given input type.
virtual bool supportsDataListUI(const AtomicString&) const { return false; }
+#if ENABLE(INPUT_MULTIPLE_FIELDS_UI) && ENABLE(CALENDAR_PICKER)
+ // A method asking if the platform is able to show a calendar picker for a given input type.
+ virtual bool supportsCalendarPicker(const AtomicString&) const { return false; }
+#endif
+
// Text selection colors.
Color activeSelectionBackgroundColor() const;
Color inactiveSelectionBackgroundColor() const;
@@ -236,6 +242,10 @@ public:
virtual String fileListDefaultLabel(bool multipleFilesAllowed) const;
virtual String fileListNameForWidth(const FileList*, const Font&, int width, bool multipleFilesAllowed) const;
+ virtual void paintPlugInSnapshotOverlay(RenderSnapshottedPlugIn*, const PaintInfo&, const LayoutPoint&) const { }
+
+ virtual bool shouldOpenPickerWithF4Key() const;
+
protected:
// The platform selection color.
virtual Color platformActiveSelectionBackgroundColor() const;