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

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

Issue 2713193003: Added a quick heuristic to determine which objects are the target of in-page links and stop ignorin… (Closed)
Patch Set: Fixed Android test. Created 3 years, 8 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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 AXObjectCache::AXSelectedTextChanged); 187 AXObjectCache::AXSelectedTextChanged);
188 STATIC_ASSERT_ENUM(WebAXEventShow, AXObjectCache::AXShow); 188 STATIC_ASSERT_ENUM(WebAXEventShow, AXObjectCache::AXShow);
189 STATIC_ASSERT_ENUM(WebAXEventTextChanged, AXObjectCache::AXTextChanged); 189 STATIC_ASSERT_ENUM(WebAXEventTextChanged, AXObjectCache::AXTextChanged);
190 STATIC_ASSERT_ENUM(WebAXEventTextInserted, AXObjectCache::AXTextInserted); 190 STATIC_ASSERT_ENUM(WebAXEventTextInserted, AXObjectCache::AXTextInserted);
191 STATIC_ASSERT_ENUM(WebAXEventTextRemoved, AXObjectCache::AXTextRemoved); 191 STATIC_ASSERT_ENUM(WebAXEventTextRemoved, AXObjectCache::AXTextRemoved);
192 STATIC_ASSERT_ENUM(WebAXEventValueChanged, AXObjectCache::AXValueChanged); 192 STATIC_ASSERT_ENUM(WebAXEventValueChanged, AXObjectCache::AXValueChanged);
193 193
194 STATIC_ASSERT_ENUM(WebAXRoleAbbr, AbbrRole); 194 STATIC_ASSERT_ENUM(WebAXRoleAbbr, AbbrRole);
195 STATIC_ASSERT_ENUM(WebAXRoleAlertDialog, AlertDialogRole); 195 STATIC_ASSERT_ENUM(WebAXRoleAlertDialog, AlertDialogRole);
196 STATIC_ASSERT_ENUM(WebAXRoleAlert, AlertRole); 196 STATIC_ASSERT_ENUM(WebAXRoleAlert, AlertRole);
197 STATIC_ASSERT_ENUM(WebAXRoleAnchor, AnchorRole);
197 STATIC_ASSERT_ENUM(WebAXRoleAnnotation, AnnotationRole); 198 STATIC_ASSERT_ENUM(WebAXRoleAnnotation, AnnotationRole);
198 STATIC_ASSERT_ENUM(WebAXRoleApplication, ApplicationRole); 199 STATIC_ASSERT_ENUM(WebAXRoleApplication, ApplicationRole);
199 STATIC_ASSERT_ENUM(WebAXRoleArticle, ArticleRole); 200 STATIC_ASSERT_ENUM(WebAXRoleArticle, ArticleRole);
200 STATIC_ASSERT_ENUM(WebAXRoleAudio, AudioRole); 201 STATIC_ASSERT_ENUM(WebAXRoleAudio, AudioRole);
201 STATIC_ASSERT_ENUM(WebAXRoleBanner, BannerRole); 202 STATIC_ASSERT_ENUM(WebAXRoleBanner, BannerRole);
202 STATIC_ASSERT_ENUM(WebAXRoleBlockquote, BlockquoteRole); 203 STATIC_ASSERT_ENUM(WebAXRoleBlockquote, BlockquoteRole);
203 STATIC_ASSERT_ENUM(WebAXRoleBusyIndicator, BusyIndicatorRole); 204 STATIC_ASSERT_ENUM(WebAXRoleBusyIndicator, BusyIndicatorRole);
204 STATIC_ASSERT_ENUM(WebAXRoleButton, ButtonRole); 205 STATIC_ASSERT_ENUM(WebAXRoleButton, ButtonRole);
205 STATIC_ASSERT_ENUM(WebAXRoleCanvas, CanvasRole); 206 STATIC_ASSERT_ENUM(WebAXRoleCanvas, CanvasRole);
206 STATIC_ASSERT_ENUM(WebAXRoleCaption, CaptionRole); 207 STATIC_ASSERT_ENUM(WebAXRoleCaption, CaptionRole);
(...skipping 665 matching lines...) Expand 10 before | Expand all | Expand 10 after
872 873
873 // This ensures that the version number published in 874 // This ensures that the version number published in
874 // WebSerializedScriptValueVersion.h matches the serializer's understanding. 875 // WebSerializedScriptValueVersion.h matches the serializer's understanding.
875 // TODO(jbroman): Fix this to also account for the V8-side version. See 876 // TODO(jbroman): Fix this to also account for the V8-side version. See
876 // https://crbug.com/704293. 877 // https://crbug.com/704293.
877 static_assert(kSerializedScriptValueVersion == 878 static_assert(kSerializedScriptValueVersion ==
878 SerializedScriptValue::wireFormatVersion, 879 SerializedScriptValue::wireFormatVersion,
879 "Update WebSerializedScriptValueVersion.h."); 880 "Update WebSerializedScriptValueVersion.h.");
880 881
881 } // namespace blink 882 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698