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

Unified Diff: chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.cc

Issue 200783003: [OriginChip] Add animations for the hiding and showing of the chip. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to comments Created 6 years, 9 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/toolbar/toolbar_origin_chip_view.cc
diff --git a/chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.cc b/chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.cc
index 136807aeb7a6dde5431a4ab3e22513ae718fb1eb..7fb18d0cca7e2f933915d27e3dfb50db81579636 100644
--- a/chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.cc
+++ b/chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.cc
@@ -341,7 +341,7 @@ void ToolbarOriginChipView::ButtonPressed(views::Button* sender,
UMA_HISTOGRAM_COUNTS("OriginChip.Pressed", 1);
content::RecordAction(base::UserMetricsAction("OriginChipPress"));
- toolbar_view_->location_bar()->GetOmniboxView()->ShowURL();
+ toolbar_view_->location_bar()->ShowURL();
}
void ToolbarOriginChipView::WriteDragDataForView(View* sender,

Powered by Google App Engine
This is Rietveld 408576698