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 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 } | 306 } |
307 | 307 |
308 bool WebAXObject::isHovered() const | 308 bool WebAXObject::isHovered() const |
309 { | 309 { |
310 if (isDetached()) | 310 if (isDetached()) |
311 return false; | 311 return false; |
312 | 312 |
313 return m_private->isHovered(); | 313 return m_private->isHovered(); |
314 } | 314 } |
315 | 315 |
316 bool WebAXObject::isIndeterminate() const | |
317 { | |
318 if (isDetached()) | |
319 return false; | |
320 | |
321 return m_private->isIndeterminate(); | |
322 } | |
323 | |
324 bool WebAXObject::isLinked() const | 316 bool WebAXObject::isLinked() const |
325 { | 317 { |
326 if (isDetached()) | 318 if (isDetached()) |
327 return false; | 319 return false; |
328 | 320 |
329 return m_private->isLinked(); | 321 return m_private->isLinked(); |
330 } | 322 } |
331 | 323 |
332 bool WebAXObject::isLoaded() const | 324 bool WebAXObject::isLoaded() const |
333 { | 325 { |
(...skipping 1183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1517 m_private = object; | 1509 m_private = object; |
1518 return *this; | 1510 return *this; |
1519 } | 1511 } |
1520 | 1512 |
1521 WebAXObject::operator AXObject*() const | 1513 WebAXObject::operator AXObject*() const |
1522 { | 1514 { |
1523 return m_private.get(); | 1515 return m_private.get(); |
1524 } | 1516 } |
1525 | 1517 |
1526 } // namespace blink | 1518 } // namespace blink |
OLD | NEW |