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

Side by Side Diff: ash/wm/common/shelf/wm_shelf.h

Issue 1914093002: Refactors DockedWindowLayoutManager in terms of ash/wm/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@nuke_aura_window
Patch Set: comment 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 unified diff | Download patch
« no previous file with comments | « ash/wm/aura/wm_shelf_aura.cc ('k') | ash/wm/common/shelf/wm_shelf_constants.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef ASH_WM_COMMON_SHELF_WM_SHELF_H_
6 #define ASH_WM_COMMON_SHELF_WM_SHELF_H_
7
8 #include "ash/ash_export.h"
9 #include "ash/wm/common/shelf/wm_shelf_types.h"
10
11 namespace ash {
12 namespace wm {
13
14 class WmShelfObserver;
15 class WmWindow;
16
17 // Used for accessing global state.
18 class ASH_EXPORT WmShelf {
19 public:
20 // Returns the window showing the shelf.
21 virtual WmWindow* GetWindow() = 0;
22
23 virtual ShelfAlignment GetAlignment() = 0;
24
25 virtual ShelfBackgroundType GetBackgroundType() = 0;
26
27 virtual void UpdateVisibilityState() = 0;
28
29 virtual void AddObserver(WmShelfObserver* observer) = 0;
30 virtual void RemoveObserver(WmShelfObserver* observer) = 0;
31
32 protected:
33 virtual ~WmShelf() {}
34 };
35
36 } // namespace wm
37 } // namespace ash
38
39 #endif // ASH_WM_COMMON_SHELF_WM_SHELF_H_
OLDNEW
« no previous file with comments | « ash/wm/aura/wm_shelf_aura.cc ('k') | ash/wm/common/shelf/wm_shelf_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698