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

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

Issue 2666873005: Implement aria-modal (Closed)
Patch Set: Created 3 years, 10 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) 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 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 return m_private->isLinked(); 351 return m_private->isLinked();
352 } 352 }
353 353
354 bool WebAXObject::isLoaded() const { 354 bool WebAXObject::isLoaded() const {
355 if (isDetached()) 355 if (isDetached())
356 return false; 356 return false;
357 357
358 return m_private->isLoaded(); 358 return m_private->isLoaded();
359 } 359 }
360 360
361 bool WebAXObject::isModal() const {
362 if (isDetached())
363 return false;
364
365 return m_private->isModal();
366 }
367
361 bool WebAXObject::isMultiSelectable() const { 368 bool WebAXObject::isMultiSelectable() const {
362 if (isDetached()) 369 if (isDetached())
363 return false; 370 return false;
364 371
365 return m_private->isMultiSelectable(); 372 return m_private->isMultiSelectable();
366 } 373 }
367 374
368 bool WebAXObject::isOffScreen() const { 375 bool WebAXObject::isOffScreen() const {
369 if (isDetached()) 376 if (isDetached())
370 return false; 377 return false;
(...skipping 1154 matching lines...) Expand 10 before | Expand all | Expand 10 after
1525 WebAXObject& WebAXObject::operator=(AXObject* object) { 1532 WebAXObject& WebAXObject::operator=(AXObject* object) {
1526 m_private = object; 1533 m_private = object;
1527 return *this; 1534 return *this;
1528 } 1535 }
1529 1536
1530 WebAXObject::operator AXObject*() const { 1537 WebAXObject::operator AXObject*() const {
1531 return m_private.get(); 1538 return m_private.get();
1532 } 1539 }
1533 1540
1534 } // namespace blink 1541 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698