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

Unified Diff: chrome/browser/extensions/browser_action_test_util_views.cc

Issue 3058011: Add "pushed" as a state a TextButton can show (alongside "normal" and "hover"... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 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: chrome/browser/extensions/browser_action_test_util_views.cc
===================================================================
--- chrome/browser/extensions/browser_action_test_util_views.cc (revision 53742)
+++ chrome/browser/extensions/browser_action_test_util_views.cc (working copy)
@@ -41,8 +41,8 @@
}
bool BrowserActionTestUtil::HasIcon(int index) {
- return !GetContainer(browser_)->GetBrowserActionViewAt(index)->
- button()->icon().empty();
+ return GetContainer(browser_)->GetBrowserActionViewAt(index)->button()->
+ HasIcon();
}
void BrowserActionTestUtil::Press(int index) {

Powered by Google App Engine
This is Rietveld 408576698