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

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

Issue 2761853004: Rename BrowserAccessibility::GetParent to PlatformGetParent. (Closed)
Patch Set: PlatformGetParent rename Created 3 years, 9 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_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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 int32_t unique_id() const { return unique_id_; } 224 int32_t unique_id() const { return unique_id_; }
225 225
226 // These access the internal accessibility tree, which doesn't necessarily 226 // These access the internal accessibility tree, which doesn't necessarily
227 // reflect the accessibility tree that should be exposed on each platform. 227 // reflect the accessibility tree that should be exposed on each platform.
228 // Use PlatformChildCount and PlatformGetChild to implement platform 228 // Use PlatformChildCount and PlatformGetChild to implement platform
229 // accessibility APIs. 229 // accessibility APIs.
230 uint32_t InternalChildCount() const; 230 uint32_t InternalChildCount() const;
231 BrowserAccessibility* InternalGetChild(uint32_t child_index) const; 231 BrowserAccessibility* InternalGetChild(uint32_t child_index) const;
232 BrowserAccessibility* InternalGetParent() const; 232 BrowserAccessibility* InternalGetParent() const;
233 233
234 BrowserAccessibility* GetParent() const; 234 BrowserAccessibility* PlatformGetParent() const;
235 int32_t GetIndexInParent() const; 235 int32_t GetIndexInParent() const;
236 236
237 int32_t GetId() const; 237 int32_t GetId() const;
238 const ui::AXNodeData& GetData() const; 238 const ui::AXNodeData& GetData() const;
239 gfx::RectF GetLocation() const; 239 gfx::RectF GetLocation() const;
240 ui::AXRole GetRole() const; 240 ui::AXRole GetRole() const;
241 int32_t GetState() const; 241 int32_t GetState() const;
242 242
243 typedef base::StringPairs HtmlAttributes; 243 typedef base::StringPairs HtmlAttributes;
244 const HtmlAttributes& GetHtmlAttributes() const; 244 const HtmlAttributes& GetHtmlAttributes() const;
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 // bounds, but "virtual" elements in the accessibility tree that don't 391 // bounds, but "virtual" elements in the accessibility tree that don't
392 // correspond to a layed-out element sometimes don't have bounds. 392 // correspond to a layed-out element sometimes don't have bounds.
393 void FixEmptyBounds(gfx::RectF* bounds) const; 393 void FixEmptyBounds(gfx::RectF* bounds) const;
394 394
395 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibility); 395 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibility);
396 }; 396 };
397 397
398 } // namespace content 398 } // namespace content
399 399
400 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_ 400 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_
OLDNEW
« no previous file with comments | « content/browser/accessibility/ax_platform_position.cc ('k') | content/browser/accessibility/browser_accessibility.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698