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

Side by Side Diff: Source/core/accessibility/AXObject.h

Issue 704363004: Add an accessibility setting to expose password values. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Address feedback 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
« no previous file with comments | « no previous file | Source/core/accessibility/AXObject.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008, 2009, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2008, 2009, 2011 Apple Inc. All rights reserved.
3 * Copyright (C) 2008 Nuanti Ltd. 3 * Copyright (C) 2008 Nuanti Ltd.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 virtual bool isMenuButton() const { return false; } 346 virtual bool isMenuButton() const { return false; }
347 virtual bool isMenuList() const { return false; } 347 virtual bool isMenuList() const { return false; }
348 virtual bool isMenuListOption() const { return false; } 348 virtual bool isMenuListOption() const { return false; }
349 virtual bool isMenuListPopup() const { return false; } 349 virtual bool isMenuListPopup() const { return false; }
350 bool isMenuRelated() const; 350 bool isMenuRelated() const;
351 virtual bool isMockObject() const { return false; } 351 virtual bool isMockObject() const { return false; }
352 virtual bool isNativeSpinButton() const { return false; } 352 virtual bool isNativeSpinButton() const { return false; }
353 virtual bool isNativeTextControl() const { return false; } // input or texta rea 353 virtual bool isNativeTextControl() const { return false; } // input or texta rea
354 virtual bool isNonNativeTextControl() const { return false; } // contentedit able or role=textbox 354 virtual bool isNonNativeTextControl() const { return false; } // contentedit able or role=textbox
355 virtual bool isPasswordField() const { return false; } 355 virtual bool isPasswordField() const { return false; }
356 virtual bool isPasswordFieldAndShouldHideValue() const;
356 virtual bool isProgressIndicator() const { return false; } 357 virtual bool isProgressIndicator() const { return false; }
357 bool isRadioButton() const { return roleValue() == RadioButtonRole; } 358 bool isRadioButton() const { return roleValue() == RadioButtonRole; }
358 bool isScrollbar() const { return roleValue() == ScrollBarRole; } 359 bool isScrollbar() const { return roleValue() == ScrollBarRole; }
359 virtual bool isSlider() const { return false; } 360 virtual bool isSlider() const { return false; }
360 virtual bool isSpinButton() const { return roleValue() == SpinButtonRole; } 361 virtual bool isSpinButton() const { return roleValue() == SpinButtonRole; }
361 virtual bool isSpinButtonPart() const { return false; } 362 virtual bool isSpinButtonPart() const { return false; }
362 bool isTabItem() const { return roleValue() == TabRole; } 363 bool isTabItem() const { return roleValue() == TabRole; }
363 virtual bool isTableCell() const { return false; } 364 virtual bool isTableCell() const { return false; }
364 virtual bool isTableRow() const { return false; } 365 virtual bool isTableRow() const { return false; }
365 virtual bool isTableCol() const { return false; } 366 virtual bool isTableCol() const { return false; }
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
610 // functions called here may only search up the tree (ancestors), not down. 611 // functions called here may only search up the tree (ancestors), not down.
611 void updateCachedAttributeValuesIfNeeded() const; 612 void updateCachedAttributeValuesIfNeeded() const;
612 }; 613 };
613 614
614 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ 615 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \
615 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred icate) 616 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred icate)
616 617
617 } // namespace blink 618 } // namespace blink
618 619
619 #endif // AXObject_h 620 #endif // AXObject_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/accessibility/AXObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698