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

Issue 8417005: Share TabFirstRenderWatcher with HtmlDialogView. (Closed)

Created:
9 years, 1 month ago by xiyuan
Modified:
9 years, 1 month ago
Reviewers:
oshima
CC:
chromium-reviews, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Share TabFirstRenderWatcher with HtmlDialogView. - Move TabFirstRenderWatcher out of chromeos and combine the logic with HTMLDialgoView. - Update HtmlDialogBrowserTest.TestStateTransition and move state transition test into TabFirstRenderWatcherTest.TestStateTransition; - HtmlDialogBrowserTest.TestStateTransition -> WebContentRendered as it only tests OnTabMainFrameFirstRender is callled now; - Conslidate two TestHtmlDialogUIDelegate into one; Will share it with the auro app list window to avoid initial jankiness. BUG=98308, 86059 TEST=Hold until all app list changes are in. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=108206

Patch Set 1 #

Total comments: 2

Patch Set 2 : fix nit and actually setup TabFirstRenderWatcher :p #

Patch Set 3 : sync and fix HtmlDialogBrowserTest compilation error #

Patch Set 4 : Update browser_tests #

Patch Set 5 : fix mac,linux trybots #

Patch Set 6 : fix mac,linux bots attempt #2 #

Patch Set 7 : put back accedientally deleted HtmlDialogUI::GetPropertyAccessor() code to fix HtmlDialogUI tests #

Total comments: 10

Patch Set 8 : address comments for patch #7 #

Patch Set 9 : sync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+281 lines, -276 lines) Patch
M chrome/browser/chromeos/login/webui_login_view.h View 1 2 3 4 5 6 7 2 chunks +1 line, -2 lines 0 comments Download
D chrome/browser/chromeos/tab_first_render_watcher.h View 1 chunk +0 lines, -57 lines 0 comments Download
D chrome/browser/chromeos/tab_first_render_watcher.cc View 1 chunk +0 lines, -58 lines 0 comments Download
A + chrome/browser/tab_first_render_watcher.h View 3 chunks +3 lines, -8 lines 0 comments Download
A + chrome/browser/tab_first_render_watcher.cc View 3 chunks +1 line, -5 lines 0 comments Download
A chrome/browser/tab_first_render_watcher_browsertest.cc View 1 2 3 4 5 6 7 1 chunk +88 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/html_dialog_view.h View 1 2 3 4 5 6 7 4 chunks +17 lines, -24 lines 0 comments Download
M chrome/browser/ui/views/html_dialog_view.cc View 1 2 3 4 5 6 7 3 chunks +19 lines, -41 lines 0 comments Download
M chrome/browser/ui/views/html_dialog_view_browsertest.cc View 1 2 3 4 5 6 7 4 chunks +37 lines, -43 lines 0 comments Download
M chrome/browser/ui/webui/constrained_html_ui_browsertest.cc View 1 2 3 4 5 6 7 4 chunks +5 lines, -36 lines 0 comments Download
A chrome/browser/ui/webui/test_html_dialog_ui_delegate.h View 1 2 3 4 5 6 7 1 chunk +48 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/test_html_dialog_ui_delegate.cc View 1 2 3 4 5 6 7 1 chunk +56 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 3 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
xiyuan
9 years, 1 month ago (2011-10-27 18:34:11 UTC) #1
oshima
LGTM http://codereview.chromium.org/8417005/diff/1/chrome/browser/ui/views/html_dialog_view.cc File chrome/browser/ui/views/html_dialog_view.cc (right): http://codereview.chromium.org/8417005/diff/1/chrome/browser/ui/views/html_dialog_view.cc#newcode255 chrome/browser/ui/views/html_dialog_view.cc:255: nit: remove empty line
9 years, 1 month ago (2011-10-27 20:49:30 UTC) #2
xiyuan
I missed an important step in patch set #1 - to setup the TabFirstRenderWatcher. And ...
9 years, 1 month ago (2011-10-27 21:48:07 UTC) #3
oshima
LGTM
9 years, 1 month ago (2011-10-28 00:19:19 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xiyuan@chromium.org/8417005/2002
9 years, 1 month ago (2011-10-28 02:28:13 UTC) #5
commit-bot: I haz the power
Try job failure for 8417005-2002 (retry) on win_rel for step "compile" (clobber build). It's a ...
9 years, 1 month ago (2011-10-28 03:23:45 UTC) #6
xiyuan
CL updated. - Moved state transition tests from HtmlDialogBrowserTest into new TabFirstRenderWatcherTest; - Renamed HtmlDialogBrowserTest.TestStateTransition ...
9 years, 1 month ago (2011-10-31 17:39:46 UTC) #7
oshima
Can you run the test through try bot a few times? I could repro the ...
9 years, 1 month ago (2011-11-01 18:28:27 UTC) #8
xiyuan
Cl updated to address comments in patch set #7. Per discussion, I have marked HtmlDialogBrowserTest.WebContentRendered ...
9 years, 1 month ago (2011-11-01 20:18:15 UTC) #9
oshima
LGTM
9 years, 1 month ago (2011-11-01 22:07:10 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xiyuan@chromium.org/8417005/16002
9 years, 1 month ago (2011-11-01 23:11:18 UTC) #11
commit-bot: I haz the power
Can't process patch for file chrome/chrome_browser.gypi. File's status is None, patchset upload is incomplete.
9 years, 1 month ago (2011-11-01 23:11:20 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xiyuan@chromium.org/8417005/16007
9 years, 1 month ago (2011-11-01 23:20:58 UTC) #13
commit-bot: I haz the power
9 years, 1 month ago (2011-11-02 00:29:06 UTC) #14
Change committed as 108206

Powered by Google App Engine
This is Rietveld 408576698