| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef UI_BASE_COCOA_FIND_PASTEBOARD_H_ | 5 #ifndef UI_BASE_COCOA_FIND_PASTEBOARD_H_ |
| 6 #define UI_BASE_COCOA_FIND_PASTEBOARD_H_ | 6 #define UI_BASE_COCOA_FIND_PASTEBOARD_H_ |
| 7 | 7 |
| 8 #include "base/strings/string16.h" | 8 #include "base/strings/string16.h" |
| 9 | 9 |
| 10 #ifdef __OBJC__ | 10 #ifdef __OBJC__ |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 @interface FindPasteboard (TestingAPI) | 47 @interface FindPasteboard (TestingAPI) |
| 48 - (void)loadTextFromPasteboard:(NSNotification*)notification; | 48 - (void)loadTextFromPasteboard:(NSNotification*)notification; |
| 49 | 49 |
| 50 // This methods is meant to be overridden in tests. | 50 // This methods is meant to be overridden in tests. |
| 51 - (NSPasteboard*)findPboard; | 51 - (NSPasteboard*)findPboard; |
| 52 @end | 52 @end |
| 53 | 53 |
| 54 #endif // __OBJC__ | 54 #endif // __OBJC__ |
| 55 | 55 |
| 56 // Also provide a c++ interface | 56 // Also provide a c++ interface |
| 57 UI_EXPORT string16 GetFindPboardText(); | 57 UI_EXPORT base::string16 GetFindPboardText(); |
| 58 | 58 |
| 59 #endif // UI_BASE_COCOA_FIND_PASTEBOARD_H_ | 59 #endif // UI_BASE_COCOA_FIND_PASTEBOARD_H_ |
| OLD | NEW |