Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(517)

Side by Side Diff: Source/core/rendering/RenderView.cpp

Issue 15973002: Remove NonCompositedContentHost -- Take 2 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase, update comments, add FrameView::didChangeBackgroundOpaqueness Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv ed. 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv ed.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 // a transform, transparency layer, etc. 423 // a transform, transparency layer, etc.
424 Element* elt; 424 Element* elt;
425 for (elt = document()->ownerElement(); view() && elt && elt->renderer(); elt = elt->document()->ownerElement()) { 425 for (elt = document()->ownerElement(); view() && elt && elt->renderer(); elt = elt->document()->ownerElement()) {
426 RenderLayer* layer = elt->renderer()->enclosingLayer(); 426 RenderLayer* layer = elt->renderer()->enclosingLayer();
427 if (layer->cannotBlitToWindow()) { 427 if (layer->cannotBlitToWindow()) {
428 frameView()->setCannotBlitToWindow(); 428 frameView()->setCannotBlitToWindow();
429 break; 429 break;
430 } 430 }
431 431
432 if (RenderLayer* compositingLayer = layer->enclosingCompositingLayerForR epaint()) { 432 if (RenderLayer* compositingLayer = layer->enclosingCompositingLayerForR epaint()) {
433 if (!compositingLayer->backing()->paintsIntoWindow()) { 433 frameView()->setCannotBlitToWindow();
434 frameView()->setCannotBlitToWindow(); 434 break;
435 break;
436 }
437 } 435 }
438 } 436 }
439 437
440 if (document()->ownerElement() || !view()) 438 if (document()->ownerElement() || !view())
441 return; 439 return;
442 440
443 if (paintInfo.skipRootBackground()) 441 if (paintInfo.skipRootBackground())
444 return; 442 return;
445 443
446 bool rootFillsViewport = false; 444 bool rootFillsViewport = false;
(...skipping 710 matching lines...) Expand 10 before | Expand all | Expand 10 after
1157 #endif 1155 #endif
1158 1156
1159 if (layoutState) 1157 if (layoutState)
1160 layoutState->m_isPaginated = m_fragmenting; 1158 layoutState->m_isPaginated = m_fragmenting;
1161 1159
1162 if (m_flowThreadState != RenderObject::NotInsideFlowThread) 1160 if (m_flowThreadState != RenderObject::NotInsideFlowThread)
1163 m_root->setFlowThreadStateIncludingDescendants(m_flowThreadState); 1161 m_root->setFlowThreadStateIncludingDescendants(m_flowThreadState);
1164 } 1162 }
1165 1163
1166 } // namespace WebCore 1164 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698