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

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

Issue 698743002: [WIP] Adding support for <iframe>s to slimming paint. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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
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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 bool updateWidgetGeometry(); 53 bool updateWidgetGeometry();
54 54
55 virtual bool isRenderPart() const override final { return true; } 55 virtual bool isRenderPart() const override final { return true; }
56 56
57 protected: 57 protected:
58 virtual LayerType layerTypeRequired() const override; 58 virtual LayerType layerTypeRequired() const override;
59 59
60 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) ov erride final; 60 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) ov erride final;
61 virtual void layout() override; 61 virtual void layout() override;
62 virtual void paint(PaintInfo&, const LayoutPoint&) override; 62 virtual void paint(PaintInfo&, const LayoutPoint&) override;
63 virtual void paintContents(PaintInfo&, const LayoutPoint&);
64 virtual CursorDirective getCursor(const LayoutPoint&, Cursor&) const overrid e final; 63 virtual CursorDirective getCursor(const LayoutPoint&, Cursor&) const overrid e final;
65 64
66 private: 65 private:
67 virtual const char* renderName() const override { return "RenderPart"; } 66 virtual const char* renderName() const override { return "RenderPart"; }
68 67
69 virtual CompositingReasons additionalCompositingReasons() const override; 68 virtual CompositingReasons additionalCompositingReasons() const override;
70 69
71 virtual void willBeDestroyed() override final; 70 virtual void willBeDestroyed() override final;
72 virtual void destroy() override final; 71 virtual void destroy() override final;
73 72
74 bool setWidgetGeometry(const LayoutRect&); 73 bool setWidgetGeometry(const LayoutRect&);
75 74
76 bool nodeAtPointOverWidget(const HitTestRequest&, HitTestResult&, const HitT estLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestA ction); 75 bool nodeAtPointOverWidget(const HitTestRequest&, HitTestResult&, const HitT estLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestA ction);
77 76
78 #if !ENABLE(OILPAN) 77 #if !ENABLE(OILPAN)
79 int m_refCount; 78 int m_refCount;
80 #endif 79 #endif
81 }; 80 };
82 81
83 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderPart, isRenderPart()); 82 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderPart, isRenderPart());
84 83
85 } // namespace blink 84 } // namespace blink
86 85
87 #endif // RenderPart_h 86 #endif // RenderPart_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698