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

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

Issue 1435113003: Make use of new AX name calc in Chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix issue with ariaTextAlternative Created 5 years, 1 month 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 String deprecatedTitle(TextUnderElementMode) const override;
64 String deprecatedAccessibilityDescription() const override;
65 AXObject* computeParent() const override; 63 AXObject* computeParent() const override;
66 64
67 LayoutRect elementRect() const override; 65 LayoutRect elementRect() const override;
68 66
69 private: 67 private:
70 bool isImageMapLink() const override { return true; } 68 bool isImageMapLink() const override { return true; }
71 }; 69 };
72 70
73 DEFINE_AX_OBJECT_TYPE_CASTS(AXImageMapLink, isImageMapLink()); 71 DEFINE_AX_OBJECT_TYPE_CASTS(AXImageMapLink, isImageMapLink());
74 72
75 } // namespace blink 73 } // namespace blink
76 74
77 #endif // AXImageMapLink_h 75 #endif // AXImageMapLink_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/devtools/protocol.json ('k') | third_party/WebKit/Source/modules/accessibility/AXImageMapLink.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698