diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-10 17:13:51 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-10 17:13:51 +0000 |
commit | 1d2f46ccd1e5696bfa15c820cb7be66769c715c2 (patch) | |
tree | e3b32cf99536f5a3d1e3b86ca0663e5611ee13c2 /chrome/views/custom_frame_window.cc | |
parent | 49dd6a132d359c846cf15d6d48f66f0b63c9efb3 (diff) | |
download | chromium_src-1d2f46ccd1e5696bfa15c820cb7be66769c715c2.zip chromium_src-1d2f46ccd1e5696bfa15c820cb7be66769c715c2.tar.gz chromium_src-1d2f46ccd1e5696bfa15c820cb7be66769c715c2.tar.bz2 |
Roll back trial from last night
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3217 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/views/custom_frame_window.cc')
-rw-r--r-- | chrome/views/custom_frame_window.cc | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/chrome/views/custom_frame_window.cc b/chrome/views/custom_frame_window.cc index 409413a..a425ea2 100644 --- a/chrome/views/custom_frame_window.cc +++ b/chrome/views/custom_frame_window.cc @@ -911,12 +911,6 @@ void CustomFrameWindow::SizeWindowToDefault() { /////////////////////////////////////////////////////////////////////////////// // CustomFrameWindow, HWNDViewContainer overrides: -void CustomFrameWindow::OnEnterIdle(UINT reason, HWND window) { - CRect wr; - ::GetWindowRect(GetHWND(), &wr); - PaintNow(wr); -} - static void EnableMenuItem(HMENU menu, UINT command, bool enabled) { UINT flags = MF_BYCOMMAND | (enabled ? MF_ENABLED : MF_DISABLED | MF_GRAYED); EnableMenuItem(menu, command, flags); @@ -936,16 +930,6 @@ void CustomFrameWindow::OnInitMenu(HMENU menu) { window_delegate()->CanMaximize() && !maximized); EnableMenuItem(menu, SC_MINIMIZE, window_delegate()->CanMaximize() && !minimized); - CRect wr; - ::GetWindowRect(GetHWND(), &wr); - PaintNow(wr); -} - -void CustomFrameWindow::OnInitMenuPopup(HMENU menu, UINT position, - BOOL is_system_menu) { - CRect wr; - ::GetWindowRect(GetHWND(), &wr); - PaintNow(wr); } void CustomFrameWindow::OnMouseLeave() { |