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

Unified Diff: Source/web/PopupMenuTest.cpp

Issue 952973003: Remove dead code from unit tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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/tests/PageSerializerTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/PopupMenuTest.cpp
diff --git a/Source/web/PopupMenuTest.cpp b/Source/web/PopupMenuTest.cpp
index 3255af53bd50581cab545c5cadc2d3cb87fa8f97..880ff9ba2397affb98789c259f5790bb5036be02 100644
--- a/Source/web/PopupMenuTest.cpp
+++ b/Source/web/PopupMenuTest.cpp
@@ -113,8 +113,6 @@ public:
return PopupMenuStyle(Color::black, Color::white, font, true, false, Length(), TextDirection(), false /* has text direction override */);
}
virtual PopupMenuStyle menuStyle() const { return itemStyle(0); }
- virtual int clientInsetLeft() const { return 0; }
- virtual int clientInsetRight() const { return 0; }
virtual LayoutUnit clientPaddingLeft() const { return 0; }
virtual LayoutUnit clientPaddingRight() const { return 0; }
virtual int listSize() const { return m_listSize; }
@@ -123,7 +121,6 @@ public:
virtual bool itemIsSeparator(unsigned listIndex) const { return false; }
virtual bool itemIsLabel(unsigned listIndex) const { return false; }
virtual bool itemIsSelected(unsigned listIndex) const { return listIndex == m_selectIndex; }
- virtual bool valueShouldChangeOnHotTrack() const { return false; }
virtual void setTextFromItem(unsigned listIndex) { }
virtual IntRect elementRectRelativeToViewport() const override { return IntRect(); }
virtual Element& ownerElement() const override { return *toElement(m_node); }
« no previous file with comments | « no previous file | Source/web/tests/PageSerializerTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698