| Index: chrome/browser/autocomplete/autocomplete_edit_view_gtk.h
|
| ===================================================================
|
| --- chrome/browser/autocomplete/autocomplete_edit_view_gtk.h (revision 24586)
|
| +++ chrome/browser/autocomplete/autocomplete_edit_view_gtk.h (working copy)
|
| @@ -272,6 +272,11 @@
|
| }
|
| void HandleCopyClipboard();
|
|
|
| + static void HandlePasteClipboardThunk(GtkTextView* text_view, gpointer self) {
|
| + reinterpret_cast<AutocompleteEditViewGtk*>(self)->HandlePasteClipboard();
|
| + }
|
| + void HandlePasteClipboard();
|
| +
|
| // Actual implementation of SelectAll(), but also provides control over
|
| // whether the PRIMARY selection is set to the selected text (in SelectAll(),
|
| // it isn't, but we want set the selection when the user clicks in the entry).
|
| @@ -390,6 +395,11 @@
|
| // during sync dispatch of "move-focus" signal.
|
| bool tab_was_pressed_;
|
|
|
| + // Indicates that user requested to paste clipboard.
|
| + // The actual paste clipboard action might be performed later if the
|
| + // clipboard is not empty.
|
| + bool paste_clipboard_requested_;
|
| +
|
| // If a character is inserted, store it in this variable so that it can
|
| // be used later in "key-press-event" signal handler to determine if a Tab or
|
| // Enter key event is handled by IME or not.
|
|
|