* Add Dock menu item to create Tor window on Mac * Add BUILDFLAG(ENABLE_TOR) guards * Observe original profile instead of incognito profile * There's an lifecycle issue
19 lines
679 B
Objective-C
19 lines
679 B
Objective-C
/* Copyright (c) 2023 The Brave Authors. All rights reserved.
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
* You can obtain one at https://mozilla.org/MPL/2.0/. */
|
|
|
|
#ifndef BRAVE_BROWSER_BRAVE_APP_CONTROLLER_MAC_H_
|
|
#define BRAVE_BROWSER_BRAVE_APP_CONTROLLER_MAC_H_
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
#import "chrome/browser/app_controller_mac.h"
|
|
|
|
// * Manages logic to switch hotkey between copy and copy clean link item.
|
|
// * Add "New Private Window with Tor" to the dock menu.
|
|
@interface BraveAppController : AppController
|
|
@end
|
|
|
|
#endif // BRAVE_BROWSER_BRAVE_APP_CONTROLLER_MAC_H_
|