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

Unified Diff: ash/accelerators/accelerator_controller.cc

Issue 2961313003: Touch gestures for System Tray/ IME/ Stylus/ Notifications (Closed)
Patch Set: Fixed tdanderson's comments. Created 3 years, 5 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/accelerators/accelerator_controller.cc
diff --git a/ash/accelerators/accelerator_controller.cc b/ash/accelerators/accelerator_controller.cc
index 9393005e1d6af22213bbde04e10460133c66825f..901ac2788df2e7226961245652a12b9de332be27 100644
--- a/ash/accelerators/accelerator_controller.cc
+++ b/ash/accelerators/accelerator_controller.cc
@@ -380,7 +380,7 @@ void HandleShowMessageCenterBubble() {
WebNotificationTray* notification_tray =
status_area_widget->web_notification_tray();
if (notification_tray->visible())
- notification_tray->ShowMessageCenterBubble();
+ notification_tray->ShowBubble();
}
}
@@ -512,8 +512,8 @@ void HandleShowImeMenuBubble() {
if (status_area_widget) {
ImeMenuTray* ime_menu_tray = status_area_widget->ime_menu_tray();
if (ime_menu_tray && ime_menu_tray->visible() &&
- !ime_menu_tray->IsImeMenuBubbleShown()) {
- ime_menu_tray->ShowImeMenuBubble();
+ !ime_menu_tray->GetBubbleView()) {
+ ime_menu_tray->ShowBubble();
}
}
}
@@ -572,7 +572,7 @@ void HandleShowStylusTools() {
Shelf::ForWindow(Shell::GetRootWindowForNewWindows())
->GetStatusAreaWidget()
->palette_tray()
- ->ShowPalette();
+ ->ShowBubble();
}
bool CanHandleShowStylusTools() {

Powered by Google App Engine
This is Rietveld 408576698