diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-01 00:07:13 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-01 00:07:13 +0000 |
commit | c9556f118eb55c03ddabfaadedb27048ee92ba08 (patch) | |
tree | 27f74775a71bc0565ae8cd3ed8a5ed3a5d42f35c /ui/views/examples/examples_window.cc | |
parent | 168bdd4addb1373fa8ac942a34909d7be4459023 (diff) | |
download | chromium_src-c9556f118eb55c03ddabfaadedb27048ee92ba08.zip chromium_src-c9556f118eb55c03ddabfaadedb27048ee92ba08.tar.gz chromium_src-c9556f118eb55c03ddabfaadedb27048ee92ba08.tar.bz2 |
Restore the standard frame for content_shell and views_examples_exe on Windows.
By setting remove_standard_frame to true, we ended up removing the window
frame (which allows the user drag, resize, move, close, minimize and
maximize the window). So not displaying the frame on Windows is not good
for the users.
By removing this set, we restore the frame and make the Windows users
happy again.
Surprisely, on Linux, I'm not seeing the two frames that we were seeing
previously. It seems some changes have fixed it otherway.
BUG=377292
TEST=run content_shell and views_examples_exe on Windows, you should see
a frame around the window and be able play normally with it again.
R=msw@chromium.org
TBR=sadrul@chromium.org,jochen@chromium.org
NOTRY=true
Review URL: https://codereview.chromium.org/360643002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@280705 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/views/examples/examples_window.cc')
-rw-r--r-- | ui/views/examples/examples_window.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ui/views/examples/examples_window.cc b/ui/views/examples/examples_window.cc index 5547444..3aa9802 100644 --- a/ui/views/examples/examples_window.cc +++ b/ui/views/examples/examples_window.cc @@ -221,7 +221,6 @@ void ShowExamplesWindow(Operation operation, params.delegate = new ExamplesWindowContents(operation, examples.Pass()); params.context = window_context; params.bounds = gfx::Rect(0, 0, 850, 300); - params.remove_standard_frame = true; widget->Init(params); widget->Show(); } |