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

Side by Side Diff: core/fxge/skia/fx_skia_device_unittest.cpp

Issue 2216853004: Refactor fx_ge part 2 (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Fixing build, comments Created 4 years, 4 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
« no previous file with comments | « core/fxge/skia/fx_skia_device.cpp ('k') | core/fxge/win32/fx_win32_device.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 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 PDFium 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 #include "core/fxge/include/cfx_pathdata.h"
5 #include "core/fxge/include/fx_ge.h" 6 #include "core/fxge/include/fx_ge.h"
6 #include "core/fxge/skia/fx_skia_device.h" 7 #include "core/fxge/skia/fx_skia_device.h"
7 #include "fpdfsdk/include/fsdk_define.h" 8 #include "fpdfsdk/include/fsdk_define.h"
8 #include "public/fpdfview.h" 9 #include "public/fpdfview.h"
9 #include "testing/fx_string_testhelpers.h" 10 #include "testing/fx_string_testhelpers.h"
10 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
11 #include "third_party/skia/include/core/SkPictureRecorder.h" 12 #include "third_party/skia/include/core/SkPictureRecorder.h"
12 13
13 namespace { 14 namespace {
14 15
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 Harness(&CommonTest, 156 Harness(&CommonTest,
156 {State::Change::kNo, State::Save::kYes, State::Clip::kDifferentMatrix, 157 {State::Change::kNo, State::Save::kYes, State::Clip::kDifferentMatrix,
157 State::Graphic::kText, 0xFF445566}); 158 State::Graphic::kText, 0xFF445566});
158 Harness(&CommonTest, {State::Change::kNo, State::Save::kYes, 159 Harness(&CommonTest, {State::Change::kNo, State::Save::kYes,
159 State::Clip::kSame, State::Graphic::kText, 0xFF445566}); 160 State::Clip::kSame, State::Graphic::kText, 0xFF445566});
160 } 161 }
161 162
162 TEST(fxge, SkiaStateOOSClip) { 163 TEST(fxge, SkiaStateOOSClip) {
163 Harness(&OutOfSequenceClipTest, {}); 164 Harness(&OutOfSequenceClipTest, {});
164 } 165 }
OLDNEW
« no previous file with comments | « core/fxge/skia/fx_skia_device.cpp ('k') | core/fxge/win32/fx_win32_device.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698