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

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

Issue 1013303004: Fix issue on <select> style change when popup is visible (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed test expectation Created 5 years, 9 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
Index: Source/core/html/forms/PopupMenuClient.h
diff --git a/Source/core/html/forms/PopupMenuClient.h b/Source/core/html/forms/PopupMenuClient.h
index 8c8a5d958fba5b93d3e8aedc0b2d7999591c974d..ffbd645dc7519bf77801d864d2002692983952e4 100644
--- a/Source/core/html/forms/PopupMenuClient.h
+++ b/Source/core/html/forms/PopupMenuClient.h
@@ -51,10 +51,13 @@ public:
virtual int listSize() const = 0;
virtual int selectedIndex() const = 0;
virtual void popupDidHide() = 0;
+ // A popup is canceled when the popup was hidden without selecting an item.
+ virtual void popupDidCancel() = 0;
virtual bool itemIsSeparator(unsigned listIndex) const = 0;
virtual bool itemIsLabel(unsigned listIndex) const = 0;
virtual bool itemIsSelected(unsigned listIndex) const = 0;
- virtual void setTextFromItem(unsigned listIndex) = 0;
+ // Provisional selection is a selection made using arrow keys or type ahead.
+ virtual void provisionalSelectionChanged(unsigned) = 0;
virtual IntRect elementRectRelativeToViewport() const = 0;
virtual Element& ownerElement() const = 0;
virtual const ComputedStyle* computedStyleForItem(Element&) const = 0;

Powered by Google App Engine
This is Rietveld 408576698