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

Unified Diff: chrome/browser/extensions/browser_action_test_util.h

Issue 10855154: Update browserAction.setIcon and pageAction.setIcon for hidpi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 8 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: chrome/browser/extensions/browser_action_test_util.h
diff --git a/chrome/browser/extensions/browser_action_test_util.h b/chrome/browser/extensions/browser_action_test_util.h
index c733f2bce2721eb37681a773d4378a401608797b..1336f644b9bb29f5ee5dcd36d08cef44c43a457e 100644
--- a/chrome/browser/extensions/browser_action_test_util.h
+++ b/chrome/browser/extensions/browser_action_test_util.h
@@ -7,6 +7,7 @@
#include <string>
+#include "base/basictypes.h"
#include "build/build_config.h"
class Browser;
@@ -37,6 +38,8 @@ class BrowserActionTestUtil {
// to load by calling WaitForBrowserActionUpdated.
bool HasIcon(int index);
+ uint32 GetIconID(int index);
Jeffrey Yasskin 2012/08/17 23:20:28 This function needs a comment.
tbarzic 2012/08/21 00:22:07 Done.
+
// Simulates a user click on the browser action button at |index|.
void Press(int index);

Powered by Google App Engine
This is Rietveld 408576698