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

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: Rebase 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
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 namespace blink { 8 namespace blink {
9 9
10 struct PaintInfo; 10 struct PaintInfo;
(...skipping 21 matching lines...) Expand all
32 // It is expected that the caller will call this function independent of the value of paintInfo.phase. 32 // It is expected that the caller will call this function independent of the value of paintInfo.phase.
33 static void paintAsInlineBlock(LayoutObject&, const PaintInfo&, const Layout Point&); 33 static void paintAsInlineBlock(LayoutObject&, const PaintInfo&, const Layout Point&);
34 static void paintChildrenOfFlexibleBox(LayoutFlexibleBox&, const PaintInfo&, const LayoutPoint& paintOffset); 34 static void paintChildrenOfFlexibleBox(LayoutFlexibleBox&, const PaintInfo&, const LayoutPoint& paintOffset);
35 static void paintInlineBox(InlineBox&, const PaintInfo&, const LayoutPoint& paintOffset); 35 static void paintInlineBox(InlineBox&, const PaintInfo&, const LayoutPoint& paintOffset);
36 36
37 private: 37 private:
38 LayoutRect overflowRectForPaintRejection() const; 38 LayoutRect overflowRectForPaintRejection() const;
39 bool hasCaret() const; 39 bool hasCaret() const;
40 void paintCarets(const PaintInfo&, const LayoutPoint&); 40 void paintCarets(const PaintInfo&, const LayoutPoint&);
41 void paintContents(const PaintInfo&, const LayoutPoint&); 41 void paintContents(const PaintInfo&, const LayoutPoint&);
42 void paintContinuationOutlines(const PaintInfo&, const LayoutPoint&);
43 42
44 LayoutBlock& m_layoutBlock; 43 LayoutBlock& m_layoutBlock;
45 }; 44 };
46 45
47 } // namespace blink 46 } // namespace blink
48 47
49 #endif // BlockPainter_h 48 #endif // BlockPainter_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698