Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> | 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> |
| 3 * 1999 Lars Knoll <knoll@kde.org> | 3 * 1999 Lars Knoll <knoll@kde.org> |
| 4 * 1999 Antti Koivisto <koivisto@kde.org> | 4 * 1999 Antti Koivisto <koivisto@kde.org> |
| 5 * 2000 Dirk Mueller <mueller@kde.org> | 5 * 2000 Dirk Mueller <mueller@kde.org> |
| 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. |
| 7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) |
| 8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) | 8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) |
| 9 * Copyright (C) 2009 Google Inc. All rights reserved. | 9 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 10 * | 10 * |
| (...skipping 977 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 988 if (hasVerticalBarDamage()) | 988 if (hasVerticalBarDamage()) |
| 989 invalidateRect(verticalBarDamage()); | 989 invalidateRect(verticalBarDamage()); |
| 990 if (hasHorizontalBarDamage()) | 990 if (hasHorizontalBarDamage()) |
| 991 invalidateRect(horizontalBarDamage()); | 991 invalidateRect(horizontalBarDamage()); |
| 992 resetScrollbarDamage(); | 992 resetScrollbarDamage(); |
| 993 | 993 |
| 994 m_doFullPaintInvalidation = false; | 994 m_doFullPaintInvalidation = false; |
| 995 #ifndef NDEBUG | 995 #ifndef NDEBUG |
| 996 renderView()->assertSubtreeClearedPaintInvalidationState(); | 996 renderView()->assertSubtreeClearedPaintInvalidationState(); |
| 997 #endif | 997 #endif |
| 998 | |
| 999 Page* page = frame().page(); | |
| 1000 ASSERT(page); | |
| 1001 LocalFrame* frame = toLocalFrame(page->focusController().focusedOrMainFrame( )); | |
| 1002 if (frame) | |
| 1003 frame->selection().invalidateCaretRect(); | |
|
abarth-chromium
2014/08/12 19:36:25
Suppose the caret moved from one LocalFrame to ano
yoichio
2014/08/13 20:05:28
Call each LocalFrame invalidation.
Thus a focused
| |
| 998 } | 1004 } |
| 999 | 1005 |
| 1000 DocumentLifecycle& FrameView::lifecycle() const | 1006 DocumentLifecycle& FrameView::lifecycle() const |
| 1001 { | 1007 { |
| 1002 return m_frame->document()->lifecycle(); | 1008 return m_frame->document()->lifecycle(); |
| 1003 } | 1009 } |
| 1004 | 1010 |
| 1005 void FrameView::gatherDebugLayoutRects(RenderObject* layoutRoot) | 1011 void FrameView::gatherDebugLayoutRects(RenderObject* layoutRoot) |
| 1006 { | 1012 { |
| 1007 bool isTracing; | 1013 bool isTracing; |
| (...skipping 2125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 3133 void FrameView::willRemoveScrollbar(Scrollbar* scrollbar, ScrollbarOrientation o rientation) | 3139 void FrameView::willRemoveScrollbar(Scrollbar* scrollbar, ScrollbarOrientation o rientation) |
| 3134 { | 3140 { |
| 3135 ScrollableArea::willRemoveScrollbar(scrollbar, orientation); | 3141 ScrollableArea::willRemoveScrollbar(scrollbar, orientation); |
| 3136 if (AXObjectCache* cache = axObjectCache()) { | 3142 if (AXObjectCache* cache = axObjectCache()) { |
| 3137 cache->remove(scrollbar); | 3143 cache->remove(scrollbar); |
| 3138 cache->handleScrollbarUpdate(this); | 3144 cache->handleScrollbarUpdate(this); |
| 3139 } | 3145 } |
| 3140 } | 3146 } |
| 3141 | 3147 |
| 3142 } // namespace blink | 3148 } // namespace blink |
| OLD | NEW |