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

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

Issue 574143002: Center dialogs before computing overflow. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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/rendering/RenderBlockFlow.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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 173
174 bool shouldInvalidatePaint(const LayoutRect&) const; 174 bool shouldInvalidatePaint(const LayoutRect&) const;
175 175
176 bool rootFillsViewportBackground(RenderBox* rootBox) const; 176 bool rootFillsViewportBackground(RenderBox* rootBox) const;
177 177
178 void layoutContent(); 178 void layoutContent();
179 #if ENABLE(ASSERT) 179 #if ENABLE(ASSERT)
180 void checkLayoutState(); 180 void checkLayoutState();
181 #endif 181 #endif
182 182
183 void positionDialog(RenderBox*);
184 void positionDialogs();
185
186 friend class ForceHorriblySlowRectMapping; 183 friend class ForceHorriblySlowRectMapping;
187 184
188 bool shouldUsePrintingLayout() const; 185 bool shouldUsePrintingLayout() const;
189 186
190 RenderObject* backgroundRenderer() const; 187 RenderObject* backgroundRenderer() const;
191 188
192 FrameView* m_frameView; 189 FrameView* m_frameView;
193 190
194 RawPtrWillBeMember<RenderObject> m_selectionStart; 191 RawPtrWillBeMember<RenderObject> m_selectionStart;
195 RawPtrWillBeMember<RenderObject> m_selectionEnd; 192 RawPtrWillBeMember<RenderObject> m_selectionEnd;
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 m_paintInvalidationState->m_cachedOffsetsEnabled = true; 231 m_paintInvalidationState->m_cachedOffsetsEnabled = true;
235 } 232 }
236 private: 233 private:
237 const PaintInvalidationState* m_paintInvalidationState; 234 const PaintInvalidationState* m_paintInvalidationState;
238 bool m_didDisable; 235 bool m_didDisable;
239 }; 236 };
240 237
241 } // namespace blink 238 } // namespace blink
242 239
243 #endif // RenderView_h 240 #endif // RenderView_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderBlockFlow.cpp ('k') | Source/core/rendering/RenderView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698