|
Redoing Issue 36073011: Allowing file:/// in Instant Extended's Most Visited links.
The previous change was rolled back because it prevented the NTP ping, which was needed for UMA. 3 main parts of this CL are:
(1) Redo Issue 36073011, adjusted to code changes. This fixes the file:/// issue, and changes NTP outgoing page transition to AUTO_BOOKMARK (instead of LINK).
(2) Adding logNavigation(pos, provider), which is called on click.
(3) Deprecate ping and chrome://log.html pages.
Caveat: keyboard navigation is not properly handled, since it involves the NTP rather than the iframe. This will be fixed in a follow-up CL.
For (1):
- Unlike Issue 36073011, we're not enabling LocalNTPTest.LocalNTPJavascriptTest, because recent cleanups causes more failure modes of this test.
- Using IDR_MOST_VISITED_WINDOW_DISPOSITION_UTIL_JS instead of IDR_CLICK_UTIL_JS.
- In local_ntp.js: init(): skipping change to the "recentTabsText" block, since it got deleted.
BUG= 306137
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=257389
Total comments: 9
Total comments: 2
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+468 lines, -263 lines) |
Patch |
 |
M |
chrome/browser/browser_resources.grd
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/local_ntp/local_ntp.js
|
View
|
|
4 chunks |
+5 lines, -25 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/local_ntp/most_visited_thumbnail.js
|
View
|
1
2
3
|
5 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/local_ntp/most_visited_title.js
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/local_ntp/most_visited_util.js
|
View
|
1
2
3
4
5
6
|
6 chunks |
+19 lines, -20 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/resources/local_ntp/window_disposition_util.js
|
View
|
|
1 chunk |
+32 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/search/most_visited_iframe_source.h
|
View
|
1
|
1 chunk |
+0 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/search/most_visited_iframe_source.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+1 line, -43 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/search/most_visited_iframe_source_unittest.cc
|
View
|
1
|
1 chunk |
+0 lines, -79 lines |
1 comment
|
Download
|
 |
M |
chrome/browser/ui/search/search_ipc_router.h
|
View
|
1
2
3
|
2 chunks |
+12 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/search/search_ipc_router.cc
|
View
|
1
2
3
|
3 chunks |
+38 lines, -14 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/search/search_ipc_router_unittest.cc
|
View
|
1
2
3
|
2 chunks |
+27 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/search/search_tab_helper.h
|
View
|
1
2
3
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/search/search_tab_helper.cc
|
View
|
1
2
3
|
1 chunk |
+9 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/search/search_tab_helper_unittest.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/ntp/ntp_user_data_logger.h
|
View
|
1
2
3
|
3 chunks |
+17 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/ntp/ntp_user_data_logger.cc
|
View
|
1
2
3
|
4 chunks |
+78 lines, -12 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/ntp/ntp_user_data_logger_unittest.cc
|
View
|
1
2
3
4
5
|
5 chunks |
+72 lines, -15 lines |
0 comments
|
Download
|
 |
M |
chrome/common/render_messages.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/renderer/resources/extensions/searchbox_api.js
|
View
|
1
2
3
|
3 chunks |
+23 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/searchbox/searchbox.h
|
View
|
1
2
3
|
1 chunk |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/searchbox/searchbox.cc
|
View
|
1
2
3
|
1 chunk |
+10 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/searchbox/searchbox_extension.cc
|
View
|
1
2
3
|
9 chunks |
+68 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/local_ntp_browsertest.html
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/local_ntp_browsertest.js
|
View
|
1
|
1 chunk |
+26 lines, -0 lines |
0 comments
|
Download
|
Total messages: 44 (0 generated)
|