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

Side by Side Diff: Source/web/WebAXObject.cpp

Issue 1156353003: Added ability to distinguished between rich and plain text editables on accessibility objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Renamed to isRichlyEditable. Created 5 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
« no previous file with comments | « Source/modules/accessibility/AXObject.h ('k') | public/web/WebAXObject.h » ('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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 518 matching lines...) Expand 10 before | Expand all | Expand 10 after
529 } 529 }
530 530
531 bool WebAXObject::isMultiline() const 531 bool WebAXObject::isMultiline() const
532 { 532 {
533 if (isDetached()) 533 if (isDetached())
534 return false; 534 return false;
535 535
536 return m_private->isMultiline(); 536 return m_private->isMultiline();
537 } 537 }
538 538
539 bool WebAXObject::isRichlyEditable() const
540 {
541 if (isDetached())
542 return false;
543
544 return m_private->isRichlyEditable();
545 }
546
539 int WebAXObject::posInSet() const 547 int WebAXObject::posInSet() const
540 { 548 {
541 if (isDetached()) 549 if (isDetached())
542 return 0; 550 return 0;
543 551
544 return m_private->posInSet(); 552 return m_private->posInSet();
545 } 553 }
546 554
547 int WebAXObject::setSize() const 555 int WebAXObject::setSize() const
548 { 556 {
(...skipping 1037 matching lines...) Expand 10 before | Expand all | Expand 10 after
1586 m_private = object; 1594 m_private = object;
1587 return *this; 1595 return *this;
1588 } 1596 }
1589 1597
1590 WebAXObject::operator WTF::PassRefPtr<AXObject>() const 1598 WebAXObject::operator WTF::PassRefPtr<AXObject>() const
1591 { 1599 {
1592 return m_private.get(); 1600 return m_private.get();
1593 } 1601 }
1594 1602
1595 } // namespace blink 1603 } // namespace blink
OLDNEW
« no previous file with comments | « Source/modules/accessibility/AXObject.h ('k') | public/web/WebAXObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698