diff options
author | derat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-31 23:41:21 +0000 |
---|---|---|
committer | derat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-31 23:41:21 +0000 |
commit | cf06ddb055df3172c48aa07579d7da252f2eaa58 (patch) | |
tree | 5dfe98cc17e0e1682130ed5787858ca61e3a9875 /chrome/browser/autocomplete/autocomplete_edit_view_gtk.h | |
parent | c9fbabde56eabbfd4a0a234b169983a498b95c4a (diff) | |
download | chromium_src-cf06ddb055df3172c48aa07579d7da252f2eaa58.zip chromium_src-cf06ddb055df3172c48aa07579d7da252f2eaa58.tar.gz chromium_src-cf06ddb055df3172c48aa07579d7da252f2eaa58.tar.bz2 |
Linux: Simplify omnibox selection code and stop taking back selection.
This fixes a long-time bug (mentioned at the end of my description
in http://codereview.chromium.org/159185 but reported more recently)
where Chrome would steal back the PRIMARY selection the first time
that another app takes it.
I tested by going through my test cases from the following earlier
changes and also confirming that the selection-stealing issue is also
fixed:
http://codereview.chromium.org/151006
http://codereview.chromium.org/155971
http://codereview.chromium.org/159185
http://codereview.chromium.org/164539
http://codereview.chromium.org/173098
BUG=20460
TESTED=see above
Review URL: http://codereview.chromium.org/176029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24971 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 | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_edit_view_gtk.h b/chrome/browser/autocomplete/autocomplete_edit_view_gtk.h index ff6f3d2..384e868 100644 --- a/chrome/browser/autocomplete/autocomplete_edit_view_gtk.h +++ b/chrome/browser/autocomplete/autocomplete_edit_view_gtk.h @@ -362,10 +362,6 @@ class AutocompleteEditViewGtk : public AutocompleteEditView, // it, we pass this string to SavePrimarySelection()). std::string selected_text_; - // Has the current value of |selected_text_| been saved as the PRIMARY - // selection? - bool selection_saved_; - // ID of the signal handler for "mark-set" on |text_buffer_|. gulong mark_set_handler_id_; |