Index: Source/core/html/forms/PopupMenuClient.h |
diff --git a/Source/core/html/forms/PopupMenuClient.h b/Source/core/html/forms/PopupMenuClient.h |
index 2e0d1c33765ee65452883b41a0b82c1055c375ae..00bfbe306e2b90e5f72fb83d6991d94a559ccf5c 100644 |
--- a/Source/core/html/forms/PopupMenuClient.h |
+++ b/Source/core/html/forms/PopupMenuClient.h |
@@ -29,6 +29,9 @@ |
namespace blink { |
+class Element; |
+class RenderStyle; |
+ |
class PopupMenuClient { |
public: |
virtual ~PopupMenuClient() { } |
@@ -51,6 +54,9 @@ public: |
virtual bool itemIsLabel(unsigned listIndex) const = 0; |
virtual bool itemIsSelected(unsigned listIndex) const = 0; |
virtual void setTextFromItem(unsigned listIndex) = 0; |
+ virtual IntRect elementRectRelativeToRootView() const = 0; |
+ virtual Element& ownerElement() const = 0; |
+ virtual RenderStyle* renderStyleForItem(Element&) const = 0; |
virtual void listBoxSelectItem(int /*listIndex*/, bool /*allowMultiplySelections*/, bool /*shift*/, bool /*fireOnChangeNow*/ = true) { ASSERT_NOT_REACHED(); } |
virtual bool multiple() const |