summaryrefslogtreecommitdiff
path: root/Source/WebCore/rendering/RenderTheme.h
diff options
context:
space:
mode:
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;