| OLD | NEW |
| 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 "chrome/browser/ui/cocoa/find_pasteboard.h" | 5 #import "content/browser/find_pasteboard.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/sys_string_conversions.h" | 8 #include "base/sys_string_conversions.h" |
| 9 | 9 |
| 10 NSString* kFindPasteboardChangedNotification = | 10 NSString* kFindPasteboardChangedNotification = |
| 11 @"kFindPasteboardChangedNotification_Chrome"; | 11 @"kFindPasteboardChangedNotification_Chrome"; |
| 12 | 12 |
| 13 @implementation FindPasteboard | 13 @implementation FindPasteboard |
| 14 | 14 |
| 15 + (FindPasteboard*)sharedInstance { | 15 + (FindPasteboard*)sharedInstance { |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 string16 GetFindPboardText() { |
| 81 return base::SysNSStringToUTF16([[FindPasteboard sharedInstance] findText]); | 81 return base::SysNSStringToUTF16([[FindPasteboard sharedInstance] findText]); |
| 82 } | 82 } |
| OLD | NEW |