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

Side by Side Diff: chrome/browser/cocoa/autocomplete_text_field_editor.h

Issue 155790: Properly collapse newlines (and leading/trailing whitespace) from pasted... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/cocoa/autocomplete_text_field_editor.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Name: svn:eol-style
+ LF
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 <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
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/cocoa/autocomplete_text_field_editor.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698