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

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

Issue 6546073: More OOLing on Mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Yeap Created 9 years, 10 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 3a1746b936b86ca0bacf29bb23389513b687151a..fa10ed3d2500739fec6b9bfab51454c61f23a99f 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
@@ -381,6 +381,18 @@ void LocationBarViewMac::Revert() {
edit_view_->RevertAll();
}
+const AutocompleteEditView* LocationBarViewMac::location_entry() const {
+ return edit_view_.get();
+ }
+
+AutocompleteEditView* LocationBarViewMac::location_entry() {
+ return edit_view_.get();
+ }
+
+LocationBarTesting* LocationBarViewMac::GetLocationBarForTesting() {
+ return this;
+}
+
// TODO(pamg): Change all these, here and for other platforms, to size_t.
int LocationBarViewMac::PageActionCount() {
return static_cast<int>(page_action_decorations_.size());

Powered by Google App Engine
This is Rietveld 408576698