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

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

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 PaintControllerPaintTest_h 5 #ifndef PaintControllerPaintTest_h
6 #define PaintControllerPaintTest_h 6 #define PaintControllerPaintTest_h
7 7
8 #include <gtest/gtest.h>
8 #include "core/frame/FrameView.h" 9 #include "core/frame/FrameView.h"
9 #include "core/layout/LayoutTestHelper.h" 10 #include "core/layout/LayoutTestHelper.h"
10 #include "core/layout/LayoutView.h" 11 #include "core/layout/LayoutView.h"
11 #include "core/paint/PaintLayer.h" 12 #include "core/paint/PaintLayer.h"
12 #include "platform/graphics/GraphicsContext.h" 13 #include "platform/graphics/GraphicsContext.h"
13 #include "platform/graphics/GraphicsLayer.h" 14 #include "platform/graphics/GraphicsLayer.h"
14 #include "platform/graphics/paint/CullRect.h" 15 #include "platform/graphics/paint/CullRect.h"
15 #include "platform/testing/RuntimeEnabledFeaturesTestHelpers.h" 16 #include "platform/testing/RuntimeEnabledFeaturesTestHelpers.h"
16 #include <gtest/gtest.h>
17 17
18 namespace blink { 18 namespace blink {
19 19
20 class PaintControllerPaintTestBase : private ScopedSlimmingPaintV2ForTest, 20 class PaintControllerPaintTestBase : private ScopedSlimmingPaintV2ForTest,
21 public RenderingTest { 21 public RenderingTest {
22 public: 22 public:
23 PaintControllerPaintTestBase(bool enableSlimmingPaintV2) 23 PaintControllerPaintTestBase(bool enableSlimmingPaintV2)
24 : ScopedSlimmingPaintV2ForTest(enableSlimmingPaintV2) {} 24 : ScopedSlimmingPaintV2ForTest(enableSlimmingPaintV2) {}
25 25
26 protected: 26 protected:
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 // Shorter names for frequently used display item types in tests. 144 // Shorter names for frequently used display item types in tests.
145 const DisplayItem::Type backgroundType = DisplayItem::kBoxDecorationBackground; 145 const DisplayItem::Type backgroundType = DisplayItem::kBoxDecorationBackground;
146 const DisplayItem::Type foregroundType = 146 const DisplayItem::Type foregroundType =
147 DisplayItem::paintPhaseToDrawingType(PaintPhaseForeground); 147 DisplayItem::paintPhaseToDrawingType(PaintPhaseForeground);
148 const DisplayItem::Type documentBackgroundType = 148 const DisplayItem::Type documentBackgroundType =
149 DisplayItem::kDocumentBackground; 149 DisplayItem::kDocumentBackground;
150 150
151 } // namespace blink 151 } // namespace blink
152 152
153 #endif // PaintControllerPaintTest_h 153 #endif // PaintControllerPaintTest_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/ObjectPaintProperties.h ('k') | third_party/WebKit/Source/core/paint/PaintInfoTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698