Home | History | Annotate | Download | only in window

Lines Matching refs:client_view

100   TestDialogClientView* client_view() { return client_view_.get(); }
118 EXPECT_EQ(NULL, client_view()->ok_button());
119 EXPECT_EQ(NULL, client_view()->cancel_button());
124 EXPECT_TRUE(client_view()->ok_button()->is_default());
125 EXPECT_FALSE(client_view()->cancel_button()->is_default());
131 EXPECT_EQ(NULL, client_view()->ok_button());
132 EXPECT_EQ(NULL, client_view()->cancel_button());
137 EXPECT_TRUE(client_view()->ok_button()->is_default());
138 EXPECT_EQ(NULL, client_view()->cancel_button());
143 EXPECT_EQ(NULL, client_view()->ok_button());
144 EXPECT_TRUE(client_view()->cancel_button()->is_default());
151 delete client_view()->ok_button();
152 EXPECT_EQ(NULL, client_view()->ok_button());
153 delete client_view()->cancel_button();
154 EXPECT_EQ(NULL, client_view()->cancel_button());
158 EXPECT_TRUE(client_view()->ok_button()->is_default());
159 EXPECT_FALSE(client_view()->cancel_button()->is_default());
167 client_view()->bounds().bottom());
175 client_view()->bounds().bottom());
176 gfx::Size no_extra_view_size = client_view()->bounds().size();
181 EXPECT_GT(client_view()->bounds().height(), no_extra_view_size.height());
187 EXPECT_EQ(no_extra_view_size.height(), client_view()->bounds().height());
188 EXPECT_EQ(no_extra_view_size.width(), client_view()->bounds().width());
192 client_view()->SetBoundsRect(gfx::Rect(gfx::Point(0, 0), no_extra_view_size));
193 client_view()->Layout();
200 gfx::Size no_footnote_size = client_view()->bounds().size();
205 EXPECT_GT(client_view()->bounds().height(), no_footnote_size.height());
207 gfx::Size with_footnote_size = client_view()->bounds().size();
212 EXPECT_LE(with_footnote_size.height(), client_view()->bounds().height());
213 EXPECT_LE(with_footnote_size.width(), client_view()->bounds().width());
214 gfx::Size with_footnote_and_button_size = client_view()->bounds().size();
219 EXPECT_EQ(no_footnote_size.height(), client_view()->bounds().height());
220 EXPECT_EQ(no_footnote_size.width(), client_view()->bounds().width());
226 gfx::Size no_footnote_size = client_view()->bounds().size();
231 EXPECT_GT(client_view()->bounds().height(), no_footnote_size.height());