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

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

Issue 1488893002: Stops using SYSTEM_STATE_INDETERMINATE as it makes radio buttons appear to have a mixed state. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed a few test expectations. 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 1183 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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