summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions
diff options
context:
space:
mode:
authorfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-10 18:36:58 +0000
committerfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-10 18:36:58 +0000
commita39f1a98657144b7be6eb294820fb363f8267582 (patch)
tree7172bf0984dbc622c6b3bb76edc43138518776c9 /chrome/browser/extensions
parent4abaee203b9d0dfe8c2fb84682a564fe995b3c79 (diff)
downloadchromium_src-a39f1a98657144b7be6eb294820fb363f8267582.zip
chromium_src-a39f1a98657144b7be6eb294820fb363f8267582.tar.gz
chromium_src-a39f1a98657144b7be6eb294820fb363f8267582.tar.bz2
Function WaitForBrowserActionUpdated is only implemented on Views.
Added ifdef. BUG=None TEST=None TBR=kkania Review URL: http://codereview.chromium.org/822004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41179 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions')
-rw-r--r--chrome/browser/extensions/browser_action_test_util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/extensions/browser_action_test_util.h b/chrome/browser/extensions/browser_action_test_util.h
index ab04013..e2d6050 100644
--- a/chrome/browser/extensions/browser_action_test_util.h
+++ b/chrome/browser/extensions/browser_action_test_util.h
@@ -7,6 +7,8 @@
#include <string>
+#include "build/build_config.h"
+
class Browser;
namespace gfx {
@@ -24,8 +26,10 @@ class BrowserActionTestUtil {
// Returns the number of browser action currently visible.
int VisibleBrowserActions();
+#if defined(TOOLKIT_VIEWS)
// Waits for a browser action at |index| to get updated.
void WaitForBrowserActionUpdated(int index);
+#endif
// Returns whether the browser action at |index| has a non-null icon. Note
// that the icon is loaded asynchronously, in which case you can wait for it