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

Side by Side Diff: sky/engine/core/rendering/RenderView.h

Issue 737523002: Sky: Move iframe geometry updates to FrameView::updateLayout instead of (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: compile 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
« no previous file with comments | « sky/engine/core/rendering/RenderObject.cpp ('k') | sky/engine/core/rendering/RenderView.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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 124
125 double layoutViewportWidth() const; 125 double layoutViewportWidth() const;
126 double layoutViewportHeight() const; 126 double layoutViewportHeight() const;
127 127
128 void pushLayoutState(LayoutState&); 128 void pushLayoutState(LayoutState&);
129 void popLayoutState(); 129 void popLayoutState();
130 virtual void invalidateTreeIfNeeded(const PaintInvalidationState&) override final; 130 virtual void invalidateTreeIfNeeded(const PaintInvalidationState&) override final;
131 131
132 void addIFrame(RenderIFrame* iframe); 132 void addIFrame(RenderIFrame* iframe);
133 void removeIFrame(RenderIFrame* iframe); 133 void removeIFrame(RenderIFrame* iframe);
134 void updateIFramesAfterLayout();
134 135
135 private: 136 private:
136 virtual void mapLocalToContainer(const RenderLayerModelObject* paintInvalida tionContainer, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, const PaintInvalidationState* = 0) const override; 137 virtual void mapLocalToContainer(const RenderLayerModelObject* paintInvalida tionContainer, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, const PaintInvalidationState* = 0) const override;
137 virtual const RenderObject* pushMappingToContainer(const RenderLayerModelObj ect* ancestorToStopAt, RenderGeometryMap&) const override; 138 virtual const RenderObject* pushMappingToContainer(const RenderLayerModelObj ect* ancestorToStopAt, RenderGeometryMap&) const override;
138 virtual void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) c onst override; 139 virtual void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) c onst override;
139 140
140 bool shouldInvalidatePaint(const LayoutRect&) const; 141 bool shouldInvalidatePaint(const LayoutRect&) const;
141 142
142 void layoutContent(); 143 void layoutContent();
143 #if ENABLE(ASSERT) 144 #if ENABLE(ASSERT)
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 m_paintInvalidationState->m_cachedOffsetsEnabled = true; 194 m_paintInvalidationState->m_cachedOffsetsEnabled = true;
194 } 195 }
195 private: 196 private:
196 const PaintInvalidationState* m_paintInvalidationState; 197 const PaintInvalidationState* m_paintInvalidationState;
197 bool m_didDisable; 198 bool m_didDisable;
198 }; 199 };
199 200
200 } // namespace blink 201 } // namespace blink
201 202
202 #endif // RenderView_h 203 #endif // RenderView_h
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/RenderObject.cpp ('k') | sky/engine/core/rendering/RenderView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698