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

Issue 5698006: Fix Instant suggest issues in Linux Views port. (Closed)

Created:
10 years ago by James Su
Modified:
9 years, 7 months ago
Reviewers:
sky, Evan Stade
CC:
chromium-reviews
Visibility:
Public.

Description

Fix Instant suggest issues in Linux Views port. This CL changes Linux Views port to use the same code of Linux Gtk port for displaying Instant suggest rather than using the code of Windows port. The reason is: GtkTextView used by AutocompleteEditViewGtk can't work with SuggestedTextView very well. This CL also fixes some issues in AutocompleteEditViewGtk related to RTL text. BUG=66167 BUG=66151 TEST=See issue report. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=69017

Patch Set 1 #

Total comments: 6

Patch Set 2 : Update according to review feedback. #

Total comments: 2

Patch Set 3 : Update according to review feedback. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+103 lines, -46 lines) Patch
M chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc View 1 6 chunks +65 lines, -37 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.h View 1 2 5 chunks +11 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.cc View 12 chunks +27 lines, -3 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
James Su
10 years ago (2010-12-11 00:01:00 UTC) #1
Evan Stade
lgtm, although I wonder if there's a way to reduce the ifdefs in location_bar_view http://codereview.chromium.org/5698006/diff/1/chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc ...
10 years ago (2010-12-11 00:13:25 UTC) #2
sky
The current thinking is that that suggestions for misspelled words will be shown to the ...
10 years ago (2010-12-11 00:20:38 UTC) #3
James Su
CL Updated. http://codereview.chromium.org/5698006/diff/1/chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc File chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc (right): http://codereview.chromium.org/5698006/diff/1/chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc#newcode891 chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc:891: // TODO(suzhe): fix me. On 2010/12/11 00:13:25, ...
10 years ago (2010-12-11 00:32:32 UTC) #4
James Su
On 2010/12/11 00:20:38, sky wrote: > The current thinking is that that suggestions for misspelled ...
10 years ago (2010-12-11 00:33:43 UTC) #5
sky
10 years ago (2010-12-13 17:27:33 UTC) #6
LGTM

http://codereview.chromium.org/5698006/diff/6001/chrome/browser/ui/views/loca...
File chrome/browser/ui/views/location_bar/location_bar_view.h (right):

http://codereview.chromium.org/5698006/diff/6001/chrome/browser/ui/views/loca...
chrome/browser/ui/views/location_bar/location_bar_view.h:45: #if defined(OS_WIN)
Move conditional forward declarations after non-conditional forward
declarations.

http://codereview.chromium.org/5698006/diff/6001/chrome/browser/ui/views/loca...
chrome/browser/ui/views/location_bar/location_bar_view.h:323: bool
HasValidSuggestText();
Move this to around line 315 so that you have one less ifdef

Powered by Google App Engine
This is Rietveld 408576698