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

Issue 780873002: Upstream iOS web code. (Closed)

Created:
6 years ago by droger
Modified:
6 years ago
Reviewers:
stuartmorgan
CC:
chromium-reviews, sdefresne, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Upstream iOS web code. This CL upstreams part of the iOS web code. This code is needed in order to upstream the Translate component. Committed: https://crrev.com/8eabfbc0434d494dbb9f45108bb9c73757e90194 Cr-Commit-Position: refs/heads/master@{#307463}

Patch Set 1 #

Total comments: 7

Patch Set 2 : rebase + comments #

Patch Set 3 : cleanup #

Patch Set 4 : Fix gyp #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+253 lines, -5 lines) Patch
M ios/ios_tests_unit.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download
M ios/web/ios_web.gyp View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
A + ios/web/load_committed_details.cc View 1 2 1 chunk +3 lines, -4 lines 0 comments Download
A ios/web/public/load_committed_details.h View 1 chunk +35 lines, -0 lines 0 comments Download
M ios/web/public/referrer.h View 1 chunk +3 lines, -1 line 0 comments Download
A ios/web/public/string_util.h View 1 chunk +22 lines, -0 lines 0 comments Download
A ios/web/public/web_state/web_state_observer.h View 1 1 chunk +71 lines, -0 lines 4 comments Download
A ios/web/string_util.cc View 1 chunk +26 lines, -0 lines 0 comments Download
A ios/web/string_util_unittest.cc View 1 chunk +45 lines, -0 lines 0 comments Download
A ios/web/web_state/web_state_observer.cc View 1 1 chunk +41 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
droger
Note: this CL depends on https://codereview.chromium.org/777183002/
6 years ago (2014-12-04 13:08:03 UTC) #2
stuartmorgan
LGTM with some cleanup. https://codereview.chromium.org/780873002/diff/1/ios/web/ios_web.gyp File ios/web/ios_web.gyp (right): https://codereview.chromium.org/780873002/diff/1/ios/web/ios_web.gyp#newcode25 ios/web/ios_web.gyp:25: 'load_committed_details.h', This is wrong; the ...
6 years ago (2014-12-04 23:22:58 UTC) #3
droger
Thanks for the review. https://codereview.chromium.org/780873002/diff/1/ios/web/public/string_util.h File ios/web/public/string_util.h (right): https://codereview.chromium.org/780873002/diff/1/ios/web/public/string_util.h#newcode17 ios/web/public/string_util.h:17: base::string16 GetStringByClippingLastWord(const base::string16& contents, On ...
6 years ago (2014-12-09 13:14:43 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/780873002/60001
6 years ago (2014-12-09 13:37:56 UTC) #6
commit-bot: I haz the power
Committed patchset #4 (id:60001)
6 years ago (2014-12-09 13:57:29 UTC) #7
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/8eabfbc0434d494dbb9f45108bb9c73757e90194 Cr-Commit-Position: refs/heads/master@{#307463}
6 years ago (2014-12-09 13:58:19 UTC) #8
tfarina
https://codereview.chromium.org/780873002/diff/60001/ios/web/public/web_state/web_state_observer.h File ios/web/public/web_state/web_state_observer.h (right): https://codereview.chromium.org/780873002/diff/60001/ios/web/public/web_state/web_state_observer.h#newcode21 ios/web/public/web_state/web_state_observer.h:21: WebState* web_state() const { return web_state_; } this is ...
6 years ago (2014-12-12 18:41:07 UTC) #9
stuartmorgan
https://codereview.chromium.org/780873002/diff/60001/ios/web/public/web_state/web_state_observer.h File ios/web/public/web_state/web_state_observer.h (right): https://codereview.chromium.org/780873002/diff/60001/ios/web/public/web_state/web_state_observer.h#newcode21 ios/web/public/web_state/web_state_observer.h:21: WebState* web_state() const { return web_state_; } On 2014/12/12 ...
6 years ago (2014-12-12 19:16:45 UTC) #10
stuartmorgan
6 years ago (2014-12-12 19:19:57 UTC) #11
Message was sent while issue was closed.
https://codereview.chromium.org/780873002/diff/60001/ios/web/public/web_state...
File ios/web/public/web_state/web_state_observer.h (right):

https://codereview.chromium.org/780873002/diff/60001/ios/web/public/web_state...
ios/web/public/web_state/web_state_observer.h:28: const LoadCommittedDetails&
load_details) {};
On 2014/12/12 18:41:07, tfarina wrote:
> no need of ';' in those virtual methods.

If you find style nits in already-submitted code, it's generally much more
useful to just send a patch fixing them than to drive-by nit the CL after the
fact.

Powered by Google App Engine
This is Rietveld 408576698