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

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

Issue 2913553002: Forward BrowserAccessibility get_accState to AXPlatformNode. (Closed)
Patch Set: rename and switch boolean values Created 3 years, 6 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 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 const ui::AXNodeData& GetData() const override; 384 const ui::AXNodeData& GetData() const override;
385 gfx::NativeWindow GetTopLevelWidget() override; 385 gfx::NativeWindow GetTopLevelWidget() override;
386 gfx::NativeViewAccessible GetParent() override; 386 gfx::NativeViewAccessible GetParent() override;
387 int GetChildCount() override; 387 int GetChildCount() override;
388 gfx::NativeViewAccessible ChildAtIndex(int index) override; 388 gfx::NativeViewAccessible ChildAtIndex(int index) override;
389 gfx::Rect GetScreenBoundsRect() const override; 389 gfx::Rect GetScreenBoundsRect() const override;
390 gfx::NativeViewAccessible HitTestSync(int x, int y) override; 390 gfx::NativeViewAccessible HitTestSync(int x, int y) override;
391 gfx::NativeViewAccessible GetFocus() override; 391 gfx::NativeViewAccessible GetFocus() override;
392 gfx::AcceleratedWidget GetTargetForNativeAccessibilityEvent() override; 392 gfx::AcceleratedWidget GetTargetForNativeAccessibilityEvent() override;
393 bool AccessibilityPerformAction(const ui::AXActionData& data) override; 393 bool AccessibilityPerformAction(const ui::AXActionData& data) override;
394 bool ShouldIgnoreHoveredStateForTesting() override;
394 395
395 protected: 396 protected:
396 using AXPlatformPositionInstance = AXPlatformPosition::AXPositionInstance; 397 using AXPlatformPositionInstance = AXPlatformPosition::AXPositionInstance;
397 using AXPlatformRange = ui::AXRange<AXPlatformPositionInstance::element_type>; 398 using AXPlatformRange = ui::AXRange<AXPlatformPositionInstance::element_type>;
398 399
399 BrowserAccessibility(); 400 BrowserAccessibility();
400 401
401 // The manager of this tree of accessibility objects. 402 // The manager of this tree of accessibility objects.
402 BrowserAccessibilityManager* manager_; 403 BrowserAccessibilityManager* manager_;
403 404
(...skipping 22 matching lines...) Expand all
426 // bounds, but "virtual" elements in the accessibility tree that don't 427 // bounds, but "virtual" elements in the accessibility tree that don't
427 // correspond to a layed-out element sometimes don't have bounds. 428 // correspond to a layed-out element sometimes don't have bounds.
428 void FixEmptyBounds(gfx::RectF* bounds) const; 429 void FixEmptyBounds(gfx::RectF* bounds) const;
429 430
430 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibility); 431 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibility);
431 }; 432 };
432 433
433 } // namespace content 434 } // namespace content
434 435
435 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_ 436 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698