| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008, 2009, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008, 2009, 2010 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 1000 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1011 void AXObjectCache::handleScrollPositionChanged(ScrollView* scrollView) | 1011 void AXObjectCache::handleScrollPositionChanged(ScrollView* scrollView) |
| 1012 { | 1012 { |
| 1013 postPlatformNotification(getOrCreate(scrollView), AXScrollPositionChanged); | 1013 postPlatformNotification(getOrCreate(scrollView), AXScrollPositionChanged); |
| 1014 } | 1014 } |
| 1015 | 1015 |
| 1016 void AXObjectCache::handleScrollPositionChanged(RenderObject* renderObject) | 1016 void AXObjectCache::handleScrollPositionChanged(RenderObject* renderObject) |
| 1017 { | 1017 { |
| 1018 postPlatformNotification(getOrCreate(renderObject), AXScrollPositionChanged)
; | 1018 postPlatformNotification(getOrCreate(renderObject), AXScrollPositionChanged)
; |
| 1019 } | 1019 } |
| 1020 | 1020 |
| 1021 void AXObjectCache::setCanvasObjectBounds(Element* element, const LayoutRect& re
ct) |
| 1022 { |
| 1023 AXObject* obj = getOrCreate(element); |
| 1024 if (!obj) |
| 1025 return; |
| 1026 |
| 1027 obj->setElementRect(rect); |
| 1028 } |
| 1029 |
| 1021 } // namespace WebCore | 1030 } // namespace WebCore |
| OLD | NEW |