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

Unified Diff: ash/shelf/shelf_widget.cc

Issue 2267183002: ash: Remove unnecessary utility methods from ash::Shelf (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 side-by-side diff with in-line comments
Download patch
« ash/shelf/shelf_widget.h ('K') | « ash/shelf/shelf_widget.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/shelf_widget.cc
diff --git a/ash/shelf/shelf_widget.cc b/ash/shelf/shelf_widget.cc
index 4b0d9c012ca00ff071fb0f15f7b75d7c570ac4ec..eed607731e222c4dd1827b3e93b7a96bb1b01db6 100644
--- a/ash/shelf/shelf_widget.cc
+++ b/ash/shelf/shelf_widget.cc
@@ -458,6 +458,14 @@ void ShelfWidget::SetShelfVisibility(bool visible) {
shelf_view_->SetVisible(visible);
}
+bool ShelfWidget::IsShowingMenu() const {
+ return shelf_view_ && shelf_view_->IsShowingMenu();
+}
+
+bool ShelfWidget::IsShowingOverflowBubble() const {
+ return shelf_view_ && shelf_view_->IsShowingOverflowBubble();
+}
+
void ShelfWidget::SetFocusCycler(FocusCycler* focus_cycler) {
delegate_view_->set_focus_cycler(focus_cycler);
if (focus_cycler)
« ash/shelf/shelf_widget.h ('K') | « ash/shelf/shelf_widget.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698