Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1761)

Unified Diff: content/browser/web_contents/web_contents_view_win.cc

Issue 12221144: Make zoom using ctrl+mouse wheel work in win aura. Windows -non-aura had a hack that was a layering… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/web_contents/web_contents_view_win.h ('k') | ui/views/win/hwnd_message_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/web_contents/web_contents_view_win.cc
===================================================================
--- content/browser/web_contents/web_contents_view_win.cc (revision 180972)
+++ content/browser/web_contents/web_contents_view_win.cc (working copy)
@@ -385,22 +385,6 @@
return 0;
}
-LRESULT WebContentsViewWin::OnReflectedMessage(
- UINT msg, WPARAM wparam, LPARAM lparam, BOOL& handled) {
- MSG* message = reinterpret_cast<MSG*>(lparam);
- switch (message->message) {
- case WM_MOUSEWHEEL:
- // This message is reflected from the view() to this window.
- if (GET_KEYSTATE_WPARAM(message->wParam) & MK_CONTROL) {
- web_contents_->GetDelegate()->ContentsZoomChange(
- GET_WHEEL_DELTA_WPARAM(message->wParam) > 0);
- return 1;
- }
- break;
- }
- return 0;
-}
-
LRESULT WebContentsViewWin::OnNCCalcSize(
UINT message, WPARAM wparam, LPARAM lparam, BOOL& handled) {
// Hack for ThinkPad mouse wheel driver. We have set the fake scroll bars
« no previous file with comments | « content/browser/web_contents/web_contents_view_win.h ('k') | ui/views/win/hwnd_message_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698