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 332543002: Rename Repaint to Paint Invalidation Part 4 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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
« no previous file with comments | « Source/core/rendering/RenderVideo.cpp ('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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 { 68 {
69 return style()->isHorizontalWritingMode() ? viewWidth(ExcludeScrollbars) : viewHeight(ExcludeScrollbars); 69 return style()->isHorizontalWritingMode() ? viewWidth(ExcludeScrollbars) : viewHeight(ExcludeScrollbars);
70 } 70 }
71 int viewLogicalHeight() const; 71 int viewLogicalHeight() const;
72 LayoutUnit viewLogicalHeightForPercentages() const; 72 LayoutUnit viewLogicalHeightForPercentages() const;
73 73
74 float zoomFactor() const; 74 float zoomFactor() const;
75 75
76 FrameView* frameView() const { return m_frameView; } 76 FrameView* frameView() const { return m_frameView; }
77 77
78 virtual void mapRectToRepaintBacking(const RenderLayerModelObject* repaintCo ntainer, LayoutRect&, bool fixed = false) const OVERRIDE; 78 virtual void mapRectToPaintInvalidationBacking(const RenderLayerModelObject* paintInvalidationContainer, LayoutRect&, bool fixed = false) const OVERRIDE;
79 void repaintViewRectangle(const LayoutRect&) const; 79 void repaintViewRectangle(const LayoutRect&) const;
80 80
81 void repaintViewAndCompositedLayers(); 81 void repaintViewAndCompositedLayers();
82 82
83 virtual void paint(PaintInfo&, const LayoutPoint&) OVERRIDE; 83 virtual void paint(PaintInfo&, const LayoutPoint&) OVERRIDE;
84 virtual void paintBoxDecorations(PaintInfo&, const LayoutPoint&) OVERRIDE; 84 virtual void paintBoxDecorations(PaintInfo&, const LayoutPoint&) OVERRIDE;
85 85
86 enum SelectionRepaintMode { RepaintNewXOROld, RepaintNewMinusOld, RepaintNot hing }; 86 enum SelectionRepaintMode { RepaintNewXOROld, RepaintNewMinusOld, RepaintNot hing };
87 void setSelection(RenderObject* start, int startPos, RenderObject* end, int endPos, SelectionRepaintMode = RepaintNewXOROld); 87 void setSelection(RenderObject* start, int startPos, RenderObject* end, int endPos, SelectionRepaintMode = RepaintNewXOROld);
88 void getSelection(RenderObject*& startRenderer, int& startOffset, RenderObje ct*& endRenderer, int& endOffset) const; 88 void getSelection(RenderObject*& startRenderer, int& startOffset, RenderObje ct*& endRenderer, int& endOffset) const;
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 { 379 {
380 m_view.enableLayoutState(); 380 m_view.enableLayoutState();
381 } 381 }
382 private: 382 private:
383 RenderView& m_view; 383 RenderView& m_view;
384 }; 384 };
385 385
386 } // namespace WebCore 386 } // namespace WebCore
387 387
388 #endif // RenderView_h 388 #endif // RenderView_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderVideo.cpp ('k') | Source/core/rendering/RenderView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698