summaryrefslogtreecommitdiffstats
path: root/chrome/browser/render_widget_host_hwnd.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/render_widget_host_hwnd.h')
-rw-r--r--chrome/browser/render_widget_host_hwnd.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/chrome/browser/render_widget_host_hwnd.h b/chrome/browser/render_widget_host_hwnd.h
index 5f245cb..bc16c6d 100644
--- a/chrome/browser/render_widget_host_hwnd.h
+++ b/chrome/browser/render_widget_host_hwnd.h
@@ -106,8 +106,6 @@ class RenderWidgetHostHWND :
MESSAGE_HANDLER(WM_CHAR, OnKeyEvent)
MESSAGE_HANDLER(WM_SYSCHAR, OnKeyEvent)
MESSAGE_HANDLER(WM_IME_CHAR, OnKeyEvent)
- MESSAGE_HANDLER(WM_NCCALCSIZE, OnNcCalcSize)
- MESSAGE_HANDLER(WM_SIZE, OnSize)
MESSAGE_HANDLER(WM_MOUSEACTIVATE, OnMouseActivate)
END_MSG_MAP()
@@ -165,11 +163,6 @@ class RenderWidgetHostHWND :
UINT message, WPARAM wparam, LPARAM lparam, BOOL& handled);
LRESULT OnWheelEvent(
UINT message, WPARAM wparam, LPARAM lparam, BOOL& handled);
- // Handle WM_NCCALCSIZE and supress scrollbars
- LRESULT OnNcCalcSize(UINT, WPARAM, LPARAM, BOOL& handled);
- // Handle WM_SIZE and indicate that we have a valid scroll info
- // so that windows will give us the WS_HSCROLL and WS_VSCROLL style.
- LRESULT OnSize(UINT, WPARAM, LPARAM, BOOL& handled);
LRESULT OnMouseActivate(UINT, WPARAM, LPARAM, BOOL& handled);
// Handle vertical scrolling
LRESULT OnVScroll(int code, short position, HWND scrollbar_control);