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

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..22089ef6bdb553a2cb8c3c2ec9ac8c8f6cfd48dc 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;

Powered by Google App Engine
This is Rietveld 408576698