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

Unified Diff: ash/first_run/first_run_helper_impl.cc

Issue 2070143003: Add MD ink drop ripple to app list button (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@b612539_shelf_button_ripple
Patch Set: Rebased Created 4 years, 6 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/first_run/first_run_helper_impl.cc
diff --git a/ash/first_run/first_run_helper_impl.cc b/ash/first_run/first_run_helper_impl.cc
index 4ca1fc625e3fc0798fff94a348844f1a9d915a5d..a6249aad459f214fee712efa9857cb2613fbbd79 100644
--- a/ash/first_run/first_run_helper_impl.cc
+++ b/ash/first_run/first_run_helper_impl.cc
@@ -5,6 +5,7 @@
#include "ash/first_run/first_run_helper_impl.h"
#include "ash/common/shell_window_ids.h"
+#include "ash/shelf/app_list_button.h"
#include "ash/shelf/shelf.h"
#include "ash/shell.h"
#include "ash/system/tray/system_tray.h"
@@ -54,7 +55,7 @@ views::Widget* FirstRunHelperImpl::GetOverlayWidget() {
gfx::Rect FirstRunHelperImpl::GetAppListButtonBounds() {
Shelf* shelf = Shelf::ForPrimaryDisplay();
- views::View* app_button = shelf->GetAppListButtonView();
+ AppListButton* app_button = shelf->GetAppListButton();
return app_button->GetBoundsInScreen();
}

Powered by Google App Engine
This is Rietveld 408576698