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

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

Issue 206035: Support the OS X find pasteboard on OS X. (Closed)
Patch Set: foo Created 11 years, 3 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/browser.cc ('k') | chrome/browser/cocoa/find_bar_cocoa_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/find_bar_bridge.mm
diff --git a/chrome/browser/cocoa/find_bar_bridge.mm b/chrome/browser/cocoa/find_bar_bridge.mm
index 7c1ecca2b138307b74ad46ccd57e0c80d684a636..cd7733c7689c90c4fd2871ac3fa4d32f1dd91f40 100644
--- a/chrome/browser/cocoa/find_bar_bridge.mm
+++ b/chrome/browser/cocoa/find_bar_bridge.mm
@@ -3,6 +3,8 @@
// found in the LICENSE file.
#import "chrome/browser/cocoa/find_bar_bridge.h"
+
+#include "base/sys_string_conversions.h"
#import "chrome/browser/cocoa/find_bar_cocoa_controller.h"
FindBarBridge::FindBarBridge() {
@@ -30,7 +32,7 @@ void FindBarBridge::ClearResults(const FindNotificationDetails& results) {
}
void FindBarBridge::SetFindText(const string16& find_text) {
- [cocoa_controller_ setFindText:find_text];
+ [cocoa_controller_ setFindText:base::SysUTF16ToNSString(find_text)];
}
void FindBarBridge::UpdateUIForFindResult(const FindNotificationDetails& result,
« no previous file with comments | « chrome/browser/browser.cc ('k') | chrome/browser/cocoa/find_bar_cocoa_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698