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

Side by Side Diff: Source/core/layout/LayoutPart.cpp

Issue 933953003: Move the remaining rendering/svg/RenderSVG* files 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/layout/LayoutObject.h ('k') | Source/core/layout/LayoutTreeAsText.cpp » ('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 13 matching lines...) Expand all
24 24
25 #include "config.h" 25 #include "config.h"
26 #include "core/layout/LayoutPart.h" 26 #include "core/layout/LayoutPart.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/layout/Layer.h"
34 #include "core/layout/svg/LayoutSVGRoot.h"
34 #include "core/paint/BoxPainter.h" 35 #include "core/paint/BoxPainter.h"
35 #include "core/paint/PartPainter.h" 36 #include "core/paint/PartPainter.h"
36 #include "core/plugins/PluginView.h" 37 #include "core/plugins/PluginView.h"
37 #include "core/rendering/RenderView.h" 38 #include "core/rendering/RenderView.h"
38 #include "core/rendering/svg/RenderSVGRoot.h"
39 39
40 namespace blink { 40 namespace blink {
41 41
42 LayoutPart::LayoutPart(Element* element) 42 LayoutPart::LayoutPart(Element* element)
43 : LayoutReplaced(element) 43 : LayoutReplaced(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)
47 { 47 {
48 ASSERT(element); 48 ASSERT(element);
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 if (widget->frameRect() == newFrame) 309 if (widget->frameRect() == newFrame)
310 return false; 310 return false;
311 311
312 RefPtrWillBeRawPtr<LayoutPart> protector(this); 312 RefPtrWillBeRawPtr<LayoutPart> protector(this);
313 RefPtrWillBeRawPtr<Node> protectedNode(node()); 313 RefPtrWillBeRawPtr<Node> protectedNode(node());
314 widget->setFrameRect(newFrame); 314 widget->setFrameRect(newFrame);
315 return widget->frameRect().size() != newFrame.size(); 315 return widget->frameRect().size() != newFrame.size();
316 } 316 }
317 317
318 } 318 }
OLDNEW
« no previous file with comments | « Source/core/layout/LayoutObject.h ('k') | Source/core/layout/LayoutTreeAsText.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698