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

Side by Side Diff: chrome/browser/browser_accessibility_win.h

Issue 3250014: Update browser accessibility tree on a renderer accessibility object state ch... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Fix lint errors Created 10 years, 3 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 CHROME_BROWSER_BROWSER_ACCESSIBILITY_WIN_H_ 5 #ifndef CHROME_BROWSER_BROWSER_ACCESSIBILITY_WIN_H_
6 #define CHROME_BROWSER_BROWSER_ACCESSIBILITY_WIN_H_ 6 #define CHROME_BROWSER_BROWSER_ACCESSIBILITY_WIN_H_
7 #pragma once 7 #pragma once
8 8
9 #include <atlbase.h> 9 #include <atlbase.h>
10 #include <atlcom.h> 10 #include <atlcom.h>
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 // deleted, and in the meantime, calls to any methods will return E_FAIL. 64 // deleted, and in the meantime, calls to any methods will return E_FAIL.
65 void InactivateTree(); 65 void InactivateTree();
66 66
67 // Return true if this object is equal to or a descendant of |ancestor|. 67 // Return true if this object is equal to or a descendant of |ancestor|.
68 bool IsDescendantOf(BrowserAccessibility* ancestor); 68 bool IsDescendantOf(BrowserAccessibility* ancestor);
69 69
70 // Returns the parent of this object, or NULL if it's the BrowserAccessibility 70 // Returns the parent of this object, or NULL if it's the BrowserAccessibility
71 // root. 71 // root.
72 BrowserAccessibility* GetParent(); 72 BrowserAccessibility* GetParent();
73 73
74 // Returns the number of children of this BrowserAccessibility object.
75 uint32 GetChildCount();
76
74 // Return the previous sibling of this object, or NULL if it's the first 77 // Return the previous sibling of this object, or NULL if it's the first
75 // child of its parent. 78 // child of its parent.
76 BrowserAccessibility* GetPreviousSibling(); 79 BrowserAccessibility* GetPreviousSibling();
77 80
78 // Return the next sibling of this object, or NULL if it's the last child 81 // Return the next sibling of this object, or NULL if it's the last child
79 // of its parent. 82 // of its parent.
80 BrowserAccessibility* GetNextSibling(); 83 BrowserAccessibility* GetNextSibling();
81 84
82 // Replace a child BrowserAccessibility object. Used when updating the 85 // Replace a child BrowserAccessibility object. Used when updating the
83 // accessibility tree. 86 // accessibility tree.
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 // and it's removed from our accessibility tree, a client may still be 404 // and it's removed from our accessibility tree, a client may still be
402 // holding onto a pointer to this object, so we mark it as inactive 405 // holding onto a pointer to this object, so we mark it as inactive
403 // so that calls to any of this object's methods immediately return 406 // so that calls to any of this object's methods immediately return
404 // failure. 407 // failure.
405 bool instance_active_; 408 bool instance_active_;
406 409
407 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibility); 410 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibility);
408 }; 411 };
409 412
410 #endif // CHROME_BROWSER_BROWSER_ACCESSIBILITY_WIN_H_ 413 #endif // CHROME_BROWSER_BROWSER_ACCESSIBILITY_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698