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

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

Issue 10592022: Get rid of the multiple includes of browser_action_test_util files in browser.lib and browser_tests… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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 | chrome/browser/ui/views/browser_action_test_util_views.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/browser_action_test_util.h
===================================================================
--- chrome/browser/extensions/browser_action_test_util.h (revision 143189)
+++ chrome/browser/extensions/browser_action_test_util.h (working copy)
@@ -11,6 +11,7 @@
#include "build/build_config.h"
class Browser;
+class ExtensionAction;
namespace gfx {
class Rect;
@@ -27,9 +28,9 @@
// Returns the number of browser action currently visible.
int VisibleBrowserActions();
-#if defined(TOOLKIT_VIEWS) && defined(UNIT_TEST)
- // Waits for a browser action at |index| to get updated.
- void WaitForBrowserActionUpdated(int index);
+#if defined(TOOLKIT_VIEWS)
+ // Returns the ExtensionAction for the given index.
+ ExtensionAction* GetExtensionAction(int index);
#endif
// Returns whether the browser action at |index| has a non-null icon. Note
« no previous file with comments | « no previous file | chrome/browser/ui/views/browser_action_test_util_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698