fix: macOS Window Title And Accessibility Focus (#14472)

- Override accessibility method in atom_ns_window
- Add title attribute in accessibilityAttributeValue
This commit is contained in:
Nitish Sakhawalkar 2018-09-06 16:47:31 -07:00 committed by Samuel Attard
parent 53f7fd126d
commit 826af1d676
2 changed files with 15 additions and 0 deletions

View file

@ -7,6 +7,7 @@
#include "brightray/browser/mac/event_dispatching_window.h"
#include "ui/views/cocoa/native_widget_mac_nswindow.h"
#include "ui/views/widget/native_widget_mac.h"
namespace atom {
@ -40,6 +41,7 @@ class ScopedDisableResize {
- (id)initWithShell:(atom::NativeWindowMac*)shell
styleMask:(NSUInteger)styleMask;
- (atom::NativeWindowMac*)shell;
- (id)accessibilityFocusedUIElement;
- (NSRect)originalContentRectForFrameRect:(NSRect)frameRect;
- (void)enableWindowButtonsOffset;
- (void)toggleFullScreenMode:(id)sender;