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

Unified Diff: ash/common/shelf/shelf_layout_manager.h

Issue 2700523004: Remove docked windows entirely in M59. (Closed)
Patch Set: Rebase Created 3 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
« no previous file with comments | « ash/common/ash_switches.cc ('k') | ash/common/shelf/shelf_layout_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/shelf/shelf_layout_manager.h
diff --git a/ash/common/shelf/shelf_layout_manager.h b/ash/common/shelf/shelf_layout_manager.h
index 652549557befd6f8bd399daf1fc875489f0c9ecf..23e6a91eb3f3ad81918a6226612659f4c8a7da32 100644
--- a/ash/common/shelf/shelf_layout_manager.h
+++ b/ash/common/shelf/shelf_layout_manager.h
@@ -11,7 +11,6 @@
#include "ash/common/session/session_state_observer.h"
#include "ash/common/shelf/wm_shelf.h"
#include "ash/common/shell_observer.h"
-#include "ash/common/wm/dock/docked_window_layout_manager_observer.h"
#include "ash/common/wm/lock_state_observer.h"
#include "ash/common/wm/wm_snap_to_pixel_layout_manager.h"
#include "ash/common/wm/workspace/workspace_types.h"
@@ -53,7 +52,6 @@ class WmShelf;
class ASH_EXPORT ShelfLayoutManager
: public ShellObserver,
public aura::client::ActivationChangeObserver,
- public DockedWindowLayoutManagerObserver,
public keyboard::KeyboardControllerObserver,
public LockStateObserver,
public wm::WmSnapToPixelLayoutManager,
@@ -77,9 +75,6 @@ class ASH_EXPORT ShelfLayoutManager
// Returns the preferred size of the shelf for the target visibility state.
gfx::Size GetPreferredSize();
- // Returns the docked area bounds.
- const gfx::Rect& dock_bounds() const { return dock_bounds_; }
-
// Returns the bounds within the root window not occupied by the shelf nor the
// virtual keyboard.
const gfx::Rect& user_work_area_bounds() const {
@@ -275,11 +270,6 @@ class ASH_EXPORT ShelfLayoutManager
int GetWorkAreaInsets(const State& state, int size) const;
- // Overridden from DockedWindowLayoutManagerObserver:
- void OnDockBoundsChanging(
- const gfx::Rect& dock_bounds,
- DockedWindowLayoutManagerObserver::Reason reason) override;
-
// Called when the LoginUI changes from visible to invisible.
void UpdateShelfVisibilityAfterLoginUIChange();
@@ -347,9 +337,6 @@ class ASH_EXPORT ShelfLayoutManager
// The bounds of the keyboard.
gfx::Rect keyboard_bounds_;
- // The bounds of the dock.
- gfx::Rect dock_bounds_;
-
// The bounds within the root window not occupied by the shelf nor the virtual
// keyboard.
gfx::Rect user_work_area_bounds_;
« no previous file with comments | « ash/common/ash_switches.cc ('k') | ash/common/shelf/shelf_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698