| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 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 30 matching lines...) Expand all Loading... |
| 41 AXARIAGridCell(RenderObject*, AXObjectCacheImpl*); | 41 AXARIAGridCell(RenderObject*, AXObjectCacheImpl*); |
| 42 | 42 |
| 43 public: | 43 public: |
| 44 static PassRefPtr<AXARIAGridCell> create(RenderObject*, AXObjectCacheImpl*); | 44 static PassRefPtr<AXARIAGridCell> create(RenderObject*, AXObjectCacheImpl*); |
| 45 virtual ~AXARIAGridCell(); | 45 virtual ~AXARIAGridCell(); |
| 46 | 46 |
| 47 // fills in the start location and row span of cell | 47 // fills in the start location and row span of cell |
| 48 virtual void rowIndexRange(pair<unsigned, unsigned>& rowRange) override; | 48 virtual void rowIndexRange(pair<unsigned, unsigned>& rowRange) override; |
| 49 // fills in the start location and column span of cell | 49 // fills in the start location and column span of cell |
| 50 virtual void columnIndexRange(pair<unsigned, unsigned>& columnRange) overrid
e; | 50 virtual void columnIndexRange(pair<unsigned, unsigned>& columnRange) overrid
e; |
| 51 virtual AccessibilityRole scanToDecideHeaderRole() override; |
| 51 | 52 |
| 52 protected: | 53 protected: |
| 54 bool isAriaColumnHeader() const; |
| 55 bool isAriaRowHeader() const; |
| 53 virtual AXObject* parentTable() const override; | 56 virtual AXObject* parentTable() const override; |
| 54 }; | 57 }; |
| 55 | 58 |
| 56 } // namespace blink | 59 } // namespace blink |
| 57 | 60 |
| 58 #endif // AXARIAGridCell_h | 61 #endif // AXARIAGridCell_h |
| OLD | NEW |