diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-25 00:12:58 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-25 00:12:58 +0000 |
commit | c874da66d375909e04eb2a0aba669b162c41faba (patch) | |
tree | 292cfa9972b95d684ac63066c3faaa5e9b63349a /chrome/browser/autocomplete/autocomplete_edit_view_gtk.h | |
parent | 0faab517e5d541bc51d24be919e899991ed7356a (diff) | |
download | chromium_src-c874da66d375909e04eb2a0aba669b162c41faba.zip chromium_src-c874da66d375909e04eb2a0aba669b162c41faba.tar.gz chromium_src-c874da66d375909e04eb2a0aba669b162c41faba.tar.bz2 |
GTK: Show the correct text for the omnibox "paste and go/search" menu item.
BUG=20151
Review URL: http://codereview.chromium.org/174363
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24187 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autocomplete/autocomplete_edit_view_gtk.h')
-rw-r--r-- | chrome/browser/autocomplete/autocomplete_edit_view_gtk.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_edit_view_gtk.h b/chrome/browser/autocomplete/autocomplete_edit_view_gtk.h index 322f053..a1c425b 100644 --- a/chrome/browser/autocomplete/autocomplete_edit_view_gtk.h +++ b/chrome/browser/autocomplete/autocomplete_edit_view_gtk.h @@ -216,17 +216,6 @@ class AutocompleteEditViewGtk : public AutocompleteEditView, } void HandlePasteAndGo(); - static void HandlePasteAndGoReceivedTextThunk(GtkClipboard* clipboard, - const gchar* text, - gpointer self) { - // If there is nothing to paste (|text| is NULL), do nothing. - if (!text) - return; - reinterpret_cast<AutocompleteEditViewGtk*>(self)-> - HandlePasteAndGoReceivedText(UTF8ToWide(text)); - } - void HandlePasteAndGoReceivedText(const std::wstring& text); - static void HandleMarkSetThunk(GtkTextBuffer* buffer, GtkTextIter* location, GtkTextMark* mark, |