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

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 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..ed5f56204ea0d1cbab93253987bda5b63680d9fe
--- /dev/null
+++ b/chrome/browser/ui/cocoa/extensions/bundle_util.h
@@ -0,0 +1,17 @@
+// 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 |itemsField|.
Alexei Svitkine (slow) 2015/04/22 16:52:27 Document the return value.
Marc Treib 2015/04/23 09:47:07 Done.
+CGFloat PopulateBundleItemsList(
+ NSView* itemsField, const extensions::BundleInstaller::ItemList& items);
Alexei Svitkine (slow) 2015/04/22 16:52:27 Nit: 1 param per line if first param matches. Als
Marc Treib 2015/04/23 09:47:07 Okay. The style guide allows either, though.
+
+#endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_BUNDLE_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698