blob: 2f05ef8a06f0065a32c55b6f3d9eb1fa308fe0f7 [file] [log] [blame]
// Copyright 2018 The Chromium Authors
// 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_