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

Unified Diff: chrome/browser/ui/gtk/location_bar_view_gtk.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, merge 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/gtk/location_bar_view_gtk.cc
diff --git a/chrome/browser/ui/gtk/location_bar_view_gtk.cc b/chrome/browser/ui/gtk/location_bar_view_gtk.cc
index dde1ff7da27793df5b7563170089ce629b406dcf..795408414529e47e93309f65a8075b8f9d4b9dda 100644
--- a/chrome/browser/ui/gtk/location_bar_view_gtk.cc
+++ b/chrome/browser/ui/gtk/location_bar_view_gtk.cc
@@ -635,6 +635,14 @@ void LocationBarViewGtk::OnSetFocus() {
OnChanged();
}
+void LocationBarViewGtk::ShowURL() {
+ omnibox_view_->ShowURL();
+}
+
+void LocationBarViewGtk::HideURL() {
Peter Kasting 2014/03/21 21:22:10 Nit: .cc file order must match .h file order.
Justin Donnelly 2014/03/24 22:59:37 Done.
+ omnibox_view_->HideURL();
+}
+
InstantController* LocationBarViewGtk::GetInstant() {
return browser_->instant_controller() ?
browser_->instant_controller()->instant() : NULL;

Powered by Google App Engine
This is Rietveld 408576698