diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-28 22:30:22 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-28 22:30:22 +0000 |
commit | 17887ce2fc1df2d657009aa41cd195d82d5b1f89 (patch) | |
tree | 81c2f1a0447789642b1cea010c944359046e592a /chrome/browser/autocomplete/autocomplete_edit_view_gtk.h | |
parent | 0b13387221dc34d31a7f4526bb80c894a8f9a053 (diff) | |
download | chromium_src-17887ce2fc1df2d657009aa41cd195d82d5b1f89.zip chromium_src-17887ce2fc1df2d657009aa41cd195d82d5b1f89.tar.gz chromium_src-17887ce2fc1df2d657009aa41cd195d82d5b1f89.tar.bz2 |
linux: don't override mouse selection behavior in omnibox
This means we now don't match Windows Chrome (which selects all on single
click) nor Firefox (which selects all on double click).
Patch by Dan Erat; I'm submitting it on his behalf.
This is an EXPERIMENT. I may revert it at my own discretion.
If you don't like it, please complain at
http://code.google.com/p/chromium/issues/detail?id=26140
so your feedback can be tallied.
BUG=11614,12713,19508,others.
TEST=single click in omnibox does not select all
Review URL: http://codereview.chromium.org/340024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30400 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 | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_edit_view_gtk.h b/chrome/browser/autocomplete/autocomplete_edit_view_gtk.h index 3c16392..adef44c 100644 --- a/chrome/browser/autocomplete/autocomplete_edit_view_gtk.h +++ b/chrome/browser/autocomplete/autocomplete_edit_view_gtk.h @@ -383,19 +383,6 @@ class AutocompleteEditViewGtk : public AutocompleteEditView, // ID of the signal handler for "mark-set" on |text_buffer_|. gulong mark_set_handler_id_; - // Is the first mouse button currently down? - bool button_1_pressed_; - - // Did the user change the selected text in the middle of the current click? - // If so, we don't select all of the text when the button is released -- we - // don't want to blow away their selection. - bool text_selected_during_click_; - - // Was the text view already focused before the user clicked in it? We use - // this to figure out whether we should select all of the text when the button - // is released (we only do so if the view was initially unfocused). - bool text_view_focused_before_button_press_; - #if !defined(TOOLKIT_VIEWS) // Supplies colors, et cetera. GtkThemeProvider* theme_provider_; |