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

Issue 115768: On MessageBoxView, do not intercept Ctrl-C by an Accelerator when the... (Closed)

Created:
11 years, 7 months ago by tyoshino-do-not-use
Modified:
9 years, 7 months ago
Reviewers:
tony, jcampan
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

On MessageBoxView, do not intercept Ctrl-C by an Accelerator when the MessageBox contains a TextField and it's focused. This Accelerator for Ctrl-C was added to fix this bug http://code.google.com/p/chromium/issues/detail?id=5879 , but we must also take into account prompt(). TEST=Enter javascript:prompt('Do not copy me','Copy this!');void(0) into the address bar, and then press Ctrl-C. We should get "Copy this!" into the clipboard. BUG=11872

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -0 lines) Patch
M views/controls/message_box_view.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
tyoshino-do-not-use
11 years, 7 months ago (2009-05-26 08:05:23 UTC) #1
jcampan
LGTM
11 years, 7 months ago (2009-05-26 17:41:37 UTC) #2
tyoshino-do-not-use
11 years, 7 months ago (2009-05-27 02:09:06 UTC) #3
Thank you for review. Could you please commit this? I'm not a committer.

Powered by Google App Engine
This is Rietveld 408576698