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

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

Issue 2931473002: [ActiveSuggestionMarker #2.5] Handle ActiveSuggestionMarkers for accessibility (Closed)
Patch Set: Add TODO Created 3 years, 6 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 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 STATIC_ASSERT_ENUM(kWebAXInvalidStateUndefined, kInvalidStateUndefined); 388 STATIC_ASSERT_ENUM(kWebAXInvalidStateUndefined, kInvalidStateUndefined);
389 STATIC_ASSERT_ENUM(kWebAXInvalidStateFalse, kInvalidStateFalse); 389 STATIC_ASSERT_ENUM(kWebAXInvalidStateFalse, kInvalidStateFalse);
390 STATIC_ASSERT_ENUM(kWebAXInvalidStateTrue, kInvalidStateTrue); 390 STATIC_ASSERT_ENUM(kWebAXInvalidStateTrue, kInvalidStateTrue);
391 STATIC_ASSERT_ENUM(kWebAXInvalidStateSpelling, kInvalidStateSpelling); 391 STATIC_ASSERT_ENUM(kWebAXInvalidStateSpelling, kInvalidStateSpelling);
392 STATIC_ASSERT_ENUM(kWebAXInvalidStateGrammar, kInvalidStateGrammar); 392 STATIC_ASSERT_ENUM(kWebAXInvalidStateGrammar, kInvalidStateGrammar);
393 STATIC_ASSERT_ENUM(kWebAXInvalidStateOther, kInvalidStateOther); 393 STATIC_ASSERT_ENUM(kWebAXInvalidStateOther, kInvalidStateOther);
394 394
395 STATIC_ASSERT_ENUM(kWebAXMarkerTypeSpelling, DocumentMarker::kSpelling); 395 STATIC_ASSERT_ENUM(kWebAXMarkerTypeSpelling, DocumentMarker::kSpelling);
396 STATIC_ASSERT_ENUM(kWebAXMarkerTypeGrammar, DocumentMarker::kGrammar); 396 STATIC_ASSERT_ENUM(kWebAXMarkerTypeGrammar, DocumentMarker::kGrammar);
397 STATIC_ASSERT_ENUM(kWebAXMarkerTypeTextMatch, DocumentMarker::kTextMatch); 397 STATIC_ASSERT_ENUM(kWebAXMarkerTypeTextMatch, DocumentMarker::kTextMatch);
398 STATIC_ASSERT_ENUM(kWebAXMarkerTypeActiveSuggestion,
399 DocumentMarker::kActiveSuggestion);
398 400
399 STATIC_ASSERT_ENUM(kWebAXTextStyleNone, kTextStyleNone); 401 STATIC_ASSERT_ENUM(kWebAXTextStyleNone, kTextStyleNone);
400 STATIC_ASSERT_ENUM(kWebAXTextStyleBold, kTextStyleBold); 402 STATIC_ASSERT_ENUM(kWebAXTextStyleBold, kTextStyleBold);
401 STATIC_ASSERT_ENUM(kWebAXTextStyleItalic, kTextStyleItalic); 403 STATIC_ASSERT_ENUM(kWebAXTextStyleItalic, kTextStyleItalic);
402 STATIC_ASSERT_ENUM(kWebAXTextStyleUnderline, kTextStyleUnderline); 404 STATIC_ASSERT_ENUM(kWebAXTextStyleUnderline, kTextStyleUnderline);
403 STATIC_ASSERT_ENUM(kWebAXTextStyleLineThrough, kTextStyleLineThrough); 405 STATIC_ASSERT_ENUM(kWebAXTextStyleLineThrough, kTextStyleLineThrough);
404 406
405 STATIC_ASSERT_ENUM(kWebAXNameFromUninitialized, kAXNameFromUninitialized); 407 STATIC_ASSERT_ENUM(kWebAXNameFromUninitialized, kAXNameFromUninitialized);
406 STATIC_ASSERT_ENUM(kWebAXNameFromAttribute, kAXNameFromAttribute); 408 STATIC_ASSERT_ENUM(kWebAXNameFromAttribute, kAXNameFromAttribute);
407 STATIC_ASSERT_ENUM(kWebAXNameFromAttributeExplicitlyEmpty, 409 STATIC_ASSERT_ENUM(kWebAXNameFromAttributeExplicitlyEmpty,
(...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after
886 888
887 // This ensures that the version number published in 889 // This ensures that the version number published in
888 // WebSerializedScriptValueVersion.h matches the serializer's understanding. 890 // WebSerializedScriptValueVersion.h matches the serializer's understanding.
889 // TODO(jbroman): Fix this to also account for the V8-side version. See 891 // TODO(jbroman): Fix this to also account for the V8-side version. See
890 // https://crbug.com/704293. 892 // https://crbug.com/704293.
891 static_assert(kSerializedScriptValueVersion == 893 static_assert(kSerializedScriptValueVersion ==
892 SerializedScriptValue::kWireFormatVersion, 894 SerializedScriptValue::kWireFormatVersion,
893 "Update WebSerializedScriptValueVersion.h."); 895 "Update WebSerializedScriptValueVersion.h.");
894 896
895 } // namespace blink 897 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp ('k') | third_party/WebKit/public/web/WebAXEnums.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698