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"
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
21 size_t GetVisiblePageActionCount(content::WebContents
* web_contents
);
23 // Returns the total number of page actions (visible or not) for the given
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_