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

Side by Side Diff: Source/core/layout/LayoutView.h

Issue 1033943002: Rename LayoutStyle to papayawhip (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ensureComputedStyle Created 5 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/layout/LayoutTreeAsText.h ('k') | Source/core/layout/LayoutView.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 * 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 55
56 // Returns the total count of calls to HitTest, for testing. 56 // Returns the total count of calls to HitTest, for testing.
57 unsigned hitTestCount() const { return m_hitTestCount; } 57 unsigned hitTestCount() const { return m_hitTestCount; }
58 58
59 virtual const char* name() const override { return "LayoutView"; } 59 virtual const char* name() const override { return "LayoutView"; }
60 60
61 virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectLayoutView || LayoutBlockFlow::isOfType(type); } 61 virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectLayoutView || LayoutBlockFlow::isOfType(type); }
62 62
63 virtual DeprecatedPaintLayerType layerTypeRequired() const override { return NormalDeprecatedPaintLayer; } 63 virtual DeprecatedPaintLayerType layerTypeRequired() const override { return NormalDeprecatedPaintLayer; }
64 64
65 virtual bool isChildAllowed(LayoutObject*, const LayoutStyle&) const overrid e; 65 virtual bool isChildAllowed(LayoutObject*, const ComputedStyle&) const overr ide;
66 66
67 virtual void layout() override; 67 virtual void layout() override;
68 virtual void updateLogicalWidth() override; 68 virtual void updateLogicalWidth() override;
69 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic alTop, LogicalExtentComputedValues&) const override; 69 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic alTop, LogicalExtentComputedValues&) const override;
70 70
71 virtual LayoutUnit availableLogicalHeight(AvailableLogicalHeightType) const override; 71 virtual LayoutUnit availableLogicalHeight(AvailableLogicalHeightType) const override;
72 72
73 // The same as the FrameView's layoutHeight/layoutWidth but with null check guards. 73 // The same as the FrameView's layoutHeight/layoutWidth but with null check guards.
74 int viewHeight(IncludeScrollbarsInRect = ExcludeScrollbars) const; 74 int viewHeight(IncludeScrollbarsInRect = ExcludeScrollbars) const;
75 int viewWidth(IncludeScrollbarsInRect = ExcludeScrollbars) const; 75 int viewWidth(IncludeScrollbarsInRect = ExcludeScrollbars) const;
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 m_paintInvalidationState->m_cachedOffsetsEnabled = true; 234 m_paintInvalidationState->m_cachedOffsetsEnabled = true;
235 } 235 }
236 private: 236 private:
237 const PaintInvalidationState* m_paintInvalidationState; 237 const PaintInvalidationState* m_paintInvalidationState;
238 bool m_didDisable; 238 bool m_didDisable;
239 }; 239 };
240 240
241 } // namespace blink 241 } // namespace blink
242 242
243 #endif // LayoutView_h 243 #endif // LayoutView_h
OLDNEW
« no previous file with comments | « Source/core/layout/LayoutTreeAsText.h ('k') | Source/core/layout/LayoutView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698