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

Unified Diff: ash/common/system/chromeos/virtual_keyboard/virtual_keyboard_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
Index: ash/common/system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc
diff --git a/ash/common/system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc b/ash/common/system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc
index ab969c45a89937a91d40c141e237906aeae9b200..654e1db845e01ce3b9b94254e3c1cc7f5a9bce6e 100644
--- a/ash/common/system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc
+++ b/ash/common/system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc
@@ -41,7 +41,7 @@ VirtualKeyboardTray::VirtualKeyboardTray(WmShelf* wm_shelf)
SetIconBorderForShelfAlignment();
tray_container()->AddChildView(icon_);
- SetContentsBackground();
+ SetContentsBackground(true);
// The Shell may not exist in some unit tests.
if (WmShell::HasInstance())
WmShell::Get()->keyboard_ui()->AddObserver(this);
@@ -94,7 +94,7 @@ void VirtualKeyboardTray::OnKeyboardEnabledStateChanged(bool new_enabled) {
void VirtualKeyboardTray::OnKeyboardBoundsChanging(
const gfx::Rect& new_bounds) {
- SetDrawBackgroundAsActive(!new_bounds.IsEmpty());
+ SetIsActive(!new_bounds.IsEmpty());
}
void VirtualKeyboardTray::OnKeyboardClosed() {}
« no previous file with comments | « ash/common/system/chromeos/palette/palette_tray.cc ('k') | ash/common/system/overview/overview_button_tray.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698