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

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: nits 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
Index: ash/shelf/shelf_widget.cc
diff --git a/ash/shelf/shelf_widget.cc b/ash/shelf/shelf_widget.cc
index 4b0d9c012ca00ff071fb0f15f7b75d7c570ac4ec..5cda976831979434aeda2635ab3bdf0c79769167 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::IsShowingContextMenu() 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)
« no previous file with comments | « ash/shelf/shelf_widget.h ('k') | chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698