Commit c0858c55 authored by tfarina@chromium.org's avatar tfarina@chromium.org

views: Remove standard frame when running views_examples_with_content_exe on Linux.

If we don't do this, then the standard frame appears with the blue one
provided by views, presenting two title bars with the same information,
which looks ugly.

BUG=374046
TEST=build views_examples_with_content_exe on Linux, run it. Observe.
The window displayed must have a unique frame, the blue one. See bug for
previous-after screenshots.

R=sky@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271681 0039d316-1c4b-4281-b951-d872f2087c98
parent 888f6a24
...@@ -221,6 +221,7 @@ void ShowExamplesWindow(Operation operation, ...@@ -221,6 +221,7 @@ void ShowExamplesWindow(Operation operation,
params.context = window_context; params.context = window_context;
params.bounds = gfx::Rect(0, 0, 850, 300); params.bounds = gfx::Rect(0, 0, 850, 300);
params.top_level = true; params.top_level = true;
params.remove_standard_frame = true;
widget->Init(params); widget->Init(params);
widget->Show(); widget->Show();
} }
......
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