| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CHROME_BROWSER_UI_COCOA_LOCATION_BAR_AUTOCOMPLETE_TEXT_FIELD_EDITOR_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_LOCATION_BAR_AUTOCOMPLETE_TEXT_FIELD_EDITOR_H_ |
| 7 |
| 5 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 6 | 9 |
| 7 #include "base/mac/scoped_nsobject.h" | 10 #include "base/mac/scoped_nsobject.h" |
| 8 #import "chrome/browser/ui/cocoa/themed_window.h" | 11 #import "chrome/browser/ui/cocoa/themed_window.h" |
| 9 #import "chrome/browser/ui/cocoa/url_drop_target.h" | 12 #import "chrome/browser/ui/cocoa/url_drop_target.h" |
| 10 | 13 |
| 11 @class AutocompleteTextField; | 14 @class AutocompleteTextField; |
| 12 class AutocompleteTextFieldObserver; | 15 class AutocompleteTextFieldObserver; |
| 13 | 16 |
| 14 // AutocompleteTextFieldEditor customized the AutocompletTextField | 17 // AutocompleteTextFieldEditor customized the AutocompletTextField |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 // Sets attributed string programatically through the field editor's text | 52 // Sets attributed string programatically through the field editor's text |
| 50 // storage object. | 53 // storage object. |
| 51 - (void)setAttributedString:(NSAttributedString*)aString; | 54 - (void)setAttributedString:(NSAttributedString*)aString; |
| 52 | 55 |
| 53 @end | 56 @end |
| 54 | 57 |
| 55 @interface AutocompleteTextFieldEditor(PrivateTestMethods) | 58 @interface AutocompleteTextFieldEditor(PrivateTestMethods) |
| 56 - (AutocompleteTextFieldObserver*)observer; | 59 - (AutocompleteTextFieldObserver*)observer; |
| 57 - (void)pasteAndGo:sender; | 60 - (void)pasteAndGo:sender; |
| 58 @end | 61 @end |
| 62 |
| 63 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_AUTOCOMPLETE_TEXT_FIELD_EDITOR_H
_ |
| OLD | NEW |