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

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

Issue 199443009: Move iframe and plugin compositing triggers into additionalCompositingReasons (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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 * (C) 2000 Simon Hausmann <hausmann@kde.org> 3 * (C) 2000 Simon Hausmann <hausmann@kde.org>
4 * (C) 2000 Stefan Schimanski (1Stein@gmx.de) 4 * (C) 2000 Stefan Schimanski (1Stein@gmx.de)
5 * Copyright (C) 2004, 2005, 2006, 2009 Apple Inc. All rights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2009 Apple Inc. All rights reserved.
6 * Copyright (C) Research In Motion Limited 2011. All rights reserved. 6 * Copyright (C) Research In Motion Limited 2011. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 // FIXME: Consider if this test could be done unconditionally. 135 // FIXME: Consider if this test could be done unconditionally.
136 Scrollbar* frameScrollbar = childFrameView->scrollbarAtPoint(newHitT estLocation.roundedPoint()); 136 Scrollbar* frameScrollbar = childFrameView->scrollbarAtPoint(newHitT estLocation.roundedPoint());
137 if (frameScrollbar) 137 if (frameScrollbar)
138 result.setScrollbar(frameScrollbar); 138 result.setScrollbar(frameScrollbar);
139 } 139 }
140 } 140 }
141 141
142 return RenderWidget::nodeAtPoint(request, result, locationInContainer, accum ulatedOffset, action); 142 return RenderWidget::nodeAtPoint(request, result, locationInContainer, accum ulatedOffset, action);
143 } 143 }
144 144
145 CompositingReasons RenderPart::additionalCompositingReasons(CompositingTriggerFl ags) const
146 {
147 if (requiresAcceleratedCompositing())
148 return CompositingReasonIFrame;
149 return CompositingReasonNone;
145 } 150 }
151
152 }
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderPart.h ('k') | Source/core/rendering/compositing/CompositingReasonFinder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698