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_ |