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

Issue 2810263002: Deprecate __gCrWeb['sendFaviconsToHost'] by inlining it. (Closed)

Created:
3 years, 8 months ago by danyao
Modified:
3 years, 8 months ago
CC:
chromium-reviews, Eugene But (OOO till 7-30), ios-reviews+web_chromium.org, ios-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Deprecate __gCrWeb['sendFaviconsToHost'] by inlining it. Also moved didFinishNavigation() from core.js to legacy.js. This method can probably eventually be removed (see crbug.com/546350). For now, it is most closely related to navigation so cleaner to put it there instead of creating a separate .js file. This removes two of the last three methods in core.js. BUG=614092 TESTED=Ran ios_chrome_unittests and passed. Review-Url: https://codereview.chromium.org/2810263002 Cr-Commit-Position: refs/heads/master@{#464488} Committed: https://chromium.googlesource.com/chromium/src/+/c1ff136fb8f5e327c7f2a70066c1c33cff539911

Patch Set 1 #

Patch Set 2 : add missing goog.require #

Total comments: 1

Patch Set 3 : Moved didFinishNavigation to legacy.js #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -23 lines) Patch
M ios/web/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ios/web/web_state/js/resources/core.js View 2 chunks +0 lines, -18 lines 0 comments Download
A ios/web/web_state/js/resources/legacy.js View 1 2 1 chunk +35 lines, -0 lines 0 comments Download
M ios/web/web_state/js/resources/navigation.js View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M ios/web/web_state/js/resources/web_bundle.js View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ios/web/web_state/ui/crw_web_controller.mm View 1 chunk +0 lines, -5 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 11 (6 generated)
danyao
3 years, 8 months ago (2017-04-12 20:38:50 UTC) #2
Eugene But (OOO till 7-30)
lgtm https://codereview.chromium.org/2810263002/diff/20001/ios/web/web_state/js/resources/navigation.js File ios/web/web_state/js/resources/navigation.js (right): https://codereview.chromium.org/2810263002/diff/20001/ios/web/web_state/js/resources/navigation.js#newcode74 ios/web/web_state/js/resources/navigation.js:74: __gCrWeb.didFinishNavigation = function() { Do you want to ...
3 years, 8 months ago (2017-04-12 21:33:08 UTC) #3
danyao
On 2017/04/12 21:33:08, Eugene But wrote: > lgtm > > https://codereview.chromium.org/2810263002/diff/20001/ios/web/web_state/js/resources/navigation.js > File ios/web/web_state/js/resources/navigation.js (right): ...
3 years, 8 months ago (2017-04-12 22:13:26 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2810263002/40001
3 years, 8 months ago (2017-04-13 16:50:45 UTC) #8
commit-bot: I haz the power
3 years, 8 months ago (2017-04-13 19:06:35 UTC) #11
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/c1ff136fb8f5e327c7f2a70066c1...

Powered by Google App Engine
This is Rietveld 408576698