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

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

Issue 2762014: Mac: clang build (Closed)
Patch Set: more Created 10 years, 6 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
« no previous file with comments | « chrome/browser/cocoa/location_bar_view_mac.h ('k') | chrome/browser/cocoa/menu_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/location_bar_view_mac.mm
diff --git a/chrome/browser/cocoa/location_bar_view_mac.mm b/chrome/browser/cocoa/location_bar_view_mac.mm
index ea02141784ebea36bd600945d7e174d9b8446925..a0e1f64de3e76549d364ca698c90259b7565fdbb 100644
--- a/chrome/browser/cocoa/location_bar_view_mac.mm
+++ b/chrome/browser/cocoa/location_bar_view_mac.mm
@@ -497,7 +497,7 @@ void LocationBarViewMac::Observe(NotificationType type,
}
}
-void LocationBarViewMac::PostNotification(const NSString* notification) {
+void LocationBarViewMac::PostNotification(NSString* notification) {
[[NSNotificationCenter defaultCenter] postNotificationName:notification
object:[NSValue valueWithPointer:this]];
}
@@ -630,7 +630,7 @@ void LocationBarViewMac::StarIconView::OnMousePressed(NSRect bounds) {
command_updater_->ExecuteCommand(IDC_BOOKMARK_PAGE);
}
-const NSString* LocationBarViewMac::StarIconView::GetToolTip() {
+NSString* LocationBarViewMac::StarIconView::GetToolTip() {
return tooltip_.get();
}
@@ -796,7 +796,7 @@ void LocationBarViewMac::PageActionImageView::SetToolTip(std::string tooltip) {
SetToolTip(base::SysUTF8ToNSString(tooltip));
}
-const NSString* LocationBarViewMac::PageActionImageView::GetToolTip() {
+NSString* LocationBarViewMac::PageActionImageView::GetToolTip() {
return tooltip_.get();
}
@@ -879,7 +879,7 @@ void LocationBarViewMac::ContentSettingImageView::OnMousePressed(NSRect bounds)
anchoredAt:anchor] showWindow:nil];
}
-const NSString* LocationBarViewMac::ContentSettingImageView::GetToolTip() {
+NSString* LocationBarViewMac::ContentSettingImageView::GetToolTip() {
return tooltip_.get();
}
« no previous file with comments | « chrome/browser/cocoa/location_bar_view_mac.h ('k') | chrome/browser/cocoa/menu_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698