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

Side by Side Diff: Source/core/layout/LayoutPart.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/LayoutPagedFlowThread.cpp ('k') | Source/core/layout/LayoutPart.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 * Copyright (C) 2006, 2009 Apple Inc. All rights reserved. 4 * Copyright (C) 2006, 2009 Apple Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 void updateWidgetPosition(); 50 void updateWidgetPosition();
51 void widgetPositionsUpdated(); 51 void widgetPositionsUpdated();
52 bool updateWidgetGeometry(); 52 bool updateWidgetGeometry();
53 53
54 virtual bool isLayoutPart() const override final { return true; } 54 virtual bool isLayoutPart() const override final { return true; }
55 virtual void paintContents(const PaintInfo&, const LayoutPoint&); 55 virtual void paintContents(const PaintInfo&, const LayoutPoint&);
56 56
57 protected: 57 protected:
58 virtual DeprecatedPaintLayerType layerTypeRequired() const override; 58 virtual DeprecatedPaintLayerType layerTypeRequired() const override;
59 59
60 virtual void styleDidChange(StyleDifference, const LayoutStyle* oldStyle) ov erride final; 60 virtual void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override final;
61 virtual void layout() override; 61 virtual void layout() override;
62 virtual PaintInvalidationReason invalidatePaintIfNeeded(PaintInvalidationSta te&, const LayoutBoxModelObject& newPaintInvalidationContainer) override; 62 virtual PaintInvalidationReason invalidatePaintIfNeeded(PaintInvalidationSta te&, const LayoutBoxModelObject& newPaintInvalidationContainer) override;
63 virtual void paint(const PaintInfo&, const LayoutPoint&) override; 63 virtual void paint(const PaintInfo&, const LayoutPoint&) override;
64 virtual CursorDirective getCursor(const LayoutPoint&, Cursor&) const overrid e final; 64 virtual CursorDirective getCursor(const LayoutPoint&, Cursor&) const overrid e final;
65 65
66 private: 66 private:
67 virtual CompositingReasons additionalCompositingReasons() const override; 67 virtual CompositingReasons additionalCompositingReasons() const override;
68 68
69 virtual void willBeDestroyed() override final; 69 virtual void willBeDestroyed() override final;
70 virtual void destroy() override final; 70 virtual void destroy() override final;
71 71
72 bool setWidgetGeometry(const LayoutRect&); 72 bool setWidgetGeometry(const LayoutRect&);
73 73
74 bool nodeAtPointOverWidget(const HitTestRequest&, HitTestResult&, const HitT estLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestA ction); 74 bool nodeAtPointOverWidget(const HitTestRequest&, HitTestResult&, const HitT estLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestA ction);
75 75
76 int m_refCount; 76 int m_refCount;
77 }; 77 };
78 78
79 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutPart, isLayoutPart()); 79 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutPart, isLayoutPart());
80 80
81 } // namespace blink 81 } // namespace blink
82 82
83 #endif // LayoutPart_h 83 #endif // LayoutPart_h
OLDNEW
« no previous file with comments | « Source/core/layout/LayoutPagedFlowThread.cpp ('k') | Source/core/layout/LayoutPart.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698