Index: ui/views/win/hwnd_message_handler.cc |
diff --git a/ui/views/win/hwnd_message_handler.cc b/ui/views/win/hwnd_message_handler.cc |
index b48a4db5ddb2d27be422bc3af4cf0ca18a0701a8..13cc62cbfbbe0db0a62cf78f37d39da3f0e2ce33 100644 |
--- a/ui/views/win/hwnd_message_handler.cc |
+++ b/ui/views/win/hwnd_message_handler.cc |
@@ -569,6 +569,10 @@ void HWNDMessageHandler::ShowWindowWithState(ui::WindowShowState show_state) { |
case ui::SHOW_STATE_NORMAL: |
native_show_state = SW_SHOWNORMAL; |
break; |
+ case ui::SHOW_STATE_FULLSCREEN: |
+ native_show_state = SW_SHOWNORMAL; |
+ SetFullscreen(true); |
sky
2015/05/19 04:20:04
I'm a bit nervous about invoking this before the w
joone
2015/05/19 17:40:49
When SetFullscreen is called after ShowWindow, we
|
+ break; |
default: |
native_show_state = delegate_->GetInitialShowState(); |
break; |