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

Unified Diff: Source/web/PopupMenuImpl.h

Issue 1193813002: New SELECT Popup: Reduce the size of JSON data. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 | « no previous file | Source/web/PopupMenuImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/PopupMenuImpl.h
diff --git a/Source/web/PopupMenuImpl.h b/Source/web/PopupMenuImpl.h
index 8189a71bb429829fde79bbb1682ac703bf0e540f..8e9877d36c4cdedf19dd61b6790136683f913dc4 100644
--- a/Source/web/PopupMenuImpl.h
+++ b/Source/web/PopupMenuImpl.h
@@ -30,11 +30,12 @@ public:
private:
PopupMenuImpl(ChromeClientImpl*, PopupMenuClient*);
+ class ItemIterationContext;
bool hasTooManyItemsForStyling();
- void addOption(HTMLOptionElement&, int& listIndex, bool enableExtraStyling, SharedBuffer*);
- void addOptGroup(HTMLOptGroupElement&, int& listIndex, bool enableExtraStyling, SharedBuffer*);
- void addSeparator(HTMLHRElement&, int& listIndex, bool enableExtraStyling, SharedBuffer*);
- void addElementStyle(HTMLElement&, bool enableExtraStyling, SharedBuffer*);
+ void addOption(ItemIterationContext&, HTMLOptionElement&, int& listIndex, SharedBuffer*);
+ void addOptGroup(ItemIterationContext&, HTMLOptGroupElement&, int& listIndex, SharedBuffer*);
+ void addSeparator(ItemIterationContext&, HTMLHRElement&, int& listIndex, SharedBuffer*);
+ void addElementStyle(ItemIterationContext&, HTMLElement&, SharedBuffer*);
// PopupMenu functions:
void show(const FloatQuad& controlPosition, const IntSize& controlSize, int index) override;
« no previous file with comments | « no previous file | Source/web/PopupMenuImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698