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

Side by Side Diff: cc/CCOcclusionTrackerTest.cpp

Issue 10914268: Change cc files from namespace WebCore to cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « cc/CCOcclusionTracker.cpp ('k') | cc/CCOverdrawMetrics.h » ('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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 "config.h" 5 #include "config.h"
6 6
7 #include "CCOcclusionTracker.h" 7 #include "CCOcclusionTracker.h"
8 8
9 #include "CCAnimationTestCommon.h" 9 #include "CCAnimationTestCommon.h"
10 #include "CCGeometryTestUtils.h" 10 #include "CCGeometryTestUtils.h"
11 #include "CCLayerAnimationController.h" 11 #include "CCLayerAnimationController.h"
12 #include "CCLayerImpl.h" 12 #include "CCLayerImpl.h"
13 #include "CCLayerTreeHostCommon.h" 13 #include "CCLayerTreeHostCommon.h"
14 #include "CCMathUtil.h" 14 #include "CCMathUtil.h"
15 #include "CCOcclusionTrackerTestCommon.h" 15 #include "CCOcclusionTrackerTestCommon.h"
16 #include "CCOverdrawMetrics.h" 16 #include "CCOverdrawMetrics.h"
17 #include "CCSingleThreadProxy.h" 17 #include "CCSingleThreadProxy.h"
18 #include "LayerChromium.h" 18 #include "LayerChromium.h"
19 #include "Region.h" 19 #include "Region.h"
20 #include <gmock/gmock.h> 20 #include <gmock/gmock.h>
21 #include <gtest/gtest.h> 21 #include <gtest/gtest.h>
22 #include <public/WebFilterOperation.h> 22 #include <public/WebFilterOperation.h>
23 #include <public/WebFilterOperations.h> 23 #include <public/WebFilterOperations.h>
24 #include <public/WebTransformationMatrix.h> 24 #include <public/WebTransformationMatrix.h>
25 25
26 using namespace WebCore; 26 using namespace cc;
27 using namespace WebKit; 27 using namespace WebKit;
28 using namespace WebKitTests; 28 using namespace WebKitTests;
29 29
30 namespace { 30 namespace {
31 31
32 class TestContentLayerChromium : public LayerChromium { 32 class TestContentLayerChromium : public LayerChromium {
33 public: 33 public:
34 TestContentLayerChromium() 34 TestContentLayerChromium()
35 : LayerChromium() 35 : LayerChromium()
36 , m_overrideOpaqueContentsRect(false) 36 , m_overrideOpaqueContentsRect(false)
(...skipping 2970 matching lines...) Expand 10 before | Expand all | Expand 10 after
3007 EXPECT_RECT_EQ(IntRect(IntPoint(), trackingSize), occlusion.occlusionInS creenSpace().bounds()); 3007 EXPECT_RECT_EQ(IntRect(IntPoint(), trackingSize), occlusion.occlusionInS creenSpace().bounds());
3008 EXPECT_EQ(1u, occlusion.occlusionInScreenSpace().rects().size()); 3008 EXPECT_EQ(1u, occlusion.occlusionInScreenSpace().rects().size());
3009 EXPECT_RECT_EQ(IntRect(IntPoint(), trackingSize), occlusion.occlusionInT argetSurface().bounds()); 3009 EXPECT_RECT_EQ(IntRect(IntPoint(), trackingSize), occlusion.occlusionInT argetSurface().bounds());
3010 EXPECT_EQ(1u, occlusion.occlusionInTargetSurface().rects().size()); 3010 EXPECT_EQ(1u, occlusion.occlusionInTargetSurface().rects().size());
3011 } 3011 }
3012 }; 3012 };
3013 3013
3014 ALL_CCOCCLUSIONTRACKER_TEST(CCOcclusionTrackerTestMinimumTrackingSize); 3014 ALL_CCOCCLUSIONTRACKER_TEST(CCOcclusionTrackerTestMinimumTrackingSize);
3015 3015
3016 } // namespace 3016 } // namespace
OLDNEW
« no previous file with comments | « cc/CCOcclusionTracker.cpp ('k') | cc/CCOverdrawMetrics.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698