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

Side by Side Diff: ash/shelf/shelf.h

Issue 2238903003: ash: Remove WmShelf::IsShowingOverflowBubble (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_SHELF_SHELF_H_ 5 #ifndef ASH_SHELF_SHELF_H_
6 #define ASH_SHELF_SHELF_H_ 6 #define ASH_SHELF_SHELF_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 95
96 // Cycles the window focus linearly over the current shelf items. 96 // Cycles the window focus linearly over the current shelf items.
97 void CycleWindowLinear(CycleDirection direction); 97 void CycleWindowLinear(CycleDirection direction);
98 98
99 void AddIconObserver(ShelfIconObserver* observer); 99 void AddIconObserver(ShelfIconObserver* observer);
100 void RemoveIconObserver(ShelfIconObserver* observer); 100 void RemoveIconObserver(ShelfIconObserver* observer);
101 101
102 // Returns true if the shelf is showing a context menu. 102 // Returns true if the shelf is showing a context menu.
103 bool IsShowingMenu() const; 103 bool IsShowingMenu() const;
104 104
105 // TODO(jamescook): Migrate this to ShelfWidget.
105 bool IsShowingOverflowBubble() const; 106 bool IsShowingOverflowBubble() const;
106 107
107 void SetVisible(bool visible) const; 108 void SetVisible(bool visible) const;
108 bool IsVisible() const; 109 bool IsVisible() const;
109 110
110 void SchedulePaint(); 111 void SchedulePaint();
111 112
112 AppListButton* GetAppListButton() const; 113 AppListButton* GetAppListButton() const;
113 114
114 // Launch a 0-indexed shelf item in the shelf. 115 // Launch a 0-indexed shelf item in the shelf.
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 150
150 ShelfAlignment alignment_ = SHELF_ALIGNMENT_BOTTOM; 151 ShelfAlignment alignment_ = SHELF_ALIGNMENT_BOTTOM;
151 ShelfAutoHideBehavior auto_hide_behavior_ = SHELF_AUTO_HIDE_BEHAVIOR_NEVER; 152 ShelfAutoHideBehavior auto_hide_behavior_ = SHELF_AUTO_HIDE_BEHAVIOR_NEVER;
152 153
153 DISALLOW_COPY_AND_ASSIGN(Shelf); 154 DISALLOW_COPY_AND_ASSIGN(Shelf);
154 }; 155 };
155 156
156 } // namespace ash 157 } // namespace ash
157 158
158 #endif // ASH_SHELF_SHELF_H_ 159 #endif // ASH_SHELF_SHELF_H_
OLDNEW
« ash/common/shelf/shelf_view.cc ('K') | « ash/mus/bridge/wm_shelf_mus.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698