|
Allow WebUI Tests to use preLoad in HtmlDialogUI.
- Refactor JsInjectionReadyObserver to its own header/impl files.
- Call JsInjectionReadyObserver::OnJsInjectionReady when the dialog
is shown.
- Move preamble generation to after the AddLibrary calls & generate setting
of preload_* variables rather than passing in browsePreload and
browsePrintPreload.
- Modify tests that show HtmlDialogUI to show the dialogs using preamble
rather than SetUpOnMainThread so AddLibrary & set_preload_* calls precede
showing the dialog (so preload is called against the appropriate fixture).
R=flackr@chromium.org, jhawkins@chromium.org
BUG= 104371
TEST=browser_tests --gtest_filter=Hung*.* -AND- CertificateViewerUITest*.*
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112146
Total comments: 7
Total comments: 12
Total comments: 10
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+227 lines, -407 lines) |
Patch |
 |
M |
chrome/browser/errorpage_browsertest.cc
|
View
|
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/html_dialog_ui.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/web_ui_browsertest.h
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+10 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/web_ui_browsertest.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+12 lines, -15 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_tests.gypi
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
5 chunks |
+7 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/common/chrome_notification_types.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/test/base/js2gtest.js
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+19 lines, -8 lines |
0 comments
|
Download
|
 |
A |
chrome/test/base/js_injection_ready_observer.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+23 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/base/test_html_dialog_observer.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+9 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/test/base/test_html_dialog_observer.cc
|
View
|
5
6
|
3 chunks |
+10 lines, -3 lines |
0 comments
|
Download
|
 |
A + |
chrome/test/base/test_navigation_observer.h
|
View
|
5
6
|
4 chunks |
+4 lines, -14 lines |
0 comments
|
Download
|
 |
A + |
chrome/test/base/test_navigation_observer.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+4 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/test/base/test_tab_strip_model_observer.h
|
View
|
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/test/base/test_tab_strip_model_observer.cc
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/test/base/ui_test_utils.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A + |
chrome/test/data/webui/async_gen.h
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+15 lines, -19 lines |
0 comments
|
Download
|
 |
A |
chrome/test/data/webui/async_gen.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+35 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/webui/async_gen.js
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+3 lines, -13 lines |
0 comments
|
Download
|
 |
D |
chrome/test/data/webui/async_gen-inl.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+0 lines, -57 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/webui/certificate_viewer_dialog_test.js
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/webui/certificate_viewer_ui_test-inl.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/webui/hung_renderer_dialog_test.js
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/webui/hung_renderer_dialog_ui_test-inl.h
|
View
|
|
2 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
 |
A |
chrome/test/data/webui/print_preview.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+25 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/test/data/webui/print_preview.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/webui/print_preview.js
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -15 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/webui/test_api.js
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
D |
chrome/test/test_navigation_observer.h
|
View
|
|
1 chunk |
+0 lines, -95 lines |
0 comments
|
Download
|
 |
D |
chrome/test/test_navigation_observer.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+0 lines, -125 lines |
0 comments
|
Download
|
Total messages: 18 (0 generated)
|