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

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

Issue 2671563002: MacViews: Implement NSAccessibilityPressAction for Views with clickable roles. (Closed)
Patch Set: Add TODO for "feed" ARIA role. Created 3 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.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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 uint32_t InternalChildCount() const; 229 uint32_t InternalChildCount() const;
230 BrowserAccessibility* InternalGetChild(uint32_t child_index) const; 230 BrowserAccessibility* InternalGetChild(uint32_t child_index) const;
231 BrowserAccessibility* InternalGetParent() const; 231 BrowserAccessibility* InternalGetParent() const;
232 232
233 BrowserAccessibility* GetParent() const; 233 BrowserAccessibility* GetParent() const;
234 int32_t GetIndexInParent() const; 234 int32_t GetIndexInParent() const;
235 235
236 int32_t GetId() const; 236 int32_t GetId() const;
237 const ui::AXNodeData& GetData() const; 237 const ui::AXNodeData& GetData() const;
238 gfx::RectF GetLocation() const; 238 gfx::RectF GetLocation() const;
239 int32_t GetRole() const; 239 ui::AXRole GetRole() const;
240 int32_t GetState() const; 240 int32_t GetState() const;
241 241
242 typedef base::StringPairs HtmlAttributes; 242 typedef base::StringPairs HtmlAttributes;
243 const HtmlAttributes& GetHtmlAttributes() const; 243 const HtmlAttributes& GetHtmlAttributes() const;
244 244
245 // Returns true if this is a native platform-specific object, vs a 245 // Returns true if this is a native platform-specific object, vs a
246 // cross-platform generic object. Don't call ToBrowserAccessibilityXXX if 246 // cross-platform generic object. Don't call ToBrowserAccessibilityXXX if
247 // IsNative returns false. 247 // IsNative returns false.
248 virtual bool IsNative() const; 248 virtual bool IsNative() const;
249 249
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 // bounds, but "virtual" elements in the accessibility tree that don't 381 // bounds, but "virtual" elements in the accessibility tree that don't
382 // correspond to a layed-out element sometimes don't have bounds. 382 // correspond to a layed-out element sometimes don't have bounds.
383 void FixEmptyBounds(gfx::RectF* bounds) const; 383 void FixEmptyBounds(gfx::RectF* bounds) const;
384 384
385 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibility); 385 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibility);
386 }; 386 };
387 387
388 } // namespace content 388 } // namespace content
389 389
390 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_ 390 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/accessibility/browser_accessibility.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698