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

Side by Side Diff: Source/core/paint/BlockPainter.h

Issue 1224933002: Combine outline and focus ring code paths (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix empty focus ring on Mac Created 5 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/layout/svg/LayoutSVGModelObject.cpp ('k') | Source/core/paint/BlockPainter.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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef BlockPainter_h 5 #ifndef BlockPainter_h
6 #define BlockPainter_h 6 #define BlockPainter_h
7 7
8 #include "wtf/Allocator.h" 8 #include "wtf/Allocator.h"
9 9
10 namespace blink { 10 namespace blink {
(...skipping 24 matching lines...) Expand all
35 // It is expected that the caller will call this function independent of the value of paintInfo.phase. 35 // It is expected that the caller will call this function independent of the value of paintInfo.phase.
36 static void paintAsInlineBlock(LayoutObject&, const PaintInfo&, const Layout Point&); 36 static void paintAsInlineBlock(LayoutObject&, const PaintInfo&, const Layout Point&);
37 static void paintChildrenOfFlexibleBox(LayoutFlexibleBox&, const PaintInfo&, const LayoutPoint& paintOffset); 37 static void paintChildrenOfFlexibleBox(LayoutFlexibleBox&, const PaintInfo&, const LayoutPoint& paintOffset);
38 static void paintInlineBox(InlineBox&, const PaintInfo&, const LayoutPoint& paintOffset); 38 static void paintInlineBox(InlineBox&, const PaintInfo&, const LayoutPoint& paintOffset);
39 39
40 private: 40 private:
41 LayoutRect overflowRectForPaintRejection() const; 41 LayoutRect overflowRectForPaintRejection() const;
42 bool hasCaret() const; 42 bool hasCaret() const;
43 void paintCarets(const PaintInfo&, const LayoutPoint&); 43 void paintCarets(const PaintInfo&, const LayoutPoint&);
44 void paintContents(const PaintInfo&, const LayoutPoint&); 44 void paintContents(const PaintInfo&, const LayoutPoint&);
45 void paintContinuationOutlines(const PaintInfo&, const LayoutPoint&);
46 45
47 LayoutBlock& m_layoutBlock; 46 LayoutBlock& m_layoutBlock;
48 }; 47 };
49 48
50 } // namespace blink 49 } // namespace blink
51 50
52 #endif // BlockPainter_h 51 #endif // BlockPainter_h
OLDNEW
« no previous file with comments | « Source/core/layout/svg/LayoutSVGModelObject.cpp ('k') | Source/core/paint/BlockPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698