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

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

Issue 13973026: remove memoryinstrumentation Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove the rest part of MemoryInstrumentation Created 7 years, 8 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/RenderFrameSet.h ('k') | Source/core/rendering/RenderInline.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 Apple Computer, Inc. 5 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 22 matching lines...) Expand all
33 #include "GraphicsContext.h" 33 #include "GraphicsContext.h"
34 #include "HTMLFrameSetElement.h" 34 #include "HTMLFrameSetElement.h"
35 #include "HitTestRequest.h" 35 #include "HitTestRequest.h"
36 #include "HitTestResult.h" 36 #include "HitTestResult.h"
37 #include "MouseEvent.h" 37 #include "MouseEvent.h"
38 #include "PaintInfo.h" 38 #include "PaintInfo.h"
39 #include "RenderFrame.h" 39 #include "RenderFrame.h"
40 #include "RenderLayer.h" 40 #include "RenderLayer.h"
41 #include "RenderView.h" 41 #include "RenderView.h"
42 #include "Settings.h" 42 #include "Settings.h"
43 #include "WebCoreMemoryInstrumentation.h"
44 #include <wtf/MemoryInstrumentationVector.h>
45 43
46 namespace WebCore { 44 namespace WebCore {
47 45
48 RenderFrameSet::RenderFrameSet(HTMLFrameSetElement* frameSet) 46 RenderFrameSet::RenderFrameSet(HTMLFrameSetElement* frameSet)
49 : RenderBox(frameSet) 47 : RenderBox(frameSet)
50 , m_isResizing(false) 48 , m_isResizing(false)
51 , m_isChildResizing(false) 49 , m_isChildResizing(false)
52 { 50 {
53 setInline(false); 51 setInline(false);
54 } 52 }
(...skipping 735 matching lines...) Expand 10 before | Expand all | Expand 10 after
790 cursor = rowResizeCursor(); 788 cursor = rowResizeCursor();
791 return SetCursor; 789 return SetCursor;
792 } 790 }
793 if (canResizeColumn(roundedPoint)) { 791 if (canResizeColumn(roundedPoint)) {
794 cursor = columnResizeCursor(); 792 cursor = columnResizeCursor();
795 return SetCursor; 793 return SetCursor;
796 } 794 }
797 return RenderBox::getCursor(point, cursor); 795 return RenderBox::getCursor(point, cursor);
798 } 796 }
799 797
800 void RenderFrameSet::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
801 {
802 MemoryClassInfo info(memoryObjectInfo, this, PlatformMemoryTypes::Rendering) ;
803 RenderBox::reportMemoryUsage(memoryObjectInfo);
804 info.addMember(m_children, "children");
805 info.addMember(m_rows, "rows");
806 info.addMember(m_cols, "cols");
807 }
808
809 void RenderFrameSet::GridAxis::reportMemoryUsage(MemoryObjectInfo* memoryObjectI nfo) const
810 {
811 MemoryClassInfo info(memoryObjectInfo, this, PlatformMemoryTypes::Rendering) ;
812 info.addMember(m_sizes, "sizes");
813 info.addMember(m_deltas, "deltas");
814 info.addMember(m_preventResize, "preventResize");
815 info.addMember(m_allowBorder, "allowBorder");
816 }
817
818 } // namespace WebCore 798 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderFrameSet.h ('k') | Source/core/rendering/RenderInline.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698