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

Unified Diff: chrome/browser/cocoa/browser_window_controller.mm

Issue 2998004: [Mac] Simplify getting page-action info-bubble point. (Closed) Base URL: git://codf21.jail/chromium.git
Patch Set: Created 10 years, 5 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/cocoa/browser_window_controller.mm
diff --git a/chrome/browser/cocoa/browser_window_controller.mm b/chrome/browser/cocoa/browser_window_controller.mm
index aa7b3251d0feb1b29e3cd59e37d2005eb828a5d8..45588f99eaf25c2c20a8a7e93a9e08592b979c42 100644
--- a/chrome/browser/cocoa/browser_window_controller.mm
+++ b/chrome/browser/cocoa/browser_window_controller.mm
@@ -346,7 +346,7 @@
return statusBubble_;
}
-- (LocationBar*)locationBarBridge {
+- (LocationBarViewMac*)locationBarBridge {
return [toolbarController_ locationBarBridge];
}
@@ -1637,8 +1637,7 @@ willAnimateFromState:(bookmarks::VisualState)oldState
if (toolbarCollapsed_ == collapsed)
return;
- static_cast<LocationBarViewMac*>([self locationBarBridge])->
- SetEditable(!collapsed);
+ [self locationBarBridge]->SetEditable(!collapsed);
// TODO(andybons): Actually hide toolbar if collapsed.
« no previous file with comments | « chrome/browser/cocoa/browser_window_controller.h ('k') | chrome/browser/cocoa/extension_installed_bubble_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698