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

Issue 60066: Make the throbber throb sooner after you navigate. This fixes the new tab pag... (Closed)

Created:
11 years, 8 months ago by brettw
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Make the throbber throb sooner after you navigate. This fixes the new tab page, which would not start throbbing until the load committed. I think this was always broken, but switching the tab contents types covered it up. Now I have a flag that goes along with the tab updating that indicates if it's a load update or a full update. This is necessary to avoid updating the title to the page's URL until it does actually commit. BUG=9310 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=13131

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -30 lines) Patch
M chrome/browser/browser.cc View 4 chunks +18 lines, -6 lines 1 comment Download
M chrome/browser/dom_ui/dom_ui_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/tab_contents/web_contents.cc View 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/tabs/tab_strip_model.h View 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/tabs/tab_strip_model.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/tabs/tab_strip_model_unittest.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/views/tabs/dragged_tab_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/views/tabs/tab_renderer.h View 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/views/tabs/tab_renderer.cc View 1 chunk +11 lines, -6 lines 0 comments Download
M chrome/browser/views/tabs/tab_strip.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/views/tabs/tab_strip.cc View 2 chunks +5 lines, -4 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
brettw
11 years, 8 months ago (2009-04-02 22:19:14 UTC) #1
Ben Goodger (Google)
11 years, 8 months ago (2009-04-04 17:27:59 UTC) #2
LGTM.

BTW, OpenURLFromTab is crying out for a unit test.

http://codereview.chromium.org/60066/diff/1/3
File chrome/browser/browser.cc (right):

http://codereview.chromium.org/60066/diff/1/3#newcode1660
Line 1660: ScheduleUIUpdate(source, TabContents::INVALIDATE_URL |
You might move this above the comment above since it's UpdateToolbar that does
the synchronous updating, or give this its own comment.

Powered by Google App Engine
This is Rietveld 408576698