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

Side by Side Diff: third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp

Issue 2465983002: Rename "paint invalidation rect" etc. to "visual rect". (Closed)
Patch Set: - Created 4 years, 1 month 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
« no previous file with comments | « third_party/WebKit/Source/core/svg/graphics/filters/SVGFEImage.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2008 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 return !toHTMLAnchorElement(*anchor).href().isEmpty(); 372 return !toHTMLAnchorElement(*anchor).href().isEmpty();
373 } 373 }
374 374
375 bool AXLayoutObject::isLoaded() const { 375 bool AXLayoutObject::isLoaded() const {
376 return !m_layoutObject->document().parser(); 376 return !m_layoutObject->document().parser();
377 } 377 }
378 378
379 bool AXLayoutObject::isOffScreen() const { 379 bool AXLayoutObject::isOffScreen() const {
380 ASSERT(m_layoutObject); 380 ASSERT(m_layoutObject);
381 IntRect contentRect = 381 IntRect contentRect =
382 pixelSnappedIntRect(m_layoutObject->absoluteClippedOverflowRect()); 382 pixelSnappedIntRect(m_layoutObject->absoluteVisualRect());
383 FrameView* view = m_layoutObject->frame()->view(); 383 FrameView* view = m_layoutObject->frame()->view();
384 IntRect viewRect = view->visibleContentRect(); 384 IntRect viewRect = view->visibleContentRect();
385 viewRect.intersect(contentRect); 385 viewRect.intersect(contentRect);
386 return viewRect.isEmpty(); 386 return viewRect.isEmpty();
387 } 387 }
388 388
389 bool AXLayoutObject::isReadOnly() const { 389 bool AXLayoutObject::isReadOnly() const {
390 ASSERT(m_layoutObject); 390 ASSERT(m_layoutObject);
391 391
392 if (isWebArea()) { 392 if (isWebArea()) {
(...skipping 2056 matching lines...) Expand 10 before | Expand all | Expand 10 after
2449 2449
2450 bool AXLayoutObject::elementAttributeValue( 2450 bool AXLayoutObject::elementAttributeValue(
2451 const QualifiedName& attributeName) const { 2451 const QualifiedName& attributeName) const {
2452 if (!m_layoutObject) 2452 if (!m_layoutObject)
2453 return false; 2453 return false;
2454 2454
2455 return equalIgnoringCase(getAttribute(attributeName), "true"); 2455 return equalIgnoringCase(getAttribute(attributeName), "true");
2456 } 2456 }
2457 2457
2458 } // namespace blink 2458 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/svg/graphics/filters/SVGFEImage.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698