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

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 comment 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..e8fa48718fd06524c4cb8f6afc2e08966817e57c 100644
--- a/chrome/browser/ui/gtk/location_bar_view_gtk.cc
+++ b/chrome/browser/ui/gtk/location_bar_view_gtk.cc
@@ -635,6 +635,10 @@ void LocationBarViewGtk::OnSetFocus() {
OnChanged();
}
+void LocationBarViewGtk::ShowURL() {
+ omnibox_view_->ShowURL();
+}
+
InstantController* LocationBarViewGtk::GetInstant() {
return browser_->instant_controller() ?
browser_->instant_controller()->instant() : NULL;
@@ -1571,6 +1575,10 @@ bool LocationBarViewGtk::ShouldOnlyShowLocation() {
return !browser_->is_type_tabbed();
}
+void LocationBarViewGtk::HideURL() {
+ omnibox_view_->HideURL();
+}
+
////////////////////////////////////////////////////////////////////////////////
// LocationBarViewGtk::PageToolViewGtk

Powered by Google App Engine
This is Rietveld 408576698