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

Side by Side Diff: Source/modules/accessibility/AXTable.h

Issue 742353004: Implement computedRole and computedName (behind a flag) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Finished pulling out ScopedAXObjectCache etc. Many fprintfs remain. Created 6 years 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 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2008 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 16 matching lines...) Expand all
27 */ 27 */
28 28
29 #ifndef AXTable_h 29 #ifndef AXTable_h
30 #define AXTable_h 30 #define AXTable_h
31 31
32 #include "modules/accessibility/AXRenderObject.h" 32 #include "modules/accessibility/AXRenderObject.h"
33 #include "wtf/Forward.h" 33 #include "wtf/Forward.h"
34 34
35 namespace blink { 35 namespace blink {
36 36
37 class AXObjectCache;
37 class AXTableCell; 38 class AXTableCell;
38 39
39 class AXTable : public AXRenderObject { 40 class AXTable : public AXRenderObject {
40 41
41 protected: 42 protected:
42 explicit AXTable(RenderObject*); 43 explicit AXTable(RenderObject*, AXObjectCache*);
44
43 public: 45 public:
44 static PassRefPtr<AXTable> create(RenderObject*); 46 static PassRefPtr<AXTable> create(RenderObject*, AXObjectCache*);
45 virtual ~AXTable(); 47 virtual ~AXTable();
46 48
47 virtual void init() override final; 49 virtual void init() override final;
48 50
49 virtual bool isAXTable() const override final; 51 virtual bool isAXTable() const override final;
50 virtual bool isDataTable() const override final; 52 virtual bool isDataTable() const override final;
51 53
52 virtual AccessibilityRole roleValue() const override final; 54 virtual AccessibilityRole roleValue() const override final;
53 55
54 virtual void addChildren() override; 56 virtual void addChildren() override;
(...skipping 30 matching lines...) Expand all
85 bool hasARIARole() const; 87 bool hasARIARole() const;
86 virtual bool isTableExposableThroughAccessibility() const; 88 virtual bool isTableExposableThroughAccessibility() const;
87 virtual bool computeAccessibilityIsIgnored() const override final; 89 virtual bool computeAccessibilityIsIgnored() const override final;
88 }; 90 };
89 91
90 DEFINE_AX_OBJECT_TYPE_CASTS(AXTable, isAXTable()); 92 DEFINE_AX_OBJECT_TYPE_CASTS(AXTable, isAXTable());
91 93
92 } // namespace blink 94 } // namespace blink
93 95
94 #endif // AXTable_h 96 #endif // AXTable_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698