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

Unified Diff: ash/app_list/app_list_view_delegate_factory.h

Issue 1856943003: 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: Rebase. 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_unittest.cc ('k') | ash/ash.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/app_list/app_list_view_delegate_factory.h
diff --git a/ash/keyboard/keyboard_ui_observer.h b/ash/app_list/app_list_view_delegate_factory.h
similarity index 41%
copy from ash/keyboard/keyboard_ui_observer.h
copy to ash/app_list/app_list_view_delegate_factory.h
index c1b130b04c3a5eac04fb29a6eaa5d47f5efe26e6..4de11b4671ec14fc3b531bfc529007212321eb8d 100644
--- a/ash/keyboard/keyboard_ui_observer.h
+++ b/ash/app_list/app_list_view_delegate_factory.h
@@ -2,22 +2,24 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef ASH_KEYBOARD_KEYBOARD_UI_OBSERVER_H_
-#define ASH_KEYBOARD_KEYBOARD_UI_OBSERVER_H_
+#ifndef ASH_WM_APP_LIST_VIEW_DELEGATE_FACTORY_H_
+#define ASH_WM_APP_LIST_VIEW_DELEGATE_FACTORY_H_
#include "ash/ash_export.h"
-#include "base/macros.h"
+
+namespace app_list {
+class AppListViewDelegate;
+}
namespace ash {
-class ASH_EXPORT KeyboardUIObserver {
+class ASH_EXPORT AppListViewDelegateFactory {
public:
- virtual void OnKeyboardEnabledStateChanged(bool new_value) = 0;
+ virtual ~AppListViewDelegateFactory() {}
- protected:
- virtual ~KeyboardUIObserver() {}
+ virtual app_list::AppListViewDelegate* GetDelegate() = 0;
};
} // namespace ash
-#endif // ASH_KEYBOARD_KEYBOARD_UI_OBSERVER_H_
+#endif // ASH_WM_APP_LIST_VIEW_DELEGATE_FACTORY_H_
« no previous file with comments | « ash/app_list/app_list_shower_delegate_unittest.cc ('k') | ash/ash.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698