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

Unified Diff: chrome/browser/ui/panels/panel_browser_view_browsertest.cc

Issue 10260001: Remove panel size limit when user resizes it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: attempting to fix too flexible win test Created 8 years, 8 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
Index: chrome/browser/ui/panels/panel_browser_view_browsertest.cc
diff --git a/chrome/browser/ui/panels/panel_browser_view_browsertest.cc b/chrome/browser/ui/panels/panel_browser_view_browsertest.cc
index 7f2c3a3a6aef0f2e184bd175c32021a939101ad2..d04512b9aaef9e8e8a8943f70d318c933957235d 100644
--- a/chrome/browser/ui/panels/panel_browser_view_browsertest.cc
+++ b/chrome/browser/ui/panels/panel_browser_view_browsertest.cc
@@ -393,7 +393,9 @@ IN_PROC_BROWSER_TEST_F(PanelBrowserViewTest, CreatePanelInactive) {
}
IN_PROC_BROWSER_TEST_F(PanelBrowserViewTest, PanelLayout) {
- Panel* panel = CreatePanel("PanelTest");
+ // Create a fixed-size panel to avoid possible collapsing of the title
+ // if the enforced min sizes are too small.
+ Panel* panel = CreatePanelWithBounds("PanelTest", gfx::Rect(0, 0, 100, 50));
views::View* title_icon = GetTitleIcon(panel);
views::View* title_text = GetTitleText(panel);

Powered by Google App Engine
This is Rietveld 408576698