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

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

Issue 849763002: Get rid of the full invalidation bool on FrameView. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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
« 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 RenderObject* selectionStart() const { return m_selectionStart; } 85 RenderObject* selectionStart() const { return m_selectionStart; }
86 RenderObject* selectionEnd() const { return m_selectionEnd; } 86 RenderObject* selectionEnd() const { return m_selectionEnd; }
87 IntRect selectionBounds() const; 87 IntRect selectionBounds() const;
88 void selectionStartEnd(int& startPos, int& endPos) const; 88 void selectionStartEnd(int& startPos, int& endPos) const;
89 89
90 virtual void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedO ffset) const override; 90 virtual void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedO ffset) const override;
91 virtual void absoluteQuads(Vector<FloatQuad>&) const override; 91 virtual void absoluteQuads(Vector<FloatQuad>&) const override;
92 92
93 virtual LayoutRect viewRect() const override; 93 virtual LayoutRect viewRect() const override;
94 94
95 bool shouldDoFullPaintInvalidationForNextLayout() const;
96 bool doingFullPaintInvalidation() const { return m_frameView->needsFullPaint Invalidation(); }
97
98 LayoutState* layoutState() const { return m_layoutState; } 95 LayoutState* layoutState() const { return m_layoutState; }
99 96
100 virtual void updateHitTestResult(HitTestResult&, const LayoutPoint&) overrid e; 97 virtual void updateHitTestResult(HitTestResult&, const LayoutPoint&) overrid e;
101 98
102 IntRect unscaledDocumentRect() const; 99 IntRect unscaledDocumentRect() const;
103 LayoutRect backgroundRect(RenderBox* backgroundRenderer) const; 100 LayoutRect backgroundRect(RenderBox* backgroundRenderer) const;
104 101
105 IntRect documentRect() const; 102 IntRect documentRect() const;
106 103
107 // Renderer that paints the root background has background-images which all have background-attachment: fixed. 104 // Renderer that paints the root background has background-images which all have background-attachment: fixed.
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 m_paintInvalidationState->m_cachedOffsetsEnabled = true; 176 m_paintInvalidationState->m_cachedOffsetsEnabled = true;
180 } 177 }
181 private: 178 private:
182 const PaintInvalidationState* m_paintInvalidationState; 179 const PaintInvalidationState* m_paintInvalidationState;
183 bool m_didDisable; 180 bool m_didDisable;
184 }; 181 };
185 182
186 } // namespace blink 183 } // namespace blink
187 184
188 #endif // SKY_ENGINE_CORE_RENDERING_RENDERVIEW_H_ 185 #endif // SKY_ENGINE_CORE_RENDERING_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