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

Side by Side Diff: ui/base/cocoa/find_pasteboard.mm

Issue 117983002: Prefix string16 with base:: in ui/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 7 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/base/cocoa/find_pasteboard.h ('k') | ui/base/cocoa/menu_controller.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #import "ui/base/cocoa/find_pasteboard.h" 5 #import "ui/base/cocoa/find_pasteboard.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/strings/sys_string_conversions.h" 8 #include "base/strings/sys_string_conversions.h"
9 9
10 NSString* kFindPasteboardChangedNotification = 10 NSString* kFindPasteboardChangedNotification =
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 owner:nil]; 70 owner:nil];
71 [findPboard setString:findText_.get() forType:NSStringPboardType]; 71 [findPboard setString:findText_.get() forType:NSStringPboardType];
72 [[NSNotificationCenter defaultCenter] 72 [[NSNotificationCenter defaultCenter]
73 postNotificationName:kFindPasteboardChangedNotification 73 postNotificationName:kFindPasteboardChangedNotification
74 object:self]; 74 object:self];
75 } 75 }
76 } 76 }
77 77
78 @end 78 @end
79 79
80 string16 GetFindPboardText() { 80 base::string16 GetFindPboardText() {
81 return base::SysNSStringToUTF16([[FindPasteboard sharedInstance] findText]); 81 return base::SysNSStringToUTF16([[FindPasteboard sharedInstance] findText]);
82 } 82 }
OLDNEW
« no previous file with comments | « ui/base/cocoa/find_pasteboard.h ('k') | ui/base/cocoa/menu_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698