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

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

Issue 176953008: Include the outline into the visual overflow (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed dumb bug caught by Mac. Created 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | Source/core/rendering/InlineFlowBox.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) 2003, 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2004, 2005, 2006, 2007 Apple Inc. All rights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 void clearDescendantsHaveSameLineHeightAndBaseline() 293 void clearDescendantsHaveSameLineHeightAndBaseline()
294 { 294 {
295 m_descendantsHaveSameLineHeightAndBaseline = false; 295 m_descendantsHaveSameLineHeightAndBaseline = false;
296 if (parent() && parent()->descendantsHaveSameLineHeightAndBaseline()) 296 if (parent() && parent()->descendantsHaveSameLineHeightAndBaseline())
297 parent()->clearDescendantsHaveSameLineHeightAndBaseline(); 297 parent()->clearDescendantsHaveSameLineHeightAndBaseline();
298 } 298 }
299 299
300 private: 300 private:
301 void addBoxShadowVisualOverflow(LayoutRect& logicalVisualOverflow); 301 void addBoxShadowVisualOverflow(LayoutRect& logicalVisualOverflow);
302 void addBorderOutsetVisualOverflow(LayoutRect& logicalVisualOverflow); 302 void addBorderOutsetVisualOverflow(LayoutRect& logicalVisualOverflow);
303 void addOutlineVisualOverflow(LayoutRect& logicalVisualOverflow);
303 void addTextBoxVisualOverflow(InlineTextBox*, GlyphOverflowAndFallbackFontsM ap&, LayoutRect& logicalVisualOverflow); 304 void addTextBoxVisualOverflow(InlineTextBox*, GlyphOverflowAndFallbackFontsM ap&, LayoutRect& logicalVisualOverflow);
304 void addReplacedChildOverflow(const InlineBox*, LayoutRect& logicalLayoutOve rflow, LayoutRect& logicalVisualOverflow); 305 void addReplacedChildOverflow(const InlineBox*, LayoutRect& logicalLayoutOve rflow, LayoutRect& logicalVisualOverflow);
305 void constrainToLineTopAndBottomIfNeeded(LayoutRect&) const; 306 void constrainToLineTopAndBottomIfNeeded(LayoutRect&) const;
306 307
307 void setLayoutOverflow(const LayoutRect&, const LayoutRect&); 308 void setLayoutOverflow(const LayoutRect&, const LayoutRect&);
308 void setVisualOverflow(const LayoutRect&, const LayoutRect&); 309 void setVisualOverflow(const LayoutRect&, const LayoutRect&);
309 310
310 protected: 311 protected:
311 OwnPtr<RenderOverflow> m_overflow; 312 OwnPtr<RenderOverflow> m_overflow;
312 313
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 } 368 }
368 369
369 } // namespace WebCore 370 } // namespace WebCore
370 371
371 #ifndef NDEBUG 372 #ifndef NDEBUG
372 // Outside the WebCore namespace for ease of invocation from gdb. 373 // Outside the WebCore namespace for ease of invocation from gdb.
373 void showTree(const WebCore::InlineFlowBox*); 374 void showTree(const WebCore::InlineFlowBox*);
374 #endif 375 #endif
375 376
376 #endif // InlineFlowBox_h 377 #endif // InlineFlowBox_h
OLDNEW
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | Source/core/rendering/InlineFlowBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698