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

Unified Diff: chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm

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: 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/cocoa/location_bar/location_bar_view_mac.mm
diff --git a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
index 338dedd92a7232a5f030531c903014a39afb2ac1..54ddcb0daa8bc99099af0bbebe1943488c66a933 100644
--- a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
+++ b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
@@ -592,6 +592,14 @@ void LocationBarViewMac::OnSetFocus() {
OnChanged();
}
+void LocationBarViewMac::ShowURL() {
+ omnibox_view_->ShowURL();
+}
+
+void LocationBarViewMac::HideURLAndShowOriginChip() {
groby-ooo-7-16 2014/03/20 23:38:53 Since the counterpart is just ShowURL, maybe we sh
Justin Donnelly 2014/03/21 21:15:57 Done.
+ omnibox_view_->HideURL();
+}
+
InstantController* LocationBarViewMac::GetInstant() {
return browser_->instant_controller() ?
browser_->instant_controller()->instant() : NULL;

Powered by Google App Engine
This is Rietveld 408576698