blob: a2202fe9498a9fe520887f1721ca2a694780cd76 [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;
/**
* This just returns the NSPasteboard so that it can be mocked in the tests.
*/
@property(nonatomic, readonly, nonnull) NSPasteboard* pasteboard;
/**
* 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