MacViews: Get c/b/ui/views/tabs to build on Mac
[chromium-blink-merge.git] / chrome / browser / extensions / extension_action_test_util.h
blob45afa000a15198081ca7b828c347740c63c277c8
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_ACTION_TEST_UTIL_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_ACTION_TEST_UTIL_H_
8 #include "base/basictypes.h"
10 namespace content {
11 class WebContents;
14 namespace extensions {
15 namespace extension_action_test_util {
17 // TODO(devlin): Should we also pull out methods to test browser actions?
19 // Returns the number of page actions that are visible in the given
20 // |web_contents|.
21 size_t GetVisiblePageActionCount(content::WebContents* web_contents);
23 // Returns the total number of page actions (visible or not) for the given
24 // |web_contents|.
25 size_t GetTotalPageActionCount(content::WebContents* web_contents);
27 } // namespace extension_action_test_util
28 } // namespace extensions
30 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_ACTION_TEST_UTIL_H_