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

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

Issue 1511603002: Merge to m48: Stops using SYSTEM_STATE_INDETERMINATE as it makes radio buttons appear to have a mix… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2564
Patch Set: Created 5 years 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 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 1287 matching lines...) Expand 10 before | Expand all | Expand 10 after
1621 m_private = object; 1613 m_private = object;
1622 return *this; 1614 return *this;
1623 } 1615 }
1624 1616
1625 WebAXObject::operator AXObject*() const 1617 WebAXObject::operator AXObject*() const
1626 { 1618 {
1627 return m_private.get(); 1619 return m_private.get();
1628 } 1620 }
1629 1621
1630 } // namespace blink 1622 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/AssertMatchingEnums.cpp ('k') | third_party/WebKit/public/web/WebAXEnums.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698