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

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

Issue 898783003: Move rendering/RenderLayer* to layout/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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
« no previous file with comments | « Source/core/rendering/RenderObjectChildList.cpp ('k') | Source/core/rendering/RenderReplaced.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 12 matching lines...) Expand all
23 */ 23 */
24 24
25 #include "config.h" 25 #include "config.h"
26 #include "core/rendering/RenderPart.h" 26 #include "core/rendering/RenderPart.h"
27 27
28 #include "core/dom/AXObjectCache.h" 28 #include "core/dom/AXObjectCache.h"
29 #include "core/frame/FrameView.h" 29 #include "core/frame/FrameView.h"
30 #include "core/frame/LocalFrame.h" 30 #include "core/frame/LocalFrame.h"
31 #include "core/html/HTMLFrameElementBase.h" 31 #include "core/html/HTMLFrameElementBase.h"
32 #include "core/layout/HitTestResult.h" 32 #include "core/layout/HitTestResult.h"
33 #include "core/layout/Layer.h"
33 #include "core/paint/BoxPainter.h" 34 #include "core/paint/BoxPainter.h"
34 #include "core/paint/PartPainter.h" 35 #include "core/paint/PartPainter.h"
35 #include "core/plugins/PluginView.h" 36 #include "core/plugins/PluginView.h"
36 #include "core/rendering/RenderLayer.h"
37 #include "core/rendering/RenderView.h" 37 #include "core/rendering/RenderView.h"
38 #include "core/rendering/svg/RenderSVGRoot.h" 38 #include "core/rendering/svg/RenderSVGRoot.h"
39 39
40 namespace blink { 40 namespace blink {
41 41
42 RenderPart::RenderPart(Element* element) 42 RenderPart::RenderPart(Element* element)
43 : RenderReplaced(element) 43 : RenderReplaced(element)
44 // Reference counting is used to prevent the part from being destroyed 44 // Reference counting is used to prevent the part from being destroyed
45 // while inside the Widget code, which might not be able to handle that. 45 // while inside the Widget code, which might not be able to handle that.
46 , m_refCount(1) 46 , m_refCount(1)
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 if (widget->frameRect() == newFrame) 313 if (widget->frameRect() == newFrame)
314 return false; 314 return false;
315 315
316 RefPtrWillBeRawPtr<RenderPart> protector(this); 316 RefPtrWillBeRawPtr<RenderPart> protector(this);
317 RefPtrWillBeRawPtr<Node> protectedNode(node()); 317 RefPtrWillBeRawPtr<Node> protectedNode(node());
318 widget->setFrameRect(newFrame); 318 widget->setFrameRect(newFrame);
319 return widget->frameRect().size() != newFrame.size(); 319 return widget->frameRect().size() != newFrame.size();
320 } 320 }
321 321
322 } 322 }
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderObjectChildList.cpp ('k') | Source/core/rendering/RenderReplaced.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698