Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(577)

Side by Side Diff: content/browser/accessibility/browser_accessibility_manager_mac.h

Issue 830943004: Improve the notifications sent from AXTree updates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address feedback, add missing call to parent class Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_MAC_H_ 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_MAC_H_
6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_MAC_H_ 6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_MAC_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include "content/browser/accessibility/browser_accessibility_manager.h" 10 #include "content/browser/accessibility/browser_accessibility_manager.h"
(...skipping 13 matching lines...) Expand all
24 24
25 BrowserAccessibility* GetFocus(BrowserAccessibility* root) override; 25 BrowserAccessibility* GetFocus(BrowserAccessibility* root) override;
26 26
27 // Implementation of BrowserAccessibilityManager. 27 // Implementation of BrowserAccessibilityManager.
28 void NotifyAccessibilityEvent(ui::AXEvent event_type, 28 void NotifyAccessibilityEvent(ui::AXEvent event_type,
29 BrowserAccessibility* node) override; 29 BrowserAccessibility* node) override;
30 30
31 NSView* parent_view() { return parent_view_; } 31 NSView* parent_view() { return parent_view_; }
32 32
33 private: 33 private:
34 void OnNodeCreationFinished(ui::AXNode* node) override; 34 void OnAtomicUpdateFinished(
35 void OnTreeUpdateFinished() override; 35 bool root_changed,
36 const std::vector<ui::AXTreeDelegate::Change>& changes) override;
36 37
37 // This gives BrowserAccessibilityManager::Create access to the class 38 // This gives BrowserAccessibilityManager::Create access to the class
38 // constructor. 39 // constructor.
39 friend class BrowserAccessibilityManager; 40 friend class BrowserAccessibilityManager;
40 41
41 NSView* parent_view_; 42 NSView* parent_view_;
42 43
43 bool created_live_region_;
44
45 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManagerMac); 44 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManagerMac);
46 }; 45 };
47 46
48 } 47 }
49 48
50 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_MAC_H_ 49 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698