| 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 2041 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2052 m_baseBackgroundColor = backgroundColor; | 2052 m_baseBackgroundColor = backgroundColor; |
| 2053 | 2053 |
| 2054 if (!layoutViewItem().isNull() && | 2054 if (!layoutViewItem().isNull() && |
| 2055 layoutViewItem().layer()->hasCompositedLayerMapping()) { | 2055 layoutViewItem().layer()->hasCompositedLayerMapping()) { |
| 2056 CompositedLayerMapping* compositedLayerMapping = | 2056 CompositedLayerMapping* compositedLayerMapping = |
| 2057 layoutViewItem().layer()->compositedLayerMapping(); | 2057 layoutViewItem().layer()->compositedLayerMapping(); |
| 2058 compositedLayerMapping->updateContentsOpaque(); | 2058 compositedLayerMapping->updateContentsOpaque(); |
| 2059 if (compositedLayerMapping->mainGraphicsLayer()) | 2059 if (compositedLayerMapping->mainGraphicsLayer()) |
| 2060 compositedLayerMapping->mainGraphicsLayer()->setNeedsDisplay(); | 2060 compositedLayerMapping->mainGraphicsLayer()->setNeedsDisplay(); |
| 2061 } | 2061 } |
| 2062 recalculateScrollbarOverlayStyle(documentBackgroundColor()); | 2062 recalculateScrollbarOverlayColorTheme(documentBackgroundColor()); |
| 2063 | 2063 |
| 2064 if (!shouldThrottleRendering()) | 2064 if (!shouldThrottleRendering()) |
| 2065 page()->animator().scheduleVisualUpdate(m_frame.get()); | 2065 page()->animator().scheduleVisualUpdate(m_frame.get()); |
| 2066 } | 2066 } |
| 2067 | 2067 |
| 2068 void FrameView::updateBackgroundRecursively(const Color& backgroundColor, | 2068 void FrameView::updateBackgroundRecursively(const Color& backgroundColor, |
| 2069 bool transparent) { | 2069 bool transparent) { |
| 2070 forAllNonThrottledFrameViews( | 2070 forAllNonThrottledFrameViews( |
| 2071 [backgroundColor, transparent](FrameView& frameView) { | 2071 [backgroundColor, transparent](FrameView& frameView) { |
| 2072 frameView.setTransparent(transparent); | 2072 frameView.setTransparent(transparent); |
| (...skipping 2416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4489 DCHECK(m_frame->isMainFrame()); | 4489 DCHECK(m_frame->isMainFrame()); |
| 4490 return m_initialViewportSize.width(); | 4490 return m_initialViewportSize.width(); |
| 4491 } | 4491 } |
| 4492 | 4492 |
| 4493 int FrameView::initialViewportHeight() const { | 4493 int FrameView::initialViewportHeight() const { |
| 4494 DCHECK(m_frame->isMainFrame()); | 4494 DCHECK(m_frame->isMainFrame()); |
| 4495 return m_initialViewportSize.height(); | 4495 return m_initialViewportSize.height(); |
| 4496 } | 4496 } |
| 4497 | 4497 |
| 4498 } // namespace blink | 4498 } // namespace blink |
| OLD | NEW |