Home | History | Annotate | Download | only in window

Lines Matching defs:client_view

103   TestDialogClientView* client_view() { return client_view_.get(); }
121 EXPECT_EQ(NULL, client_view()->ok_button());
122 EXPECT_EQ(NULL, client_view()->cancel_button());
127 EXPECT_TRUE(client_view()->ok_button()->is_default());
128 EXPECT_FALSE(client_view()->cancel_button()->is_default());
134 EXPECT_EQ(NULL, client_view()->ok_button());
135 EXPECT_EQ(NULL, client_view()->cancel_button());
140 EXPECT_TRUE(client_view()->ok_button()->is_default());
141 EXPECT_EQ(NULL, client_view()->cancel_button());
146 EXPECT_EQ(NULL, client_view()->ok_button());
147 EXPECT_TRUE(client_view()->cancel_button()->is_default());
154 delete client_view()->ok_button();
155 EXPECT_EQ(NULL, client_view()->ok_button());
156 delete client_view()->cancel_button();
157 EXPECT_EQ(NULL, client_view()->cancel_button());
161 EXPECT_TRUE(client_view()->ok_button()->is_default());
162 EXPECT_FALSE(client_view()->cancel_button()->is_default());
170 client_view()->bounds().bottom());
178 client_view()->bounds().bottom());
179 gfx::Size no_extra_view_size = client_view()->bounds().size();
184 EXPECT_GT(client_view()->bounds().height(), no_extra_view_size.height());
190 EXPECT_EQ(no_extra_view_size.height(), client_view()->bounds().height());
191 EXPECT_EQ(no_extra_view_size.width(), client_view()->bounds().width());
195 client_view()->SetBoundsRect(gfx::Rect(gfx::Point(0, 0), no_extra_view_size));
196 client_view()->Layout();
203 gfx::Size no_footnote_size = client_view()->bounds().size();
208 EXPECT_GT(client_view()->bounds().height(), no_footnote_size.height());
210 gfx::Size with_footnote_size = client_view()->bounds().size();
215 EXPECT_LE(with_footnote_size.height(), client_view()->bounds().height());
216 EXPECT_LE(with_footnote_size.width(), client_view()->bounds().width());
217 gfx::Size with_footnote_and_button_size = client_view()->bounds().size();
222 EXPECT_EQ(no_footnote_size.height(), client_view()->bounds().height());
223 EXPECT_EQ(no_footnote_size.width(), client_view()->bounds().width());
229 gfx::Size no_footnote_size = client_view()->bounds().size();
234 EXPECT_GT(client_view()->bounds().height(), no_footnote_size.height());
267 DialogClientView* client_view =
268 static_cast<DialogClientView*>(dialog->client_view());
269 EXPECT_EQ(toplevel1->GetFocusManager(), client_view->focus_manager_);
274 EXPECT_EQ(NULL, client_view->focus_manager_);
277 EXPECT_EQ(toplevel2->GetFocusManager(), client_view->focus_manager_);
281 EXPECT_EQ(toplevel1->GetFocusManager(), client_view->focus_manager_);
285 client_view->set_owned_by_client();
286 scoped_ptr<DialogClientView> owned_client_view(client_view);