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

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

Issue 859133003: Fire AX text inserted event when embedded obj char changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 10 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
« no previous file with comments | « no previous file | content/browser/accessibility/browser_accessibility_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_H_ 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_
6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_ 6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_
7 7
8 #include <map> 8 #include <map>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 51
52 // Called only once, immediately after construction. The constructor doesn't 52 // Called only once, immediately after construction. The constructor doesn't
53 // take any arguments because in the Windows subclass we use a special 53 // take any arguments because in the Windows subclass we use a special
54 // function to construct a COM object. 54 // function to construct a COM object.
55 virtual void Init(BrowserAccessibilityManager* manager, ui::AXNode* node); 55 virtual void Init(BrowserAccessibilityManager* manager, ui::AXNode* node);
56 56
57 // Called after the object is first initialized and again every time 57 // Called after the object is first initialized and again every time
58 // its data changes. 58 // its data changes.
59 virtual void OnDataChanged() {} 59 virtual void OnDataChanged() {}
60 60
61 // Called after an atomic update to the tree finished and this object
62 // was created or changed in this update.
63 virtual void OnUpdateFinished() {}
64
65 virtual void OnSubtreeWillBeDeleted() {} 61 virtual void OnSubtreeWillBeDeleted() {}
66 62
67 virtual void OnSubtreeCreationFinished() {}
68
69 // Called when the location changed. 63 // Called when the location changed.
70 virtual void OnLocationChanged() {} 64 virtual void OnLocationChanged() {}
71 65
72 // Return true if this object is equal to or a descendant of |ancestor|. 66 // Return true if this object is equal to or a descendant of |ancestor|.
73 bool IsDescendantOf(BrowserAccessibility* ancestor); 67 bool IsDescendantOf(BrowserAccessibility* ancestor);
74 68
75 // Returns true if this is a leaf node on this platform, meaning any 69 // Returns true if this is a leaf node on this platform, meaning any
76 // children should not be exposed to this platform's native accessibility 70 // children should not be exposed to this platform's native accessibility
77 // layer. Each platform subclass should implement this itself. 71 // layer. Each platform subclass should implement this itself.
78 // The definition of a leaf may vary depending on the platform, 72 // The definition of a leaf may vary depending on the platform,
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 // subtree rather than skipping over them - because they contain important 266 // subtree rather than skipping over them - because they contain important
273 // bounds offsets. 267 // bounds offsets.
274 BrowserAccessibility* GetParentForBoundsCalculation() const; 268 BrowserAccessibility* GetParentForBoundsCalculation() const;
275 269
276 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibility); 270 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibility);
277 }; 271 };
278 272
279 } // namespace content 273 } // namespace content
280 274
281 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_ 275 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/accessibility/browser_accessibility_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698