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

Unified Diff: chrome/browser/ui/cocoa/dialog_text_field_editor.mm

Issue 2921083003: [Mac] Touch Bar Support for Dialogs (Closed)
Patch Set: Added test and renamed methods Created 3 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/cocoa/dialog_text_field_editor.h ('k') | ui/base/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/dialog_text_field_editor.mm
diff --git a/chrome/browser/ui/cocoa/dialog_text_field_editor.mm b/chrome/browser/ui/cocoa/dialog_text_field_editor.mm
new file mode 100644
index 0000000000000000000000000000000000000000..435aa01ad7c74c492917177a7a172e1e4f051a58
--- /dev/null
+++ b/chrome/browser/ui/cocoa/dialog_text_field_editor.mm
@@ -0,0 +1,22 @@
+// 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 "chrome/browser/ui/cocoa/dialog_text_field_editor.h"
+
+#import "ui/base/cocoa/touch_bar_forward_declarations.h"
+
+@implementation DialogTextFieldEditor
+
+- (instancetype)init {
+ if ((self = [super init])) {
+ [self setFieldEditor:YES];
+ }
+ return self;
+}
+
+- (NSTouchBar*)makeTouchBar {
+ return nil;
+}
+
+@end
« no previous file with comments | « chrome/browser/ui/cocoa/dialog_text_field_editor.h ('k') | ui/base/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698