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

Unified Diff: ui/compositor/layer_unittest.cc

Issue 12774006: cc: Chromify Layer and LayerImpl classes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: MoreAndroidCompilings Created 7 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/compositor/layer.cc ('k') | webkit/compositor_bindings/web_content_layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/layer_unittest.cc
diff --git a/ui/compositor/layer_unittest.cc b/ui/compositor/layer_unittest.cc
index 30ed0f3d8528eff6876c035b1a64c3a9e7ac1f1b..378af34d7dd6fe512eafd0867c2c7b463dc8771e 100644
--- a/ui/compositor/layer_unittest.cc
+++ b/ui/compositor/layer_unittest.cc
@@ -641,9 +641,9 @@ TEST_F(LayerWithNullDelegateTest, Visibility) {
EXPECT_TRUE(l1->IsDrawn());
EXPECT_TRUE(l2->IsDrawn());
EXPECT_TRUE(l3->IsDrawn());
- EXPECT_TRUE(l1->cc_layer()->drawsContent());
- EXPECT_TRUE(l2->cc_layer()->drawsContent());
- EXPECT_TRUE(l3->cc_layer()->drawsContent());
+ EXPECT_TRUE(l1->cc_layer()->DrawsContent());
+ EXPECT_TRUE(l2->cc_layer()->DrawsContent());
+ EXPECT_TRUE(l3->cc_layer()->DrawsContent());
compositor()->SetRootLayer(l1.get());
@@ -653,25 +653,25 @@ TEST_F(LayerWithNullDelegateTest, Visibility) {
EXPECT_FALSE(l1->IsDrawn());
EXPECT_FALSE(l2->IsDrawn());
EXPECT_FALSE(l3->IsDrawn());
- EXPECT_FALSE(l1->cc_layer()->drawsContent());
- EXPECT_FALSE(l2->cc_layer()->drawsContent());
- EXPECT_FALSE(l3->cc_layer()->drawsContent());
+ EXPECT_FALSE(l1->cc_layer()->DrawsContent());
+ EXPECT_FALSE(l2->cc_layer()->DrawsContent());
+ EXPECT_FALSE(l3->cc_layer()->DrawsContent());
l3->SetVisible(false);
EXPECT_FALSE(l1->IsDrawn());
EXPECT_FALSE(l2->IsDrawn());
EXPECT_FALSE(l3->IsDrawn());
- EXPECT_FALSE(l1->cc_layer()->drawsContent());
- EXPECT_FALSE(l2->cc_layer()->drawsContent());
- EXPECT_FALSE(l3->cc_layer()->drawsContent());
+ EXPECT_FALSE(l1->cc_layer()->DrawsContent());
+ EXPECT_FALSE(l2->cc_layer()->DrawsContent());
+ EXPECT_FALSE(l3->cc_layer()->DrawsContent());
l1->SetVisible(true);
EXPECT_TRUE(l1->IsDrawn());
EXPECT_TRUE(l2->IsDrawn());
EXPECT_FALSE(l3->IsDrawn());
- EXPECT_TRUE(l1->cc_layer()->drawsContent());
- EXPECT_TRUE(l2->cc_layer()->drawsContent());
- EXPECT_FALSE(l3->cc_layer()->drawsContent());
+ EXPECT_TRUE(l1->cc_layer()->DrawsContent());
+ EXPECT_TRUE(l2->cc_layer()->DrawsContent());
+ EXPECT_FALSE(l3->cc_layer()->DrawsContent());
}
// Checks that stacking-related methods behave as advertised.
« no previous file with comments | « ui/compositor/layer.cc ('k') | webkit/compositor_bindings/web_content_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698