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

Unified Diff: ash/common/wm/dock/docked_window_layout_manager_observer.h

Issue 2700523004: Remove docked windows entirely in M59. (Closed)
Patch Set: Rebase Created 3 years, 10 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/dock/docked_window_layout_manager_observer.h
diff --git a/ash/common/wm/dock/docked_window_layout_manager_observer.h b/ash/common/wm/dock/docked_window_layout_manager_observer.h
deleted file mode 100644
index 5a3484fd38e66adb8c6d6e37b1df97302eeaa09e..0000000000000000000000000000000000000000
--- a/ash/common/wm/dock/docked_window_layout_manager_observer.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright 2013 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 ASH_COMMON_WM_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_OBSERVER_H_
-#define ASH_COMMON_WM_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_OBSERVER_H_
-
-#include "ash/ash_export.h"
-
-namespace gfx {
-class Rect;
-}
-
-namespace ash {
-
-// Observers to the DockedWindowLayoutManager are notified of significant
-// events that occur with the docked windows, such as the bounds change.
-class ASH_EXPORT DockedWindowLayoutManagerObserver {
- public:
- // Reason for notification. Allows selectively ignoring notifications to
- // prevent a notification loop.
- enum Reason {
- CHILD_CHANGED,
- DISPLAY_RESIZED,
- DISPLAY_INSETS_CHANGED,
- SHELF_ALIGNMENT_CHANGED,
- KEYBOARD_BOUNDS_CHANGING
- };
- // Called after the dock bounds are changed.
- virtual void OnDockBoundsChanging(const gfx::Rect& new_bounds,
- Reason reason) = 0;
-
- protected:
- virtual ~DockedWindowLayoutManagerObserver() {}
-};
-
-} // namespace ash
-
-#endif // ASH_COMMON_WM_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_OBSERVER_H_

Powered by Google App Engine
This is Rietveld 408576698