blob: 6c9320ed137dd2cd191bf901d5b35c20f7df3dfd [file] [log] [blame]
// Copyright 2018 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.
#ifndef CHROME_APP_SHIM_APP_SHIM_DELEGATE_H_
#define CHROME_APP_SHIM_APP_SHIM_DELEGATE_H_
#include "base/memory/raw_ptr.h"
#import <Cocoa/Cocoa.h>
class AppShimController;
// An application delegate to catch user interactions and send the appropriate
// IPC messages to Chrome.
@interface AppShimDelegate
: NSObject<NSApplicationDelegate, NSUserInterfaceValidations> {
@private
raw_ptr<AppShimController> _appShimController; // Weak, owns |this|
}
- (instancetype)initWithController:(AppShimController*)controller;
@end
#endif // CHROME_APP_SHIM_APP_SHIM_DELEGATE_H_