Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_UI_COCOA_DIALOG_TEXT_FIELD__EDITOR_H_ | |
| 6 #define CHROME_BROWSER_UI_COCOA_DIALOG_TEXT_FIELD__EDITOR_H_ | |
| 7 | |
| 8 #import <Cocoa/Cocoa.h> | |
| 9 | |
| 10 // This class is used to customize the field editors for dialog textfields. | |
| 11 // It intercepts touch bar methods to prevent the textfield's touch Bar from | |
|
Robert Sesek
2017/06/06 14:52:35
nit: capitalization of "touch Bar" is off.
spqchan
2017/06/06 19:34:50
Done.
| |
| 12 // overriding the dialog's touch bar. | |
| 13 // | |
| 14 // TODO(spqchan): Add the textfield's candidate list to the touch bar. I've | |
| 15 // tried to combine the parent's touch bar with the dialog's, but the result | |
| 16 // was buggy. | |
| 17 @interface DialogTextFieldEditor : NSTextView | |
| 18 | |
| 19 @end | |
| 20 | |
| 21 #endif // CHROME_BROWSER_UI_COCOA_DIALOG_TEXT_FIELD__EDITOR_H_ | |
| OLD | NEW |