Commit 9bbde62b authored by jcampan@chromium.org's avatar jcampan@chromium.org

Landing tyoshino patch.

See http://codereview.chromium.org/115768
	
TBR=tyoshino
Review URL: http://codereview.chromium.org/115822

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16999 0039d316-1c4b-4281-b951-d872f2087c98
parent ebf50a10
......@@ -94,6 +94,10 @@ bool MessageBoxView::AcceleratorPressed(
// We only accepts Ctrl-C.
DCHECK(accelerator.GetKeyCode() == 'C' && accelerator.IsCtrlDown());
// We must not intercept Ctrl-C when we have a text box and it's focused.
if (prompt_field_ && prompt_field_->HasFocus())
return false;
if (!views::ViewsDelegate::views_delegate)
return false;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment