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

Side by Side Diff: cc/content_layer_unittest.cc

Issue 11189011: cc: Remove the temporary header files that aren't prefixed with CC* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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/content_layer.cc ('k') | cc/delegated_renderer_layer.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 "ContentLayerChromium.h" 7 #include "cc/content_layer.h"
8 8
9 #include "BitmapCanvasLayerTextureUpdater.h"
10 #include "CCRenderingStats.h" 9 #include "CCRenderingStats.h"
11 #include "ContentLayerChromiumClient.h" 10 #include "cc/bitmap_canvas_layer_texture_updater.h"
11 #include "cc/content_layer_client.h"
12 #include "cc/test/geometry_test_utils.h" 12 #include "cc/test/geometry_test_utils.h"
13 #include "skia/ext/platform_canvas.h" 13 #include "skia/ext/platform_canvas.h"
14 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
15 #include <public/WebFloatRect.h> 15 #include <public/WebFloatRect.h>
16 #include <public/WebRect.h> 16 #include <public/WebRect.h>
17 17
18 using namespace cc; 18 using namespace cc;
19 using namespace WebKit; 19 using namespace WebKit;
20 20
21 namespace { 21 namespace {
(...skipping 25 matching lines...) Expand all
47 RefPtr<BitmapCanvasLayerTextureUpdater> updater = BitmapCanvasLayerTextureUp dater::create(ContentLayerPainter::create(&client).PassAs<LayerPainterChromium>( )); 47 RefPtr<BitmapCanvasLayerTextureUpdater> updater = BitmapCanvasLayerTextureUp dater::create(ContentLayerPainter::create(&client).PassAs<LayerPainterChromium>( ));
48 48
49 IntRect resultingOpaqueRect; 49 IntRect resultingOpaqueRect;
50 CCRenderingStats stats; 50 CCRenderingStats stats;
51 updater->prepareToUpdate(contentRect, IntSize(256, 256), contentsScale, cont entsScale, resultingOpaqueRect, stats); 51 updater->prepareToUpdate(contentRect, IntSize(256, 256), contentsScale, cont entsScale, resultingOpaqueRect, stats);
52 52
53 EXPECT_RECT_EQ(opaqueRectInContentSpace, resultingOpaqueRect); 53 EXPECT_RECT_EQ(opaqueRectInContentSpace, resultingOpaqueRect);
54 } 54 }
55 55
56 } // namespace 56 } // namespace
OLDNEW
« no previous file with comments | « cc/content_layer.cc ('k') | cc/delegated_renderer_layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698