| 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 <Cocoa/Cocoa.h> | 5 #import <Cocoa/Cocoa.h> |
| 6 | 6 |
| 7 // Field editor used for the autocomplete field. | 7 // Field editor used for the autocomplete field. |
| 8 @interface AutocompleteTextFieldEditor : NSTextView { | 8 @interface AutocompleteTextFieldEditor : NSTextView { |
| 9 } | 9 } |
| 10 | 10 |
| 11 // Copy contents of the TextView to the designated clipboard as plain | 11 // Copy contents of the TextView to the designated clipboard as plain |
| 12 // text. | 12 // text. |
| 13 - (void)performCopy:(NSPasteboard*)pb; | 13 - (void)performCopy:(NSPasteboard*)pb; |
| 14 | 14 |
| 15 // Same as above, note that this calls through to performCopy. | 15 // Same as above, note that this calls through to performCopy. |
| 16 - (void)performCut:(NSPasteboard*)pb; | 16 - (void)performCut:(NSPasteboard*)pb; |
| 17 |
| 18 // Paste the contents of the designated clipboard into the TextView as |
| 19 // plain text, killing newlines and leading/trailing spaces. |
| 20 - (void)performPaste:(NSPasteboard*)pb; |
| 21 |
| 17 @end | 22 @end |
| OLD | NEW |