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

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

Issue 390193003: [not for review] Add Draw entries to window Performance Timeline (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Git pull syncup Created 6 years, 3 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 | « Source/core/frame/UseCounter.h ('k') | Source/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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 FrameView* frameView() const { return m_frameView; } 81 FrameView* frameView() const { return m_frameView; }
82 82
83 enum ViewportConstrainedPosition { 83 enum ViewportConstrainedPosition {
84 IsNotFixedPosition, 84 IsNotFixedPosition,
85 IsFixedPosition, 85 IsFixedPosition,
86 }; 86 };
87 void mapRectToPaintInvalidationBacking(const RenderLayerModelObject* paintIn validationContainer, LayoutRect&, ViewportConstrainedPosition, const PaintInvali dationState*) const; 87 void mapRectToPaintInvalidationBacking(const RenderLayerModelObject* paintIn validationContainer, LayoutRect&, ViewportConstrainedPosition, const PaintInvali dationState*) const;
88 virtual void mapRectToPaintInvalidationBacking(const RenderLayerModelObject* paintInvalidationContainer, LayoutRect&, const PaintInvalidationState*) const O VERRIDE; 88 virtual void mapRectToPaintInvalidationBacking(const RenderLayerModelObject* paintInvalidationContainer, LayoutRect&, const PaintInvalidationState*) const O VERRIDE;
89 89
90 void invalidatePaintForRectangle(const LayoutRect&) const; 90 void invalidatePaintForRectangle(const LayoutRect&) const;
91 LayoutRect rectForPaintInvalidation(const LayoutRect* paintInvalidationRectP tr = 0) const;
91 92
92 void invalidatePaintForViewAndCompositedLayers(); 93 void invalidatePaintForViewAndCompositedLayers();
93 94
94 virtual void paint(PaintInfo&, const LayoutPoint&) OVERRIDE; 95 virtual void paint(PaintInfo&, const LayoutPoint&) OVERRIDE;
95 virtual void paintBoxDecorationBackground(PaintInfo&, const LayoutPoint&) OV ERRIDE; 96 virtual void paintBoxDecorationBackground(PaintInfo&, const LayoutPoint&) OV ERRIDE;
96 97
97 enum SelectionPaintInvalidationMode { PaintInvalidationNewXOROld, PaintInval idationNewMinusOld, PaintInvalidationNothing }; 98 enum SelectionPaintInvalidationMode { PaintInvalidationNewXOROld, PaintInval idationNewMinusOld, PaintInvalidationNothing };
98 void setSelection(RenderObject* start, int startPos, RenderObject*, int endP os, SelectionPaintInvalidationMode = PaintInvalidationNewXOROld); 99 void setSelection(RenderObject* start, int startPos, RenderObject*, int endP os, SelectionPaintInvalidationMode = PaintInvalidationNewXOROld);
99 void getSelection(RenderObject*& startRenderer, int& startOffset, RenderObje ct*& endRenderer, int& endOffset) const; 100 void getSelection(RenderObject*& startRenderer, int& startOffset, RenderObje ct*& endRenderer, int& endOffset) const;
100 void clearSelection(); 101 void clearSelection();
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 m_paintInvalidationState->m_cachedOffsetsEnabled = true; 235 m_paintInvalidationState->m_cachedOffsetsEnabled = true;
235 } 236 }
236 private: 237 private:
237 const PaintInvalidationState* m_paintInvalidationState; 238 const PaintInvalidationState* m_paintInvalidationState;
238 bool m_didDisable; 239 bool m_didDisable;
239 }; 240 };
240 241
241 } // namespace blink 242 } // namespace blink
242 243
243 #endif // RenderView_h 244 #endif // RenderView_h
OLDNEW
« no previous file with comments | « Source/core/frame/UseCounter.h ('k') | Source/core/rendering/RenderView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698