| OLD | NEW |
| 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 834 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 845 } | 845 } |
| 846 | 846 |
| 847 void WebAXObject::setSelectedTextRange(int selectionStart, | 847 void WebAXObject::setSelectedTextRange(int selectionStart, |
| 848 int selectionEnd) const { | 848 int selectionEnd) const { |
| 849 if (isDetached()) | 849 if (isDetached()) |
| 850 return; | 850 return; |
| 851 | 851 |
| 852 m_private->setSelection(AXObject::AXRange(selectionStart, selectionEnd)); | 852 m_private->setSelection(AXObject::AXRange(selectionStart, selectionEnd)); |
| 853 } | 853 } |
| 854 | 854 |
| 855 void WebAXObject::setSequentialFocusNavigationStartingPoint() const { |
| 856 if (isDetached()) |
| 857 return; |
| 858 |
| 859 m_private->setSequentialFocusNavigationStartingPoint(); |
| 860 } |
| 861 |
| 855 void WebAXObject::setValue(WebString value) const { | 862 void WebAXObject::setValue(WebString value) const { |
| 856 if (isDetached()) | 863 if (isDetached()) |
| 857 return; | 864 return; |
| 858 | 865 |
| 859 m_private->setValue(value); | 866 m_private->setValue(value); |
| 860 } | 867 } |
| 861 | 868 |
| 862 void WebAXObject::showContextMenu() const { | 869 void WebAXObject::showContextMenu() const { |
| 863 if (isDetached()) | 870 if (isDetached()) |
| 864 return; | 871 return; |
| (...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1456 WebAXObject& WebAXObject::operator=(AXObject* object) { | 1463 WebAXObject& WebAXObject::operator=(AXObject* object) { |
| 1457 m_private = object; | 1464 m_private = object; |
| 1458 return *this; | 1465 return *this; |
| 1459 } | 1466 } |
| 1460 | 1467 |
| 1461 WebAXObject::operator AXObject*() const { | 1468 WebAXObject::operator AXObject*() const { |
| 1462 return m_private.get(); | 1469 return m_private.get(); |
| 1463 } | 1470 } |
| 1464 | 1471 |
| 1465 } // namespace blink | 1472 } // namespace blink |
| OLD | NEW |