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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutView.h

Issue 1741073002: Rename enums/functions that collide in chromium style in core/layout/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@get-names-6
Patch Set: get-names-7: rebase Created 4 years, 9 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
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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 102
103 float zoomFactor() const; 103 float zoomFactor() const;
104 104
105 FrameView* frameView() const { return m_frameView; } 105 FrameView* frameView() const { return m_frameView; }
106 106
107 enum ViewportConstrainedPosition { 107 enum ViewportConstrainedPosition {
108 IsNotFixedPosition, 108 IsNotFixedPosition,
109 IsFixedPosition, 109 IsFixedPosition,
110 }; 110 };
111 111
112 static ViewportConstrainedPosition viewportConstrainedPosition(EPosition pos ition) { return position == FixedPosition ? IsFixedPosition : IsNotFixedPosition ; } 112 static ViewportConstrainedPosition toViewportConstrainedPosition(EPosition p osition) { return position == FixedPosition ? IsFixedPosition : IsNotFixedPositi on; }
113 void mapToVisibleRectInAncestorSpace(const LayoutBoxModelObject* ancestor, L ayoutRect&, ViewportConstrainedPosition, const PaintInvalidationState*) const; 113 void mapToVisibleRectInAncestorSpace(const LayoutBoxModelObject* ancestor, L ayoutRect&, ViewportConstrainedPosition, const PaintInvalidationState*) const;
114 void mapToVisibleRectInAncestorSpace(const LayoutBoxModelObject* ancestor, L ayoutRect&, const PaintInvalidationState*) const override; 114 void mapToVisibleRectInAncestorSpace(const LayoutBoxModelObject* ancestor, L ayoutRect&, const PaintInvalidationState*) const override;
115 void adjustViewportConstrainedOffset(LayoutRect&, ViewportConstrainedPositio n) const; 115 void adjustViewportConstrainedOffset(LayoutRect&, ViewportConstrainedPositio n) const;
116 116
117 void invalidatePaintForViewAndCompositedLayers(); 117 void invalidatePaintForViewAndCompositedLayers();
118 118
119 void paint(const PaintInfo&, const LayoutPoint&) const override; 119 void paint(const PaintInfo&, const LayoutPoint&) const override;
120 void paintBoxDecorationBackground(const PaintInfo&, const LayoutPoint&) cons t override; 120 void paintBoxDecorationBackground(const PaintInfo&, const LayoutPoint&) cons t override;
121 121
122 enum SelectionPaintInvalidationMode { PaintInvalidationNewXOROld, PaintInval idationNewMinusOld }; 122 enum SelectionPaintInvalidationMode { PaintInvalidationNewXOROld, PaintInval idationNewMinusOld };
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 m_paintInvalidationState->m_cachedOffsetsEnabled = true; 300 m_paintInvalidationState->m_cachedOffsetsEnabled = true;
301 } 301 }
302 private: 302 private:
303 const PaintInvalidationState* m_paintInvalidationState; 303 const PaintInvalidationState* m_paintInvalidationState;
304 bool m_didDisable; 304 bool m_didDisable;
305 }; 305 };
306 306
307 } // namespace blink 307 } // namespace blink
308 308
309 #endif // LayoutView_h 309 #endif // LayoutView_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698