Macos Window Title And Accessibility Focus Fix - Override accessibility method in atom_ns_window - Add title attribute in accessibilityAttributeValue (#14486)

This commit is contained in:
trop[bot] 2018-09-06 18:55:46 -07:00 committed by Shelley Vohr
parent 03ef5c25f7
commit a370b6982d
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;