Index: chrome/browser/autocomplete/autocomplete_edit_view_win.cc |
=================================================================== |
--- chrome/browser/autocomplete/autocomplete_edit_view_win.cc (revision 17144) |
+++ chrome/browser/autocomplete/autocomplete_edit_view_win.cc (working copy) |
@@ -1729,6 +1729,11 @@ |
return true; |
case VK_INSERT: |
+ // Ignore insert by itself, so we don't turn overtype mode on/off. |
+ if (!(flags & KF_ALTDOWN) && (GetKeyState(VK_SHIFT) >= 0) && |
+ (GetKeyState(VK_CONTROL) >= 0)) |
+ return true; |
+ // FALL THROUGH |
case 'V': |
if ((flags & KF_ALTDOWN) || |
(GetKeyState((key == 'V') ? VK_CONTROL : VK_SHIFT) >= 0)) |