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

Unified Diff: Source/web/ExternalPopupMenu.h

Issue 415343003: Option Groups with display: none should not show the children option elements (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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/web/ExternalPopupMenu.h
diff --git a/Source/web/ExternalPopupMenu.h b/Source/web/ExternalPopupMenu.h
index 037a74aa087c67d6c6b86c3ad4f78e63446dfa1c..fb921824636b9e7e03ff3a45e0a62998c8bf97bc 100644
--- a/Source/web/ExternalPopupMenu.h
+++ b/Source/web/ExternalPopupMenu.h
@@ -77,6 +77,8 @@ private:
// Fills |info| with the popup menu information contained in the
// blink::PopupMenuClient associated with this ExternalPopupMenu.
void getPopupMenuInfo(WebPopupMenuInfo* info);
+ int toPopupMenuItemIndex(int index);
+ int toExternalPopupMenuItemIndex(int index);
blink::PopupMenuClient* m_popupMenuClient;
RefPtr<blink::FrameView> m_frameView;
@@ -85,6 +87,7 @@ private:
blink::Timer<ExternalPopupMenu> m_dispatchEventTimer;
// The actual implementor of the show menu.
WebExternalPopupMenu* m_webExternalPopupMenu;
+ int m_itemCount;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698