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

Unified Diff: ash/accelerators/accelerator_controller.cc

Issue 2961313003: Touch gestures for System Tray/ IME/ Stylus/ Notifications (Closed)
Patch Set: Fixed nits. 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
« no previous file with comments | « ash/BUILD.gn ('k') | ash/system/ime_menu/ime_menu_tray.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/accelerators/accelerator_controller.cc
diff --git a/ash/accelerators/accelerator_controller.cc b/ash/accelerators/accelerator_controller.cc
index 438bedbe5248aacecd46399a799b6d5db69f755b..f86460ac3bb111f5bf42ffaa71272e91f6431a1a 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() {
« no previous file with comments | « ash/BUILD.gn ('k') | ash/system/ime_menu/ime_menu_tray.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698