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

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

Issue 18601002: Add infrastructure for partial layouts (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address reviewer comments Created 7 years, 4 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2004, 2005, 2006, 2009, 2010 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2009, 2010 Apple Inc. All rights reserved.
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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 IntRect windowClipRect() const; 67 IntRect windowClipRect() const;
68 68
69 void setIsOverlapped(bool); 69 void setIsOverlapped(bool);
70 70
71 void ref() { ++m_refCount; } 71 void ref() { ++m_refCount; }
72 void deref(); 72 void deref();
73 73
74 protected: 74 protected:
75 RenderWidget(Element*); 75 RenderWidget(Element*);
76 76
77 FrameView* frameView() const { return m_frameView; } 77 FrameView* frameView() const OVERRIDE { return m_frameView; }
esprehn 2013/08/23 20:47:27 Same deal, lets just use the one on RenderObject.
pdr. 2013/08/26 05:50:40 We can't remove this function in favor of RenderOb
78 78
79 void clearWidget(); 79 void clearWidget();
80 80
81 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OV ERRIDE FINAL; 81 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OV ERRIDE FINAL;
82 virtual void layout(); 82 virtual void layout();
83 virtual void paint(PaintInfo&, const LayoutPoint&); 83 virtual void paint(PaintInfo&, const LayoutPoint&);
84 virtual CursorDirective getCursor(const LayoutPoint&, Cursor&) const; 84 virtual CursorDirective getCursor(const LayoutPoint&, Cursor&) const;
85 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAct ion) OVERRIDE; 85 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAct ion) OVERRIDE;
86 86
87 virtual void paintContents(PaintInfo&, const LayoutPoint&); 87 virtual void paintContents(PaintInfo&, const LayoutPoint&);
(...skipping 24 matching lines...) Expand all
112 ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isWidget()); 112 ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isWidget());
113 return static_cast<const RenderWidget*>(object); 113 return static_cast<const RenderWidget*>(object);
114 } 114 }
115 115
116 // This will catch anyone doing an unnecessary cast. 116 // This will catch anyone doing an unnecessary cast.
117 void toRenderWidget(const RenderWidget*); 117 void toRenderWidget(const RenderWidget*);
118 118
119 } // namespace WebCore 119 } // namespace WebCore
120 120
121 #endif // RenderWidget_h 121 #endif // RenderWidget_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698