OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "remoting/host/video_frame_capturer_helper.h" | 5 #include "remoting/capturer/video_frame_capturer_helper.h" |
6 | 6 |
7 #include "base/memory/scoped_ptr.h" | 7 #include "base/memory/scoped_ptr.h" |
8 #include "testing/gtest/include/gtest/gtest.h" | 8 #include "testing/gtest/include/gtest/gtest.h" |
9 | 9 |
10 namespace remoting { | 10 namespace remoting { |
11 | 11 |
12 class VideoFrameCapturerHelperTest : public testing::Test { | 12 class VideoFrameCapturerHelperTest : public testing::Test { |
13 protected: | 13 protected: |
14 VideoFrameCapturerHelper capturer_helper_; | 14 VideoFrameCapturerHelper capturer_helper_; |
15 }; | 15 }; |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 x - GRID_SIZE, y - GRID_SIZE, x + GRID_SIZE, y + GRID_SIZE)); | 206 x - GRID_SIZE, y - GRID_SIZE, x + GRID_SIZE, y + GRID_SIZE)); |
207 expandedRegionExpected.op( | 207 expandedRegionExpected.op( |
208 SkIRect::MakeLTRB(x + 0, y - GRID_SIZE, x + GRID_SIZE, y + 0), | 208 SkIRect::MakeLTRB(x + 0, y - GRID_SIZE, x + GRID_SIZE, y + 0), |
209 SkRegion::kDifference_Op); | 209 SkRegion::kDifference_Op); |
210 TestExpandRegionToGrid(region, LOG_GRID_SIZE, expandedRegionExpected); | 210 TestExpandRegionToGrid(region, LOG_GRID_SIZE, expandedRegionExpected); |
211 } | 211 } |
212 } | 212 } |
213 } | 213 } |
214 | 214 |
215 } // namespace remoting | 215 } // namespace remoting |
OLD | NEW |