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

Side by Side Diff: remoting/capturer/video_frame_capturer_helper_unittest.cc

Issue 11470028: Move screen capturers to remoting/capturer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 (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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698