blob: 5edd87c0f71c1233b47c006c3f944c85a84212da [file] [log] [blame]
// Copyright 2013 The Flutter 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 "flutter/shell/platform/darwin/macos/framework/Headers/FlutterViewController.h"
#import "flutter/shell/platform/darwin/macos/framework/Source/FlutterView.h"
@interface FlutterViewController ()
// The FlutterView for this view controller.
@property(nonatomic, readonly, nullable) FlutterView* flutterView;
/**
* Adds a responder for keyboard events. Key up and key down events are forwarded to all added
* responders.
*/
- (void)addKeyResponder:(nonnull NSResponder*)responder;
/**
* Removes a responder for keyboard events.
*/
- (void)removeKeyResponder:(nonnull NSResponder*)responder;
@end