Add new certificateProvider extension API.
[chromium-blink-merge.git] / chrome / browser / ui / cocoa / extensions / bundle_util.h
blobf099f3625cf50e1a5a0cce5c2361e9415b7ec0c6
1 // Copyright 2015 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_UI_COCOA_EXTENSIONS_BUNDLE_UTIL_H_
6 #define CHROME_BROWSER_UI_COCOA_EXTENSIONS_BUNDLE_UTIL_H_
8 #import <Cocoa/Cocoa.h>
10 #include "chrome/browser/extensions/bundle_installer.h"
12 // For each item in |items|, adds a line containing the item's icon and title
13 // to |items_field|. Returns the required height for |items_field| in pixels.
14 CGFloat PopulateBundleItemsList(
15 const extensions::BundleInstaller::ItemList& items,
16 NSView* items_field);
18 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_BUNDLE_UTIL_H_