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

Side by Side Diff: chrome/browser/extensions/extension_action_test_util.h

Issue 516633002: Stop showing page actions in the location bar with redesign enabled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 unified diff | Download patch
OLDNEW
(Empty)
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.
4
5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_ACTION_TEST_UTIL_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_ACTION_TEST_UTIL_H_
7
8 #include "base/basictypes.h"
9
10 namespace content {
11 class WebContents;
12 }
13
14 namespace extensions {
15 namespace extension_action_test_util {
16
17 // TODO(devlin): Should we also pull out methods to test browser actions?
Finnur 2014/08/28 11:35:34 I'll let you decide if and when. It kind of makes
Devlin 2014/08/28 18:08:53 Acknowledged.
18
19 // Returns the number of page actions that are visible in the given
20 // |web_contents|.
21 size_t GetVisiblePageActionCount(content::WebContents* web_contents);
22
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);
26
27 } // namespace extension_action_test_util
28 } // namespace extensions
29
30 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_ACTION_TEST_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698