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

Unified Diff: ash/shell.h

Issue 2169533002: mash: Migrate shelf app list button to wm common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move files, cleanup Created 4 years, 5 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: ash/shell.h
diff --git a/ash/shell.h b/ash/shell.h
index bbb4e20bb69fa3672d052c2232da58451625cebf..005bc40a76d8c2c4cc6d14066c6c8214cac805a2 100644
--- a/ash/shell.h
+++ b/ash/shell.h
@@ -27,9 +27,6 @@
#include "ui/wm/core/cursor_manager.h"
#include "ui/wm/public/activation_change_observer.h"
-namespace app_list {
-class AppListView;
-}
namespace aura {
class EventFilter;
class RootWindow;
@@ -80,7 +77,6 @@ class WindowModalityController;
namespace ash {
class AcceleratorController;
-class AppListController;
class AshNativeCursorManager;
class AutoclickController;
class BluetoothNotificationController;
@@ -127,7 +123,6 @@ class SessionStateDelegate;
class Shelf;
class ShelfDelegate;
class ShelfItemDelegateManager;
-class ShelfModel;
class ShelfWindowWatcher;
class ShellDelegate;
struct ShellInitParams;
@@ -229,24 +224,6 @@ class ASH_EXPORT Shell : public SystemModalContainerEventFilterDelegate,
void ShowContextMenu(const gfx::Point& location_in_screen,
ui::MenuSourceType source_type);
- // Shows the app list. |window| specifies in which display the app
- // list should be shown. If this is NULL, the active root window
- // will be used.
- void ShowAppList(aura::Window* anchor);
-
- // Dismisses the app list.
- void DismissAppList();
-
- // Shows the app list if it's not visible. Dismisses it otherwise.
- void ToggleAppList(aura::Window* anchor);
-
- // Returns app list actual visibility. This might differ from
- // GetAppListTargetVisibility() when hiding animation is still in flight.
- bool IsApplistVisible() const;
-
- // Returns app list target visibility.
- bool GetAppListTargetVisibility() const;
-
// Creates a default views::NonClientFrameView for use by windows in the
// Ash environment.
views::NonClientFrameView* CreateDefaultNonClientFrameView(
@@ -476,8 +453,6 @@ class ASH_EXPORT Shell : public SystemModalContainerEventFilterDelegate,
}
#endif // defined(OS_CHROMEOS)
- ShelfModel* shelf_model() { return shelf_model_.get(); }
-
WindowPositioner* window_positioner() { return window_positioner_.get(); }
// Returns the launcher delegate, creating if necesary.
@@ -590,8 +565,6 @@ class ASH_EXPORT Shell : public SystemModalContainerEventFilterDelegate,
std::unique_ptr<ShelfDelegate> shelf_delegate_;
std::unique_ptr<ShelfItemDelegateManager> shelf_item_delegate_manager_;
std::unique_ptr<ShelfWindowWatcher> shelf_window_watcher_;
-
- std::unique_ptr<ShelfModel> shelf_model_;
std::unique_ptr<WindowPositioner> window_positioner_;
std::unique_ptr<DragDropController> drag_drop_controller_;

Powered by Google App Engine
This is Rietveld 408576698