Commit 5a7f03ad authored by stevenjb@chromium.org's avatar stevenjb@chromium.org

Don't specify min/max bounds for v1 panels

BUG=217587
TBR=jeremya@chromium.org

Review URL: https://codereview.chromium.org/13845020

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194974 0039d316-1c4b-4281-b951-d872f2087c98
parent c19cbaee
...@@ -603,8 +603,6 @@ bool WindowsCreateFunction::RunImpl() { ...@@ -603,8 +603,6 @@ bool WindowsCreateFunction::RunImpl() {
ShellWindow::CreateParams create_params; ShellWindow::CreateParams create_params;
create_params.window_type = ShellWindow::WINDOW_TYPE_V1_PANEL; create_params.window_type = ShellWindow::WINDOW_TYPE_V1_PANEL;
create_params.bounds = window_bounds; create_params.bounds = window_bounds;
create_params.minimum_size = window_bounds.size();
create_params.maximum_size = window_bounds.size();
create_params.focused = saw_focus_key && focused; create_params.focused = saw_focus_key && focused;
ShellWindow* shell_window = ShellWindow* shell_window =
new ShellWindow(window_profile, GetExtension()); new ShellWindow(window_profile, GetExtension());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment