Searched refs:root_delegate (Results 1 – 2 of 2) sorted by relevance
1097 TestLayerDelegate root_delegate; in TEST_F() local1098 root_delegate.AddColor(SK_ColorWHITE); in TEST_F()1099 root->set_delegate(&root_delegate); in TEST_F()1119 EXPECT_EQ(0.0f, root_delegate.device_scale_factor()); in TEST_F()1122 EXPECT_EQ("200x220", root_delegate.paint_size().ToString()); in TEST_F()1135 EXPECT_EQ(2.0f, root_delegate.device_scale_factor()); in TEST_F()1140 EXPECT_EQ("400x440", root_delegate.paint_size().ToString()); in TEST_F()1141 EXPECT_EQ("2.0 2.0", root_delegate.ToScaleString()); in TEST_F()1155 EXPECT_EQ(1.0f, root_delegate.device_scale_factor()); in TEST_F()1160 EXPECT_EQ("200x220", root_delegate.paint_size().ToString()); in TEST_F()[all …]
643 MenuDelegate* root_delegate = GetDelegate(); in Init() local644 if (parent && type != EMPTY && root_delegate) in Init()645 SetEnabled(root_delegate->IsCommandEnabled(command)); in Init()