summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
authorhongbo.min@intel.com <hongbo.min@intel.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-27 05:45:50 +0000
committerhongbo.min@intel.com <hongbo.min@intel.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-27 05:45:50 +0000
commit3f84377fbfae99a755a20f8a9a5390526cec9ce1 (patch)
treef2421227ccd79ef855d600b47de2d8b5b2733b1b /content
parent4a9881617f8fdf696e3fb429e6b03a140e80c5dc (diff)
downloadchromium_src-3f84377fbfae99a755a20f8a9a5390526cec9ce1.zip
chromium_src-3f84377fbfae99a755a20f8a9a5390526cec9ce1.tar.gz
chromium_src-3f84377fbfae99a755a20f8a9a5390526cec9ce1.tar.bz2
Send WM_WINDOWPOSCHANGED message to the content view of shell window to make sure the content also handles the message
BUG=118359 TEST=Open a website page and minimize the shell window and then restore it back R=jam@chromium.org Review URL: https://chromiumcodereview.appspot.com/9703102 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139209 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r--content/shell/shell_win.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/content/shell/shell_win.cc b/content/shell/shell_win.cc
index 3aeef3c..bd2abcc 100644
--- a/content/shell/shell_win.cc
+++ b/content/shell/shell_win.cc
@@ -250,6 +250,16 @@ LRESULT CALLBACK Shell::WndProc(HWND hwnd, UINT message, WPARAM wParam,
shell->PlatformResizeSubViews();
return 0;
}
+
+ case WM_WINDOWPOSCHANGED: {
+ // Notify the content view that the window position of its parent window
+ // has been changed by sending window message
+ gfx::NativeView native_view = shell->GetContentView();
+ if (native_view) {
+ SendMessage(native_view, message, wParam, lParam);
+ }
+ break;
+ }
}
return DefWindowProc(hwnd, message, wParam, lParam);