blob: f3b82c934bae5b302227297f89ae7f7f3bdebe1a [file] [log] [blame]
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import <Cocoa/Cocoa.h>
// This class is used to customize the field editors for dialog textfields.
// It intercepts touch bar methods to prevent the textfield's touch bar from
// overriding the dialog's touch bar.
// TODO(spqchan): Add the textfield's candidate list to the touch bar. I've
// tried to combine the parent's touch bar with the dialog's, but the result
// was buggy.
@interface DialogTextFieldEditor : NSTextView