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

Side by Side Diff: Source/core/accessibility/AXObject.cpp

Issue 478733002: Rename repaint to paintInvalidation for remaining methods. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/frame/FrameView.cpp » ('j') | 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, 2009, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2008, 2009, 2011 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 450 matching lines...) Expand 10 before | Expand all | Expand 10 after
461 461
462 size_t count = quads.size(); 462 size_t count = quads.size();
463 if (!count) 463 if (!count)
464 return IntRect(); 464 return IntRect();
465 465
466 IntRect result; 466 IntRect result;
467 for (size_t i = 0; i < count; ++i) { 467 for (size_t i = 0; i < count; ++i) {
468 IntRect r = quads[i].enclosingBoundingBox(); 468 IntRect r = quads[i].enclosingBoundingBox();
469 if (!r.isEmpty()) { 469 if (!r.isEmpty()) {
470 if (obj->style()->hasAppearance()) 470 if (obj->style()->hasAppearance())
471 RenderTheme::theme().adjustRepaintRect(obj, r); 471 RenderTheme::theme().adjustPaintInvalidationRect(obj, r);
472 result.unite(r); 472 result.unite(r);
473 } 473 }
474 } 474 }
475 return result; 475 return result;
476 } 476 }
477 477
478 AXObject* AXObject::elementAccessibilityHitTest(const IntPoint& point) const 478 AXObject* AXObject::elementAccessibilityHitTest(const IntPoint& point) const
479 { 479 {
480 // Send the hit test back into the sub-frame if necessary. 480 // Send the hit test back into the sub-frame if necessary.
481 if (isAttachment()) { 481 if (isAttachment()) {
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
893 return ToggleButtonRole; 893 return ToggleButtonRole;
894 if (ariaHasPopup()) 894 if (ariaHasPopup())
895 return PopUpButtonRole; 895 return PopUpButtonRole;
896 // We don't contemplate RadioButtonRole, as it depends on the input 896 // We don't contemplate RadioButtonRole, as it depends on the input
897 // type. 897 // type.
898 898
899 return ButtonRole; 899 return ButtonRole;
900 } 900 }
901 901
902 } // namespace blink 902 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698