OLD | NEW |
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 Loading... |
27 */ | 27 */ |
28 | 28 |
29 #ifndef AXTableHeaderContainer_h | 29 #ifndef AXTableHeaderContainer_h |
30 #define AXTableHeaderContainer_h | 30 #define AXTableHeaderContainer_h |
31 | 31 |
32 #include "core/accessibility/AXMockObject.h" | 32 #include "core/accessibility/AXMockObject.h" |
33 #include "core/accessibility/AXTable.h" | 33 #include "core/accessibility/AXTable.h" |
34 | 34 |
35 namespace blink { | 35 namespace blink { |
36 | 36 |
37 class AXTableHeaderContainer FINAL : public AXMockObject { | 37 class AXTableHeaderContainer final : public AXMockObject { |
38 | 38 |
39 private: | 39 private: |
40 AXTableHeaderContainer(); | 40 AXTableHeaderContainer(); |
41 public: | 41 public: |
42 static PassRefPtr<AXTableHeaderContainer> create(); | 42 static PassRefPtr<AXTableHeaderContainer> create(); |
43 virtual ~AXTableHeaderContainer(); | 43 virtual ~AXTableHeaderContainer(); |
44 | 44 |
45 virtual AccessibilityRole roleValue() const OVERRIDE { return TableHeaderCon
tainerRole; } | 45 virtual AccessibilityRole roleValue() const override { return TableHeaderCon
tainerRole; } |
46 | 46 |
47 virtual void addChildren() OVERRIDE; | 47 virtual void addChildren() override; |
48 | 48 |
49 virtual LayoutRect elementRect() const OVERRIDE; | 49 virtual LayoutRect elementRect() const override; |
50 | 50 |
51 private: | 51 private: |
52 LayoutRect m_headerRect; | 52 LayoutRect m_headerRect; |
53 | 53 |
54 virtual bool computeAccessibilityIsIgnored() const OVERRIDE; | 54 virtual bool computeAccessibilityIsIgnored() const override; |
55 }; | 55 }; |
56 | 56 |
57 } // namespace blink | 57 } // namespace blink |
58 | 58 |
59 #endif // AXTableHeaderContainer_h | 59 #endif // AXTableHeaderContainer_h |
OLD | NEW |