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

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

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_UI_UTIL_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_UI_UTIL_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_UI_UTIL_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_UI_UTIL_H_
7 7
8 namespace content { 8 namespace content {
9 class BrowserContext; 9 class BrowserContext;
10 class WebContents;
11 } 10 }
12 11
13 namespace extensions { 12 namespace extensions {
14 13
15 class Extension; 14 class Extension;
16 15
17 namespace ui_util { 16 namespace ui_util {
18 17
19 // Returns true if the extension should be displayed in the app launcher. 18 // Returns true if the extension should be displayed in the app launcher.
20 // Checks whether the extension is an ephemeral app or should be hidden due to 19 // Checks whether the extension is an ephemeral app or should be hidden due to
(...skipping 23 matching lines...) Expand all
44 // mostly the same as the extension being a component extension, but also 43 // mostly the same as the extension being a component extension, but also
45 // includes non-component apps that are hidden from the app launcher and NTP, 44 // includes non-component apps that are hidden from the app launcher and NTP,
46 // as well as ephemeral apps. 45 // as well as ephemeral apps.
47 bool ShouldNotBeVisible(const Extension* extension, 46 bool ShouldNotBeVisible(const Extension* extension,
48 content::BrowserContext* context); 47 content::BrowserContext* context);
49 48
50 } // namespace ui_util 49 } // namespace ui_util
51 } // namespace extensions 50 } // namespace extensions
52 51
53 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_UI_UTIL_H_ 52 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_UI_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_tab_util.h ('k') | chrome/browser/extensions/extension_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698