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

Unified Diff: chrome/browser/ui/cocoa/extensions/bundle_util.h

Issue 816223008: Update UI for WebStore bundle installs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bundles_api
Patch Set: asvitkine review 2 Created 5 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/extensions/bundle_util.h
diff --git a/chrome/browser/ui/cocoa/extensions/bundle_util.h b/chrome/browser/ui/cocoa/extensions/bundle_util.h
new file mode 100644
index 0000000000000000000000000000000000000000..f099f3625cf50e1a5a0cce5c2361e9415b7ec0c6
--- /dev/null
+++ b/chrome/browser/ui/cocoa/extensions/bundle_util.h
@@ -0,0 +1,18 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_COCOA_EXTENSIONS_BUNDLE_UTIL_H_
+#define CHROME_BROWSER_UI_COCOA_EXTENSIONS_BUNDLE_UTIL_H_
+
+#import <Cocoa/Cocoa.h>
+
+#include "chrome/browser/extensions/bundle_installer.h"
+
+// For each item in |items|, adds a line containing the item's icon and title
+// to |items_field|. Returns the required height for |items_field| in pixels.
+CGFloat PopulateBundleItemsList(
+ const extensions::BundleInstaller::ItemList& items,
+ NSView* items_field);
+
+#endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_BUNDLE_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698