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

Side by Side Diff: third_party/WebKit/Source/web/AssertMatchingEnums.cpp

Issue 1655153003: Fire an accessible click event when a web node is clicked on. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fire_clicked_event
Patch Set: Added test for tap Created 4 years, 10 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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 static_assert(static_cast<int>(a) == static_cast<int>(b), \ 144 static_assert(static_cast<int>(a) == static_cast<int>(b), \
145 "mismatching enum: " #a) 145 "mismatching enum: " #a)
146 146
147 STATIC_ASSERT_ENUM(WebAXEventActiveDescendantChanged, AXObjectCache::AXActiveDes cendantChanged); 147 STATIC_ASSERT_ENUM(WebAXEventActiveDescendantChanged, AXObjectCache::AXActiveDes cendantChanged);
148 STATIC_ASSERT_ENUM(WebAXEventAlert, AXObjectCache::AXAlert); 148 STATIC_ASSERT_ENUM(WebAXEventAlert, AXObjectCache::AXAlert);
149 STATIC_ASSERT_ENUM(WebAXEventAriaAttributeChanged, AXObjectCache::AXAriaAttribut eChanged); 149 STATIC_ASSERT_ENUM(WebAXEventAriaAttributeChanged, AXObjectCache::AXAriaAttribut eChanged);
150 STATIC_ASSERT_ENUM(WebAXEventAutocorrectionOccured, AXObjectCache::AXAutocorrect ionOccured); 150 STATIC_ASSERT_ENUM(WebAXEventAutocorrectionOccured, AXObjectCache::AXAutocorrect ionOccured);
151 STATIC_ASSERT_ENUM(WebAXEventBlur, AXObjectCache::AXBlur); 151 STATIC_ASSERT_ENUM(WebAXEventBlur, AXObjectCache::AXBlur);
152 STATIC_ASSERT_ENUM(WebAXEventCheckedStateChanged, AXObjectCache::AXCheckedStateC hanged); 152 STATIC_ASSERT_ENUM(WebAXEventCheckedStateChanged, AXObjectCache::AXCheckedStateC hanged);
153 STATIC_ASSERT_ENUM(WebAXEventChildrenChanged, AXObjectCache::AXChildrenChanged); 153 STATIC_ASSERT_ENUM(WebAXEventChildrenChanged, AXObjectCache::AXChildrenChanged);
154 STATIC_ASSERT_ENUM(WebAXEventClicked, AXObjectCache::AXClicked);
154 STATIC_ASSERT_ENUM(WebAXEventDocumentSelectionChanged, AXObjectCache::AXDocument SelectionChanged); 155 STATIC_ASSERT_ENUM(WebAXEventDocumentSelectionChanged, AXObjectCache::AXDocument SelectionChanged);
155 STATIC_ASSERT_ENUM(WebAXEventFocus, AXObjectCache::AXFocusedUIElementChanged); 156 STATIC_ASSERT_ENUM(WebAXEventFocus, AXObjectCache::AXFocusedUIElementChanged);
156 STATIC_ASSERT_ENUM(WebAXEventHide, AXObjectCache::AXHide); 157 STATIC_ASSERT_ENUM(WebAXEventHide, AXObjectCache::AXHide);
157 STATIC_ASSERT_ENUM(WebAXEventHover, AXObjectCache::AXHover); 158 STATIC_ASSERT_ENUM(WebAXEventHover, AXObjectCache::AXHover);
158 STATIC_ASSERT_ENUM(WebAXEventInvalidStatusChanged, AXObjectCache::AXInvalidStatu sChanged); 159 STATIC_ASSERT_ENUM(WebAXEventInvalidStatusChanged, AXObjectCache::AXInvalidStatu sChanged);
159 STATIC_ASSERT_ENUM(WebAXEventLayoutComplete, AXObjectCache::AXLayoutComplete); 160 STATIC_ASSERT_ENUM(WebAXEventLayoutComplete, AXObjectCache::AXLayoutComplete);
160 STATIC_ASSERT_ENUM(WebAXEventLiveRegionChanged, AXObjectCache::AXLiveRegionChang ed); 161 STATIC_ASSERT_ENUM(WebAXEventLiveRegionChanged, AXObjectCache::AXLiveRegionChang ed);
161 STATIC_ASSERT_ENUM(WebAXEventLoadComplete, AXObjectCache::AXLoadComplete); 162 STATIC_ASSERT_ENUM(WebAXEventLoadComplete, AXObjectCache::AXLoadComplete);
162 STATIC_ASSERT_ENUM(WebAXEventLocationChanged, AXObjectCache::AXLocationChanged); 163 STATIC_ASSERT_ENUM(WebAXEventLocationChanged, AXObjectCache::AXLocationChanged);
163 STATIC_ASSERT_ENUM(WebAXEventMenuListItemSelected, AXObjectCache::AXMenuListItem Selected); 164 STATIC_ASSERT_ENUM(WebAXEventMenuListItemSelected, AXObjectCache::AXMenuListItem Selected);
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after
732 STATIC_ASSERT_ENUM(WebFrameLoadType::ReloadFromOrigin, FrameLoadTypeReloadFromOr igin); 733 STATIC_ASSERT_ENUM(WebFrameLoadType::ReloadFromOrigin, FrameLoadTypeReloadFromOr igin);
733 734
734 STATIC_ASSERT_ENUM(FrameDetachType::Remove, WebFrameClient::DetachType::Remove); 735 STATIC_ASSERT_ENUM(FrameDetachType::Remove, WebFrameClient::DetachType::Remove);
735 STATIC_ASSERT_ENUM(FrameDetachType::Swap, WebFrameClient::DetachType::Swap); 736 STATIC_ASSERT_ENUM(FrameDetachType::Swap, WebFrameClient::DetachType::Swap);
736 STATIC_ASSERT_ENUM(FrameDetachType::Remove, WebRemoteFrameClient::DetachType::Re move); 737 STATIC_ASSERT_ENUM(FrameDetachType::Remove, WebRemoteFrameClient::DetachType::Re move);
737 STATIC_ASSERT_ENUM(FrameDetachType::Swap, WebRemoteFrameClient::DetachType::Swap ); 738 STATIC_ASSERT_ENUM(FrameDetachType::Swap, WebRemoteFrameClient::DetachType::Swap );
738 739
739 static_assert(kSerializedScriptValueVersion == SerializedScriptValue::wireFormat Version, ""); 740 static_assert(kSerializedScriptValueVersion == SerializedScriptValue::wireFormat Version, "");
740 741
741 } // namespace blink 742 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp ('k') | third_party/WebKit/public/web/WebAXEnums.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698