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

Issue 5075001: Fix omnibox update bug. (Closed)

Created:
10 years, 1 month ago by sadrul
Modified:
9 years, 6 months ago
Reviewers:
Peter Kasting, sky
CC:
chromium-reviews, ben+cc_chromium.org
Visibility:
Public.

Description

Fix omnibox update bug. When tab-switching happens, the state of the tab is stored so that it can be restored later. However, when a background tab is being closed, it doesn't cause a tab-switch, and trying to save the state causes problems in some cases (e.g. 61588). So do not save state of a background tab. BUG=61588 TEST=see bug Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=66445

Patch Set 1 #

Patch Set 2 : Save store only for foreground tab. #

Patch Set 3 : Add comment and save state for closing tabs too. #

Total comments: 2

Patch Set 4 : update comment as per Peter's suggestion #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -2 lines) Patch
M chrome/browser/ui/browser.cc View 1 2 3 1 chunk +6 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
sadrul
10 years, 1 month ago (2010-11-16 05:17:53 UTC) #1
sky
On 2010/11/16 05:17:53, sadrul wrote: Could you elaborate on what problems this is causing? I ...
10 years, 1 month ago (2010-11-16 16:44:40 UTC) #2
sadrul
On 2010/11/16 16:44:40, sky wrote: > On 2010/11/16 05:17:53, sadrul wrote: > > Could you ...
10 years, 1 month ago (2010-11-16 17:30:49 UTC) #3
sky
So, I think the bug is we're always save the state and should only save ...
10 years, 1 month ago (2010-11-16 17:44:26 UTC) #4
Peter Kasting
On 2010/11/16 17:44:26, sky wrote: > So, I think the bug is we're always save ...
10 years, 1 month ago (2010-11-16 19:29:36 UTC) #5
sadrul
On 2010/11/16 17:44:26, sky wrote: > So, I think the bug is we're always save ...
10 years, 1 month ago (2010-11-17 01:15:22 UTC) #6
Peter Kasting
On 2010/11/17 01:15:22, sadrul wrote: > On 2010/11/16 17:44:26, sky wrote: > > So, I ...
10 years, 1 month ago (2010-11-17 01:17:54 UTC) #7
sadrul
On 2010/11/17 01:17:54, Peter Kasting wrote: > On 2010/11/17 01:15:22, sadrul wrote: > > On ...
10 years, 1 month ago (2010-11-17 01:32:44 UTC) #8
Peter Kasting
LGTM http://codereview.chromium.org/5075001/diff/11001/chrome/browser/ui/browser.cc File chrome/browser/ui/browser.cc (right): http://codereview.chromium.org/5075001/diff/11001/chrome/browser/ui/browser.cc#newcode4013 chrome/browser/ui/browser.cc:4013: // Save what the user has typed in ...
10 years, 1 month ago (2010-11-17 01:41:24 UTC) #9
sadrul
http://codereview.chromium.org/5075001/diff/11001/chrome/browser/ui/browser.cc File chrome/browser/ui/browser.cc (right): http://codereview.chromium.org/5075001/diff/11001/chrome/browser/ui/browser.cc#newcode4013 chrome/browser/ui/browser.cc:4013: // Save what the user has typed in the ...
10 years, 1 month ago (2010-11-17 02:09:24 UTC) #10
sky
10 years, 1 month ago (2010-11-17 16:02:24 UTC) #11
LGTM

Powered by Google App Engine
This is Rietveld 408576698