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

Unified Diff: chrome/views/controls/message_box_view.h

Issue 93112: Make messages in javascript's alert copyable.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 8 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 | « chrome/browser/views/jsmessage_box_dialog.cc ('k') | chrome/views/controls/message_box_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/views/controls/message_box_view.h
===================================================================
--- chrome/views/controls/message_box_view.h (revision 14268)
+++ chrome/views/controls/message_box_view.h (working copy)
@@ -59,6 +59,9 @@
views::View* parent,
views::View* child);
+ // Handles Ctrl-C and writes the message in the system clipboard.
+ virtual bool AcceleratorPressed(const views::Accelerator& accelerator);
+
private:
// Sets up the layout manager and initializes the prompt field. This should
// only be called once, from the constructor.
« no previous file with comments | « chrome/browser/views/jsmessage_box_dialog.cc ('k') | chrome/views/controls/message_box_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698