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

Side by Side Diff: webkit/compositor/LayerChromiumTest.cpp

Issue 10920059: Rolls cc and webkit_compositor up to 127340 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/test/CCGeometryTestUtils.cpp ('k') | webkit/compositor/TiledLayerChromiumTest.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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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 "LayerChromium.h" 7 #include "LayerChromium.h"
8 8
9 #include "CCGeometryTestUtils.h"
9 #include "CCLayerImpl.h" 10 #include "CCLayerImpl.h"
10 #include "CCLayerTreeHost.h" 11 #include "CCLayerTreeHost.h"
11 #include "CCLayerTreeTestCommon.h"
12 #include "CCSingleThreadProxy.h" 12 #include "CCSingleThreadProxy.h"
13 #include "FakeCCLayerTreeHostClient.h" 13 #include "FakeCCLayerTreeHostClient.h"
14 #include "LayerPainterChromium.h" 14 #include "LayerPainterChromium.h"
15 #include <gmock/gmock.h> 15 #include <gmock/gmock.h>
16 #include <gtest/gtest.h> 16 #include <gtest/gtest.h>
17 #include <public/WebCompositor.h> 17 #include <public/WebCompositor.h>
18 #include <public/WebTransformationMatrix.h> 18 #include <public/WebTransformationMatrix.h>
19 19
20 using namespace WebCore; 20 using namespace WebCore;
21 using namespace WebKitTests; 21 using namespace WebKitTests;
(...skipping 783 matching lines...) Expand 10 before | Expand all | Expand 10 after
805 RefPtr<MockLayerChromium> layer(adoptRef(new MockLayerChromium)); 805 RefPtr<MockLayerChromium> layer(adoptRef(new MockLayerChromium));
806 EXPECT_FALSE(layer->needsDisplay()); 806 EXPECT_FALSE(layer->needsDisplay());
807 layer->setBounds(IntSize(0, 10)); 807 layer->setBounds(IntSize(0, 10));
808 EXPECT_FALSE(layer->needsDisplay()); 808 EXPECT_FALSE(layer->needsDisplay());
809 layer->setBounds(IntSize(10, 10)); 809 layer->setBounds(IntSize(10, 10));
810 EXPECT_TRUE(layer->needsDisplay()); 810 EXPECT_TRUE(layer->needsDisplay());
811 } 811 }
812 812
813 813
814 } // namespace 814 } // namespace
OLDNEW
« no previous file with comments | « cc/test/CCGeometryTestUtils.cpp ('k') | webkit/compositor/TiledLayerChromiumTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698