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

Side by Side Diff: third_party/WebKit/Source/modules/accessibility/AXTableHeaderContainer.h

Issue 1996873002: AXObject is not copyable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more accessibility classes Created 4 years, 7 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 /* 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 19 matching lines...) Expand all
30 #define AXTableHeaderContainer_h 30 #define AXTableHeaderContainer_h
31 31
32 #include "modules/accessibility/AXMockObject.h" 32 #include "modules/accessibility/AXMockObject.h"
33 #include "modules/accessibility/AXTable.h" 33 #include "modules/accessibility/AXTable.h"
34 34
35 namespace blink { 35 namespace blink {
36 36
37 class AXObjectCacheImpl; 37 class AXObjectCacheImpl;
38 38
39 class AXTableHeaderContainer final : public AXMockObject { 39 class AXTableHeaderContainer final : public AXMockObject {
40 WTF_MAKE_NONCOPYABLE(AXTableHeaderContainer);
40 41
41 private: 42 private:
42 explicit AXTableHeaderContainer(AXObjectCacheImpl&); 43 explicit AXTableHeaderContainer(AXObjectCacheImpl&);
43 44
44 public: 45 public:
45 static AXTableHeaderContainer* create(AXObjectCacheImpl&); 46 static AXTableHeaderContainer* create(AXObjectCacheImpl&);
46 ~AXTableHeaderContainer() override; 47 ~AXTableHeaderContainer() override;
47 48
48 AccessibilityRole roleValue() const override { return TableHeaderContainerRo le; } 49 AccessibilityRole roleValue() const override { return TableHeaderContainerRo le; }
49 50
50 void addChildren() override; 51 void addChildren() override;
51 52
52 LayoutRect elementRect() const override; 53 LayoutRect elementRect() const override;
53 54
54 private: 55 private:
55 LayoutRect m_headerRect; 56 LayoutRect m_headerRect;
56 57
57 bool computeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const override ; 58 bool computeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const override ;
58 }; 59 };
59 60
60 } // namespace blink 61 } // namespace blink
61 62
62 #endif // AXTableHeaderContainer_h 63 #endif // AXTableHeaderContainer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698