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

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

Issue 613783002: Smaller vtbls in RenderObject (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase better. Created 6 years, 2 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
« no previous file with comments | « Source/core/rendering/RenderVideo.h ('k') | Source/core/rendering/svg/RenderSVGBlock.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 * Copyright (C) 2006 Apple Computer, Inc. 3 * Copyright (C) 2006 Apple Computer, Inc.
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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 virtual void trace(Visitor*) override; 49 virtual void trace(Visitor*) override;
50 50
51 bool hitTest(const HitTestRequest&, HitTestResult&); 51 bool hitTest(const HitTestRequest&, HitTestResult&);
52 bool hitTest(const HitTestRequest&, const HitTestLocation&, HitTestResult&); 52 bool hitTest(const HitTestRequest&, const HitTestLocation&, HitTestResult&);
53 53
54 // Returns the total count of calls to HitTest, for testing. 54 // Returns the total count of calls to HitTest, for testing.
55 unsigned hitTestCount() const { return m_hitTestCount; } 55 unsigned hitTestCount() const { return m_hitTestCount; }
56 56
57 virtual const char* renderName() const override { return "RenderView"; } 57 virtual const char* renderName() const override { return "RenderView"; }
58 58
59 virtual bool isRenderView() const override { return true; } 59 virtual bool isOfType(RenderObjectType type) const override { return type == RenderObjectRenderView || RenderBlockFlow::isOfType(type); }
60 60
61 virtual LayerType layerTypeRequired() const override { return NormalLayer; } 61 virtual LayerType layerTypeRequired() const override { return NormalLayer; }
62 62
63 virtual bool isChildAllowed(RenderObject*, RenderStyle*) const override; 63 virtual bool isChildAllowed(RenderObject*, RenderStyle*) const override;
64 64
65 virtual void layout() override; 65 virtual void layout() override;
66 virtual void updateLogicalWidth() override; 66 virtual void updateLogicalWidth() override;
67 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic alTop, LogicalExtentComputedValues&) const override; 67 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic alTop, LogicalExtentComputedValues&) const override;
68 68
69 virtual LayoutUnit availableLogicalHeight(AvailableLogicalHeightType) const override; 69 virtual LayoutUnit availableLogicalHeight(AvailableLogicalHeightType) const override;
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 m_paintInvalidationState->m_cachedOffsetsEnabled = true; 236 m_paintInvalidationState->m_cachedOffsetsEnabled = true;
237 } 237 }
238 private: 238 private:
239 const PaintInvalidationState* m_paintInvalidationState; 239 const PaintInvalidationState* m_paintInvalidationState;
240 bool m_didDisable; 240 bool m_didDisable;
241 }; 241 };
242 242
243 } // namespace blink 243 } // namespace blink
244 244
245 #endif // RenderView_h 245 #endif // RenderView_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderVideo.h ('k') | Source/core/rendering/svg/RenderSVGBlock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698