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 1895 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1906 Color FrameView::baseBackgroundColor() const | 1906 Color FrameView::baseBackgroundColor() const |
1907 { | 1907 { |
1908 return m_baseBackgroundColor; | 1908 return m_baseBackgroundColor; |
1909 } | 1909 } |
1910 | 1910 |
1911 void FrameView::setBaseBackgroundColor(const Color& backgroundColor) | 1911 void FrameView::setBaseBackgroundColor(const Color& backgroundColor) |
1912 { | 1912 { |
1913 m_baseBackgroundColor = backgroundColor; | 1913 m_baseBackgroundColor = backgroundColor; |
1914 | 1914 |
1915 if (renderView() && renderView()->layer()->hasCompositedLayerMapping()) { | 1915 if (renderView() && renderView()->layer()->hasCompositedLayerMapping()) { |
1916 CompositedLayerMappingPtr compositedLayerMapping = renderView()->layer()
->compositedLayerMapping(); | 1916 CompositedLayerMapping* compositedLayerMapping = renderView()->layer()->
compositedLayerMapping(); |
1917 compositedLayerMapping->updateContentsOpaque(); | 1917 compositedLayerMapping->updateContentsOpaque(); |
1918 if (compositedLayerMapping->mainGraphicsLayer()) | 1918 if (compositedLayerMapping->mainGraphicsLayer()) |
1919 compositedLayerMapping->mainGraphicsLayer()->setNeedsDisplay(); | 1919 compositedLayerMapping->mainGraphicsLayer()->setNeedsDisplay(); |
1920 } | 1920 } |
1921 recalculateScrollbarOverlayStyle(); | 1921 recalculateScrollbarOverlayStyle(); |
1922 } | 1922 } |
1923 | 1923 |
1924 void FrameView::updateBackgroundRecursively(const Color& backgroundColor, bool t
ransparent) | 1924 void FrameView::updateBackgroundRecursively(const Color& backgroundColor, bool t
ransparent) |
1925 { | 1925 { |
1926 for (Frame* frame = m_frame.get(); frame; frame = frame->tree().traverseNext
(m_frame.get())) { | 1926 for (Frame* frame = m_frame.get(); frame; frame = frame->tree().traverseNext
(m_frame.get())) { |
(...skipping 1335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3262 void FrameView::willRemoveScrollbar(Scrollbar* scrollbar, ScrollbarOrientation o
rientation) | 3262 void FrameView::willRemoveScrollbar(Scrollbar* scrollbar, ScrollbarOrientation o
rientation) |
3263 { | 3263 { |
3264 ScrollableArea::willRemoveScrollbar(scrollbar, orientation); | 3264 ScrollableArea::willRemoveScrollbar(scrollbar, orientation); |
3265 if (AXObjectCache* cache = axObjectCache()) { | 3265 if (AXObjectCache* cache = axObjectCache()) { |
3266 cache->remove(scrollbar); | 3266 cache->remove(scrollbar); |
3267 cache->handleScrollbarUpdate(this); | 3267 cache->handleScrollbarUpdate(this); |
3268 } | 3268 } |
3269 } | 3269 } |
3270 | 3270 |
3271 } // namespace blink | 3271 } // namespace blink |
OLD | NEW |