summaryrefslogtreecommitdiffstats
path: root/chrome/gpu/gpu_view_win.cc
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-14 22:07:30 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-14 22:07:30 +0000
commit21ecbd95babcce57bbf45bf13c7f5c190c4b2a80 (patch)
tree5c4b18f2f9e27c722f9194ce8008f256534d67c8 /chrome/gpu/gpu_view_win.cc
parent17e67d5f0f3414e478d988b8cb646e3dcf5e56ba (diff)
downloadchromium_src-21ecbd95babcce57bbf45bf13c7f5c190c4b2a80.zip
chromium_src-21ecbd95babcce57bbf45bf13c7f5c190c4b2a80.tar.gz
chromium_src-21ecbd95babcce57bbf45bf13c7f5c190c4b2a80.tar.bz2
Mark the GPU view WS_DISABLED and remove the input event fowarding code which
is no longer necessary. Windows will do the forwarding for us (without our weird bugs) when it finds a disabled child window. TEST=none BUG=none Review URL: http://codereview.chromium.org/543064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36273 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/gpu/gpu_view_win.cc')
-rw-r--r--chrome/gpu/gpu_view_win.cc27
1 files changed, 0 insertions, 27 deletions
diff --git a/chrome/gpu/gpu_view_win.cc b/chrome/gpu/gpu_view_win.cc
index e94c695..e6233a6 100644
--- a/chrome/gpu/gpu_view_win.cc
+++ b/chrome/gpu/gpu_view_win.cc
@@ -129,30 +129,3 @@ void GpuViewWin::OnPaint(HDC unused_dc) {
DrawBackground(paint_dc.m_ps.rcPaint, &paint_dc);
}
}
-
-LRESULT GpuViewWin::OnMouseEvent(UINT message,
- WPARAM wparam,
- LPARAM lparam,
- BOOL& handled) {
- handled = true;
- ::PostMessage(GetParent(), message, wparam, lparam);
- return 0;
-}
-
-LRESULT GpuViewWin::OnKeyEvent(UINT message,
- WPARAM wparam,
- LPARAM lparam,
- BOOL& handled) {
- handled = true;
- ::PostMessage(GetParent(), message, wparam, lparam);
- return 0;
-}
-
-LRESULT GpuViewWin::OnWheelEvent(UINT message,
- WPARAM wparam,
- LPARAM lparam,
- BOOL& handled) {
- handled = true;
- ::PostMessage(GetParent(), message, wparam, lparam);
- return 0;
-}