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

Unified Diff: ash/common/wm/panels/panel_layout_manager.h

Issue 2036353002: mash: Move ash/common/wm/shelf to ash/common/shelf (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gyp Created 4 years, 6 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/common/wm/panels/panel_layout_manager.h
diff --git a/ash/common/wm/panels/panel_layout_manager.h b/ash/common/wm/panels/panel_layout_manager.h
index 5a8b9dd7b0dc26e0f75bb23e1f89db81a9a567da..b90058f2744611dd6909c8b4e5760d16a81959dd 100644
--- a/ash/common/wm/panels/panel_layout_manager.h
+++ b/ash/common/wm/panels/panel_layout_manager.h
@@ -9,7 +9,7 @@
#include <memory>
#include "ash/ash_export.h"
-#include "ash/common/wm/shelf/wm_shelf_observer.h"
+#include "ash/common/shelf/wm_shelf_observer.h"
#include "ash/common/wm/window_state_observer.h"
#include "ash/common/wm/wm_activation_observer.h"
#include "ash/common/wm/wm_display_observer.h"
@@ -40,10 +40,10 @@ namespace ash {
class PanelCalloutWidget;
class Shelf;
class ShelfLayoutManager;
+class WmShelf;
namespace wm {
class WmRootWindowController;
-class WmShelf;
}
// PanelLayoutManager is responsible for organizing panels within the
@@ -64,7 +64,7 @@ class ASH_EXPORT PanelLayoutManager
public wm::WmRootWindowControllerObserver,
public wm::WmWindowObserver,
public keyboard::KeyboardControllerObserver,
- public wm::WmShelfObserver {
+ public WmShelfObserver {
public:
explicit PanelLayoutManager(wm::WmWindow* panel_container);
~PanelLayoutManager() override;
@@ -87,8 +87,8 @@ class ASH_EXPORT PanelLayoutManager
// Returns the callout widget (arrow) for |panel|.
views::Widget* GetCalloutWidgetForPanel(wm::WmWindow* panel);
- wm::WmShelf* shelf() { return shelf_; }
- void SetShelf(wm::WmShelf* shelf);
+ WmShelf* shelf() { return shelf_; }
+ void SetShelf(WmShelf* shelf);
// Overridden from wm::WmLayoutManager
void OnWindowResized() override;
@@ -121,7 +121,7 @@ class ASH_EXPORT PanelLayoutManager
// Overridden from WindowTreeHostManager::Observer
void OnDisplayConfigurationChanged() override;
- // Overridden from wm::WmShelfObserver
+ // Overridden from WmShelfObserver
void WillChangeVisibilityState(ShelfVisibilityState new_state) override;
void OnShelfIconPositionsChanged() override;
@@ -193,7 +193,7 @@ class ASH_EXPORT PanelLayoutManager
// The panel being dragged.
wm::WmWindow* dragged_panel_;
// The shelf we are observing for shelf icon changes.
- wm::WmShelf* shelf_;
+ WmShelf* shelf_;
// When not NULL, the shelf is hidden (i.e. full screen) and this tracks the
// set of panel windows which have been temporarily hidden and need to be

Powered by Google App Engine
This is Rietveld 408576698