| 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 2103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2114 m_baseBackgroundColor = backgroundColor; | 2114 m_baseBackgroundColor = backgroundColor; |
| 2115 | 2115 |
| 2116 if (!layoutViewItem().isNull() && | 2116 if (!layoutViewItem().isNull() && |
| 2117 layoutViewItem().layer()->hasCompositedLayerMapping()) { | 2117 layoutViewItem().layer()->hasCompositedLayerMapping()) { |
| 2118 CompositedLayerMapping* compositedLayerMapping = | 2118 CompositedLayerMapping* compositedLayerMapping = |
| 2119 layoutViewItem().layer()->compositedLayerMapping(); | 2119 layoutViewItem().layer()->compositedLayerMapping(); |
| 2120 compositedLayerMapping->updateContentsOpaque(); | 2120 compositedLayerMapping->updateContentsOpaque(); |
| 2121 if (compositedLayerMapping->mainGraphicsLayer()) | 2121 if (compositedLayerMapping->mainGraphicsLayer()) |
| 2122 compositedLayerMapping->mainGraphicsLayer()->setNeedsDisplay(); | 2122 compositedLayerMapping->mainGraphicsLayer()->setNeedsDisplay(); |
| 2123 } | 2123 } |
| 2124 recalculateScrollbarOverlayStyle(documentBackgroundColor()); | 2124 recalculateScrollbarOverlayColorTheme(documentBackgroundColor()); |
| 2125 | 2125 |
| 2126 if (!shouldThrottleRendering()) | 2126 if (!shouldThrottleRendering()) |
| 2127 page()->animator().scheduleVisualUpdate(m_frame.get()); | 2127 page()->animator().scheduleVisualUpdate(m_frame.get()); |
| 2128 } | 2128 } |
| 2129 | 2129 |
| 2130 void FrameView::updateBackgroundRecursively(const Color& backgroundColor, | 2130 void FrameView::updateBackgroundRecursively(const Color& backgroundColor, |
| 2131 bool transparent) { | 2131 bool transparent) { |
| 2132 forAllNonThrottledFrameViews( | 2132 forAllNonThrottledFrameViews( |
| 2133 [backgroundColor, transparent](FrameView& frameView) { | 2133 [backgroundColor, transparent](FrameView& frameView) { |
| 2134 frameView.setTransparent(transparent); | 2134 frameView.setTransparent(transparent); |
| (...skipping 2395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4530 DCHECK(m_frame->isMainFrame()); | 4530 DCHECK(m_frame->isMainFrame()); |
| 4531 return m_initialViewportSize.width(); | 4531 return m_initialViewportSize.width(); |
| 4532 } | 4532 } |
| 4533 | 4533 |
| 4534 int FrameView::initialViewportHeight() const { | 4534 int FrameView::initialViewportHeight() const { |
| 4535 DCHECK(m_frame->isMainFrame()); | 4535 DCHECK(m_frame->isMainFrame()); |
| 4536 return m_initialViewportSize.height(); | 4536 return m_initialViewportSize.height(); |
| 4537 } | 4537 } |
| 4538 | 4538 |
| 4539 } // namespace blink | 4539 } // namespace blink |
| OLD | NEW |