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

Unified Diff: Source/web/PopupMenuImpl.h

Issue 1149153003: New SELECT Popup: Very slow to open a popup with many items. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: More optimization Created 5 years, 7 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') | Source/web/resources/listPicker.js » ('J')
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 8ce8a18f909e5c89d8b388a14ae273195433fbb9..d7c7ace6b6340b80af201e028c2fdff4f59bec7e 100644
--- a/Source/web/PopupMenuImpl.h
+++ b/Source/web/PopupMenuImpl.h
@@ -30,10 +30,10 @@ public:
private:
PopupMenuImpl(ChromeClientImpl*, PopupMenuClient*);
- void addOption(HTMLOptionElement&, SharedBuffer*);
- void addOptGroup(HTMLOptGroupElement&, SharedBuffer*);
- void addSeparator(HTMLHRElement&, SharedBuffer*);
- void addElementStyle(HTMLElement&, SharedBuffer*);
+ void addOption(HTMLOptionElement&, bool enableExtraStyling, SharedBuffer*);
+ void addOptGroup(HTMLOptGroupElement&, bool enableExtraStyling, SharedBuffer*);
+ void addSeparator(HTMLHRElement&, bool enableExtraStyling, SharedBuffer*);
+ void addElementStyle(HTMLElement&, bool enableExtraStyling, 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') | Source/web/resources/listPicker.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698