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

Unified Diff: ash/app_list/app_list_shower_delegate_factory.h

Issue 1874043002: Reland of AppListController refactoring part 2: Ash's AppListShowerDelegate imlementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mus_chrome_delegates_app_list_2
Patch Set: Created 4 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
« no previous file with comments | « ash/app_list/app_list_shower_delegate.cc ('k') | ash/app_list/app_list_shower_delegate_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/app_list/app_list_shower_delegate_factory.h
diff --git a/ash/app_list/app_list_shower_delegate_factory.h b/ash/app_list/app_list_shower_delegate_factory.h
new file mode 100644
index 0000000000000000000000000000000000000000..67ee0aaea1dca2680ce463de7f621e8f107abd3f
--- /dev/null
+++ b/ash/app_list/app_list_shower_delegate_factory.h
@@ -0,0 +1,40 @@
+// Copyright 2016 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 ASH_APP_LIST_APP_LIST_SHOWER_DELEGATE_FACTORY_H_
+#define ASH_APP_LIST_APP_LIST_SHOWER_DELEGATE_FACTORY_H_
+
+#include <memory>
+
+#include "ash/ash_export.h"
+#include "base/macros.h"
+#include "ui/app_list/shower/app_list_shower_delegate_factory.h"
+
+namespace app_list {
+class AppListShower;
+}
+
+namespace ash {
+
+class AppListViewDelegateFactory;
+
+class ASH_EXPORT AppListShowerDelegateFactory
+ : public app_list::AppListShowerDelegateFactory {
+ public:
+ explicit AppListShowerDelegateFactory(
+ std::unique_ptr<AppListViewDelegateFactory> view_delegate_factory);
+ ~AppListShowerDelegateFactory() override;
+
+ std::unique_ptr<app_list::AppListShowerDelegate> GetDelegate(
+ app_list::AppListShower* shower) override;
+
+ private:
+ std::unique_ptr<AppListViewDelegateFactory> view_delegate_factory_;
+
+ DISALLOW_COPY_AND_ASSIGN(AppListShowerDelegateFactory);
+};
+
+} // namespace ash
+
+#endif // ASH_APP_LIST_APP_LIST_SHOWER_DELEGATE_FACTORY_H_
« no previous file with comments | « ash/app_list/app_list_shower_delegate.cc ('k') | ash/app_list/app_list_shower_delegate_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698