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

Side by Side Diff: third_party/WebKit/Source/core/paint/BoxPaintInvalidator.h

Issue 2463703003: blink: Cleanup core class forward declarations (Closed)
Patch Set: Remove redundant empty lines Created 4 years, 1 month 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 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 BoxPaintInvalidator_h 5 #ifndef BoxPaintInvalidator_h
6 #define BoxPaintInvalidator_h 6 #define BoxPaintInvalidator_h
7 7
8 #include "platform/graphics/PaintInvalidationReason.h" 8 #include "platform/graphics/PaintInvalidationReason.h"
9 #include "wtf/Allocator.h" 9 #include "wtf/Allocator.h"
10 10
11 namespace blink { 11 namespace blink {
12 12
13 class LayoutBox; 13 class LayoutBox;
14 class LayoutRect;
15 class LayoutSize; 14 class LayoutSize;
16 struct PaintInvalidatorContext; 15 struct PaintInvalidatorContext;
17 16
18 class BoxPaintInvalidator { 17 class BoxPaintInvalidator {
19 STACK_ALLOCATED(); 18 STACK_ALLOCATED();
20 19
21 public: 20 public:
22 BoxPaintInvalidator(const LayoutBox& box, 21 BoxPaintInvalidator(const LayoutBox& box,
23 const PaintInvalidatorContext& context) 22 const PaintInvalidatorContext& context)
24 : m_box(box), m_context(context) {} 23 : m_box(box), m_context(context) {}
(...skipping 11 matching lines...) Expand all
36 void savePreviousBoxSizesIfNeeded(); 35 void savePreviousBoxSizesIfNeeded();
37 LayoutSize computePreviousBorderBoxSize(const LayoutSize& previousBoundsSize); 36 LayoutSize computePreviousBorderBoxSize(const LayoutSize& previousBoundsSize);
38 37
39 const LayoutBox& m_box; 38 const LayoutBox& m_box;
40 const PaintInvalidatorContext& m_context; 39 const PaintInvalidatorContext& m_context;
41 }; 40 };
42 41
43 } // namespace blink 42 } // namespace blink
44 43
45 #endif 44 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/BoxDecorationData.h ('k') | third_party/WebKit/Source/core/paint/BoxPainter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698