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

Issue 5444001: Speed up rendering of the input method candidate window. (Closed)

Created:
10 years ago by satorux1
Modified:
9 years, 7 months ago
Reviewers:
Yusuke Sato
CC:
chromium-reviews, davemoore+watch_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

Speed up rendering of the input method candidate window. UpdateCandidates() was not efficient as it was always updating candidates. We don't have to update candidates if the user is just moving the cursor in the same page in the candidate window. BUG=chromium-os:6509 TEST=confirmed that the candidate window worked as before and rendering is faster by the following steps: 1. start a youtube video to add loads 2. start typing with mozc 3. type a 4. hold the space key for a while. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=67956

Patch Set 1 #

Total comments: 1

Patch Set 2 : minor change #

Patch Set 3 : fix #

Patch Set 4 : minor cleanup #

Total comments: 2

Patch Set 5 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+119 lines, -67 lines) Patch
M chrome/browser/chromeos/input_method/candidate_window.cc View 1 2 3 4 10 chunks +119 lines, -67 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
satorux1
10 years ago (2010-12-01 09:20:47 UTC) #1
satorux1
http://codereview.chromium.org/5444001/diff/1/chrome/browser/chromeos/input_method/candidate_window.cc File chrome/browser/chromeos/input_method/candidate_window.cc (right): http://codereview.chromium.org/5444001/diff/1/chrome/browser/chromeos/input_method/candidate_window.cc#newcode873 chrome/browser/chromeos/input_method/candidate_window.cc:873: } Hmm, rietveld didn't do a good job for ...
10 years ago (2010-12-01 09:25:31 UTC) #2
Yusuke Sato
http://codereview.chromium.org/5444001/diff/9001/chrome/browser/chromeos/input_method/candidate_window.cc File chrome/browser/chromeos/input_method/candidate_window.cc (right): http://codereview.chromium.org/5444001/diff/9001/chrome/browser/chromeos/input_method/candidate_window.cc#newcode813 chrome/browser/chromeos/input_method/candidate_window.cc:813: const InputMethodLookupTable& lookup_table) { Using lookup_table_ and lookup_table at ...
10 years ago (2010-12-01 22:39:02 UTC) #3
Yusuke Sato
forgot to write: LGTM On 2010/12/01 22:39:02, Yusuke Sato wrote: > http://codereview.chromium.org/5444001/diff/9001/chrome/browser/chromeos/input_method/candidate_window.cc > File chrome/browser/chromeos/input_method/candidate_window.cc ...
10 years ago (2010-12-01 22:39:17 UTC) #4
satorux1
10 years ago (2010-12-02 02:13:07 UTC) #5
http://codereview.chromium.org/5444001/diff/9001/chrome/browser/chromeos/inpu...
File chrome/browser/chromeos/input_method/candidate_window.cc (right):

http://codereview.chromium.org/5444001/diff/9001/chrome/browser/chromeos/inpu...
chrome/browser/chromeos/input_method/candidate_window.cc:813: const
InputMethodLookupTable& lookup_table) {
On 2010/12/01 22:39:04, Yusuke Sato wrote:
> Using lookup_table_ and lookup_table at the same time looks a bit confusing to
> me. How about renaming the parameter to new_lookup_table or something similar?

Agreed. Done.

Powered by Google App Engine
This is Rietveld 408576698