WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
56379
WK2: Need to propagate enhanced accessibility flag from UI -> web process
https://bugs.webkit.org/show_bug.cgi?id=56379
Summary
WK2: Need to propagate enhanced accessibility flag from UI -> web process
chris fleizach
Reported
2011-03-15 08:40:36 PDT
The enhanced accessibility flag needs to be propagated from the UI process to the web process.
Attachments
patch
(11.48 KB, patch)
2011-03-15 08:58 PDT
,
chris fleizach
no flags
Details
Formatted Diff
Diff
patch
(11.48 KB, patch)
2011-03-15 16:53 PDT
,
chris fleizach
darin
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
chris fleizach
Comment 1
2011-03-15 08:58:41 PDT
Created
attachment 85813
[details]
patch
WebKit Review Bot
Comment 2
2011-03-15 09:00:58 PDT
Attachment 85813
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1 Source/WebKit2/WebProcess/WebProcess.cpp:54: Alphabetical sorting problem. [build/include_order] [4] Total errors found: 1 in 14 files If any of these errors are false positives, please file a bug against check-webkit-style.
chris fleizach
Comment 3
2011-03-15 16:53:41 PDT
Created
attachment 85876
[details]
patch
Darin Adler
Comment 4
2011-03-15 18:06:58 PDT
Comment on
attachment 85876
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=85876&action=review
> Source/WebKit2/UIProcess/gtk/WebContextGtk.cpp:44 > +void WebContet::platformInvalidateContext()
Typo: WebContet.
> Source/WebKit2/UIProcess/mac/WebContextMac.mm:40 > +NSString *NSApplicationDidChangeAccessibilityEnhancedUserInterfaceNotification = @"NSApplicationDidChangeAccessibilityEnhancedUserInterfaceNotification";
This should be marked “static” so it gets internal linkage since it’s only used within this file. Also, it’s not appropriate to use an NS prefix on something inside WebKit, because it could conflict with something in the underlying framework, so the constant’s name should not have the NS prefix, even if the string should.
> Source/WebKit2/UIProcess/mac/WebContextMac.mm:107 > + m_enhancedAccessibilityObserver = (CFTypeRef)[[NSNotificationCenter defaultCenter] addObserverForName:NSApplicationDidChangeAccessibilityEnhancedUserInterfaceNotification object:nil queue:[NSOperationQueue currentQueue] usingBlock:^(NSNotification *note) { > + setEnhancedAccessibility([[[note userInfo] objectForKey:@"AXEnhancedUserInterface"] boolValue]); > + }];
You should not need a cast to CFTypeRef.
chris fleizach
Comment 5
2011-03-16 14:02:01 PDT
http://trac.webkit.org/changeset/81274
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug