OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 #ifndef CHROME_BROWSER_UI_COCOA_EXTENSIONS_BUNDLE_UTIL_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_EXTENSIONS_BUNDLE_UTIL_H_ |
| 7 |
| 8 #import <Cocoa/Cocoa.h> |
| 9 |
| 10 #include "chrome/browser/extensions/bundle_installer.h" |
| 11 |
| 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); |
| 17 |
| 18 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_BUNDLE_UTIL_H_ |
OLD | NEW |