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

Unified Diff: chrome/browser/ui/views/location_bar/zoom_bubble_view.cc

Issue 1518543002: Adds MD ink ripple animations to buttons within location bar (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adds MD ink ripple animations to buttons within location bar (with WidgetObserver) Created 4 years, 11 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: chrome/browser/ui/views/location_bar/zoom_bubble_view.cc
diff --git a/chrome/browser/ui/views/location_bar/zoom_bubble_view.cc b/chrome/browser/ui/views/location_bar/zoom_bubble_view.cc
index f00115d3b698d00d53b66a6330f00244cf1c3c81..8df8f9f0aa57b39f9dfc1b163108cc4f4880f689 100644
--- a/chrome/browser/ui/views/location_bar/zoom_bubble_view.cc
+++ b/chrome/browser/ui/views/location_bar/zoom_bubble_view.cc
@@ -46,7 +46,7 @@ void ZoomBubbleView::ShowBubble(content::WebContents* web_contents,
bool is_fullscreen = browser_view->IsFullscreen();
bool anchor_to_view = !is_fullscreen ||
browser_view->immersive_mode_controller()->IsRevealed();
- views::View* anchor_view = anchor_to_view ?
+ views::WidgetObserverView* anchor_view = anchor_to_view ?
browser_view->GetLocationBarView()->zoom_view() : NULL;
// Find the extension that initiated the zoom change, if any.
@@ -103,7 +103,7 @@ ZoomBubbleView* ZoomBubbleView::GetZoomBubble() {
}
ZoomBubbleView::ZoomBubbleView(
- views::View* anchor_view,
+ views::WidgetObserverView* anchor_view,
content::WebContents* web_contents,
DisplayReason reason,
ImmersiveModeController* immersive_mode_controller)

Powered by Google App Engine
This is Rietveld 408576698