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

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

Issue 713073003: remove updateTouchEventTargetRectsIfNeeded (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: moar 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
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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 double layoutViewportHeight() const; 128 double layoutViewportHeight() const;
129 129
130 void pushLayoutState(LayoutState&); 130 void pushLayoutState(LayoutState&);
131 void popLayoutState(); 131 void popLayoutState();
132 virtual void invalidateTreeIfNeeded(const PaintInvalidationState&) override final; 132 virtual void invalidateTreeIfNeeded(const PaintInvalidationState&) override final;
133 133
134 private: 134 private:
135 virtual void mapLocalToContainer(const RenderLayerModelObject* paintInvalida tionContainer, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, const PaintInvalidationState* = 0) const override; 135 virtual void mapLocalToContainer(const RenderLayerModelObject* paintInvalida tionContainer, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, const PaintInvalidationState* = 0) const override;
136 virtual const RenderObject* pushMappingToContainer(const RenderLayerModelObj ect* ancestorToStopAt, RenderGeometryMap&) const override; 136 virtual const RenderObject* pushMappingToContainer(const RenderLayerModelObj ect* ancestorToStopAt, RenderGeometryMap&) const override;
137 virtual void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) c onst override; 137 virtual void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) c onst override;
138 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint& layerOffset) const override;
139
140 138
141 bool shouldInvalidatePaint(const LayoutRect&) const; 139 bool shouldInvalidatePaint(const LayoutRect&) const;
142 140
143 void layoutContent(); 141 void layoutContent();
144 #if ENABLE(ASSERT) 142 #if ENABLE(ASSERT)
145 void checkLayoutState(); 143 void checkLayoutState();
146 #endif 144 #endif
147 145
148 void positionDialog(RenderBox*); 146 void positionDialog(RenderBox*);
149 void positionDialogs(); 147 void positionDialogs();
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 m_paintInvalidationState->m_cachedOffsetsEnabled = true; 190 m_paintInvalidationState->m_cachedOffsetsEnabled = true;
193 } 191 }
194 private: 192 private:
195 const PaintInvalidationState* m_paintInvalidationState; 193 const PaintInvalidationState* m_paintInvalidationState;
196 bool m_didDisable; 194 bool m_didDisable;
197 }; 195 };
198 196
199 } // namespace blink 197 } // namespace blink
200 198
201 #endif // RenderView_h 199 #endif // RenderView_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698