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

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

Issue 2191833003: Use text affinity to return correct accessible line boundaries. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bug in browser_accessibility_win.cc Created 4 years, 4 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) 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 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 // because on some platforms this determines how the accessible description 312 // because on some platforms this determines how the accessible description
313 // is exposed. 313 // is exposed.
314 enum WebAXDescriptionFrom { 314 enum WebAXDescriptionFrom {
315 WebAXDescriptionFromUninitialized = -1, 315 WebAXDescriptionFromUninitialized = -1,
316 WebAXDescriptionFromAttribute = 0, 316 WebAXDescriptionFromAttribute = 0,
317 WebAXDescriptionFromContents, 317 WebAXDescriptionFromContents,
318 WebAXDescriptionFromPlaceholder, 318 WebAXDescriptionFromPlaceholder,
319 WebAXDescriptionFromRelatedElement, 319 WebAXDescriptionFromRelatedElement,
320 }; 320 };
321 321
322 // Text affinity for the start or end of a selection.
323 enum WebAXTextAffinity {
324 WebAXTextAffinityUpstream,
325 WebAXTextAffinityDownstream
326 };
327
322 } // namespace blink 328 } // namespace blink
323 329
324 #endif 330 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebAXObject.cpp ('k') | third_party/WebKit/public/web/WebAXObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698