Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(676)

Unified Diff: Source/core/html/forms/PopupMenuClient.h

Issue 736883002: Implement <select> Popup Menu using PagePopup (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed tests for mac Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/HTMLSelectElement.h ('k') | Source/core/page/PagePopup.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/core/html/HTMLSelectElement.h ('k') | Source/core/page/PagePopup.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698