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

Side by Side Diff: public/web/WebAXEnums.h

Issue 730113003: Introduce new API orientation() to expose aria-orientation correctly. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 233
234 // Expanded State. 234 // Expanded State.
235 // These values must match blink::AccessibilityExpanded values. 235 // These values must match blink::AccessibilityExpanded values.
236 // Enforced in AssertMatchingEnums.cpp. 236 // Enforced in AssertMatchingEnums.cpp.
237 enum WebAXExpanded { 237 enum WebAXExpanded {
238 WebAXExpandedUndefined = 0, 238 WebAXExpandedUndefined = 0,
239 WebAXExpandedCollapsed, 239 WebAXExpandedCollapsed,
240 WebAXExpandedExpanded 240 WebAXExpandedExpanded
241 }; 241 };
242 242
243 // These values must match blink::AccessibilityOrientation values.
244 // Enforced in AssertMatchingEnums.cpp.
245 enum WebAXOrientation {
246 WebAXOrientationUndefined = 0,
247 WebAXOrientationVertical,
248 WebAXOrientationHorizontal,
249 };
250
243 } // namespace blink 251 } // namespace blink
244 252
245 #endif 253 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698