summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-09 20:40:32 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-09 20:40:32 +0000
commit02c8af4b05db2cd02da70aeaac176acb1deadf60 (patch)
tree56c396e2025f16e35cf960a12c48ff85f362845e /chrome
parenta5ab5b4330347700eb68669dc326adff9694214f (diff)
downloadchromium_src-02c8af4b05db2cd02da70aeaac176acb1deadf60.zip
chromium_src-02c8af4b05db2cd02da70aeaac176acb1deadf60.tar.gz
chromium_src-02c8af4b05db2cd02da70aeaac176acb1deadf60.tar.bz2
Roll back this section of the previous change to see if it is necessary.
http://crbug.com/3264 Review URL: http://codereview.chromium.org/6394 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3126 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/views/custom_frame_window.cc6
-rw-r--r--chrome/views/custom_frame_window.h1
2 files changed, 0 insertions, 7 deletions
diff --git a/chrome/views/custom_frame_window.cc b/chrome/views/custom_frame_window.cc
index f2d7bea..e172c53 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) {
- ScopedVisibilityRemover remover(GetHWND());
- DefWindowProc(GetHWND(), WM_ENTERIDLE, reason,
- reinterpret_cast<LPARAM>(window));
-}
-
static void EnableMenuItem(HMENU menu, UINT command, bool enabled) {
UINT flags = MF_BYCOMMAND | (enabled ? MF_ENABLED : MF_DISABLED | MF_GRAYED);
EnableMenuItem(menu, command, flags);
diff --git a/chrome/views/custom_frame_window.h b/chrome/views/custom_frame_window.h
index 0d89193..104f923 100644
--- a/chrome/views/custom_frame_window.h
+++ b/chrome/views/custom_frame_window.h
@@ -48,7 +48,6 @@ class CustomFrameWindow : public Window {
virtual void DisableInactiveRendering(bool disable);
// Overridden from HWNDViewContainer:
- virtual void OnEnterIdle(UINT reason, HWND window);
virtual void OnInitMenu(HMENU menu);
virtual void OnInitMenuPopup(HMENU menu, UINT position, BOOL is_system_menu);
virtual void OnMouseLeave();