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

Unified Diff: ash/common/system/chromeos/ime_menu/ime_menu_tray.cc

Issue 2499453002: Add ink drop ripple to overview mode button (Closed)
Patch Set: Rebased Created 4 years, 1 month 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 | « no previous file | ash/common/system/chromeos/ime_menu/ime_menu_tray_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/chromeos/ime_menu/ime_menu_tray.cc
diff --git a/ash/common/system/chromeos/ime_menu/ime_menu_tray.cc b/ash/common/system/chromeos/ime_menu/ime_menu_tray.cc
index b0e9b064df46323d97f0c339cad10fe8bdf723f5..19c12f5bedc93410ad07aea983219af0e5eccbf6 100644
--- a/ash/common/system/chromeos/ime_menu/ime_menu_tray.cc
+++ b/ash/common/system/chromeos/ime_menu/ime_menu_tray.cc
@@ -304,7 +304,7 @@ ImeMenuTray::ImeMenuTray(WmShelf* wm_shelf)
should_block_shelf_auto_hide_(false) {
SetupLabelForTray(label_);
tray_container()->AddChildView(label_);
- SetContentsBackground();
+ SetContentsBackground(true);
WmShell::Get()->system_tray_notifier()->AddIMEObserver(this);
}
@@ -372,13 +372,13 @@ void ImeMenuTray::ShowImeMenuBubble() {
}
bubble_.reset(new TrayBubbleWrapper(this, bubble_view));
- SetDrawBackgroundAsActive(true);
+ SetIsActive(true);
}
void ImeMenuTray::HideImeMenuBubble() {
bubble_.reset();
ime_list_view_ = nullptr;
- SetDrawBackgroundAsActive(false);
+ SetIsActive(false);
should_block_shelf_auto_hide_ = false;
shelf()->UpdateAutoHideState();
}
« no previous file with comments | « no previous file | ash/common/system/chromeos/ime_menu/ime_menu_tray_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698