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

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

Issue 1773813007: blink: Rename modules/ method to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-modules: rebase-fixes Created 4 years, 9 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 29 matching lines...) Expand all
40 class AXImageMapLink final : public AXNodeObject { 40 class AXImageMapLink final : public AXNodeObject {
41 41
42 private: 42 private:
43 explicit AXImageMapLink(HTMLAreaElement*, AXObjectCacheImpl&); 43 explicit AXImageMapLink(HTMLAreaElement*, AXObjectCacheImpl&);
44 44
45 public: 45 public:
46 static AXImageMapLink* create(HTMLAreaElement*, AXObjectCacheImpl&); 46 static AXImageMapLink* create(HTMLAreaElement*, AXObjectCacheImpl&);
47 ~AXImageMapLink() override; 47 ~AXImageMapLink() override;
48 DECLARE_VIRTUAL_TRACE(); 48 DECLARE_VIRTUAL_TRACE();
49 49
50 HTMLAreaElement* areaElement() const { return toHTMLAreaElement(node()); } 50 HTMLAreaElement* areaElement() const { return toHTMLAreaElement(getNode()); }
51 51
52 HTMLMapElement* mapElement() const; 52 HTMLMapElement* mapElement() const;
53 53
54 AccessibilityRole roleValue() const override; 54 AccessibilityRole roleValue() const override;
55 bool isEnabled() const override { return true; } 55 bool isEnabled() const override { return true; }
56 bool computeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const override ; 56 bool computeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const override ;
57 57
58 Element* anchorElement() const override; 58 Element* anchorElement() const override;
59 Element* actionElement() const override; 59 Element* actionElement() const override;
60 KURL url() const override; 60 KURL url() const override;
61 bool isLink() const override { return true; } 61 bool isLink() const override { return true; }
62 bool isLinked() const override { return true; } 62 bool isLinked() const override { return true; }
63 AXObject* computeParent() const override; 63 AXObject* computeParent() const override;
64 64
65 LayoutRect elementRect() const override; 65 LayoutRect elementRect() const override;
66 66
67 private: 67 private:
68 bool isImageMapLink() const override { return true; } 68 bool isImageMapLink() const override { return true; }
69 }; 69 };
70 70
71 DEFINE_AX_OBJECT_TYPE_CASTS(AXImageMapLink, isImageMapLink()); 71 DEFINE_AX_OBJECT_TYPE_CASTS(AXImageMapLink, isImageMapLink());
72 72
73 } // namespace blink 73 } // namespace blink
74 74
75 #endif // AXImageMapLink_h 75 #endif // AXImageMapLink_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698