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

Unified Diff: ui/app_list/app_list_shower_delegate_factory.h

Issue 1830293002: AppListController refactoring part 1: AppListShower implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: --similarity 30 Created 4 years, 9 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: ui/app_list/app_list_shower_delegate_factory.h
diff --git a/ui/app_list/app_list_shower_delegate_factory.h b/ui/app_list/app_list_shower_delegate_factory.h
new file mode 100644
index 0000000000000000000000000000000000000000..9e705cb5a2d3963f1a983c2695e57a8957737dd4
--- /dev/null
+++ b/ui/app_list/app_list_shower_delegate_factory.h
@@ -0,0 +1,26 @@
+// 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 UI_APP_LIST_APP_LIST_SHOWER_DELEGATE_FACTORY_H_
+#define UI_APP_LIST_APP_LIST_SHOWER_DELEGATE_FACTORY_H_
+
+#include "base/memory/scoped_ptr.h"
+#include "ui/app_list/app_list_shower.h"
+#include "ui/app_list/app_list_shower_delegate.h"
xiyuan 2016/03/24 20:31:11 nit: Since we forward declared AppListShower and A
mfomitchev 2016/03/29 17:33:31 Done.
+
+namespace app_list {
+class AppListShower;
xiyuan 2016/03/24 20:31:11 nit: insert an empty line
mfomitchev 2016/03/29 17:33:31 Done.
+class AppListShowerDelegate;
+
+class AppListShowerDelegateFactory {
+ public:
+ virtual ~AppListShowerDelegateFactory() {}
+
+ virtual scoped_ptr<app_list::AppListShowerDelegate> GetDelegate(
+ app_list::AppListShower* shower) = 0;
xiyuan 2016/03/24 20:31:11 nit: "app_list::" is redundant
mfomitchev 2016/03/29 17:33:31 Done.
+};
+
+} // namespace app_list
+
+#endif // UI_APP_LIST_APP_LIST_SHOWER_DELEGATE_FACTORY_H_

Powered by Google App Engine
This is Rietveld 408576698