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

Issue 2902403002: Add KVO compliant title property to CWVWebView. (Closed)

Created:
3 years, 7 months ago by michaeldo
Modified:
3 years, 6 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

Add KVO compliant title property to CWVWebView. The GetUrlForPagewithTitle method on ChromeWebViewTest needed to be implemented manually becuase the previous default handler which was handling the echotitle url only looks for the value within the request body which is not usable for CWVWebView tests as they must pass all data within the url. BUG=704038 Review-Url: https://codereview.chromium.org/2902403002 Cr-Commit-Position: refs/heads/master@{#476444} Committed: https://chromium.googlesource.com/chromium/src/+/2011b27fb8555b25ecc46b651b022b54a85d54a9

Patch Set 1 #

Total comments: 19

Patch Set 2 : Respond to comments. #

Total comments: 10

Patch Set 3 : Cleanup. Respond to comments. #

Patch Set 4 : Remove type specific observers. #

Patch Set 5 : Remove observers directory. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+168 lines, -133 lines) Patch
M ios/web_view/internal/cwv_web_view.mm View 4 chunks +6 lines, -4 lines 0 comments Download
M ios/web_view/public/cwv_web_view.h View 1 chunk +1 line, -1 line 0 comments Download
M ios/web_view/test/BUILD.gn View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
D ios/web_view/test/boolean_observer.h View 1 chunk +0 lines, -35 lines 0 comments Download
D ios/web_view/test/boolean_observer.mm View 1 chunk +0 lines, -46 lines 0 comments Download
M ios/web_view/test/chrome_web_view_kvo_inttest.mm View 1 2 3 4 chunks +36 lines, -5 lines 0 comments Download
M ios/web_view/test/chrome_web_view_test.h View 1 2 3 chunks +10 lines, -7 lines 0 comments Download
M ios/web_view/test/chrome_web_view_test.mm View 1 2 4 chunks +75 lines, -25 lines 0 comments Download
A ios/web_view/test/observer.h View 1 2 3 1 chunk +32 lines, -0 lines 0 comments Download
A + ios/web_view/test/observer.mm View 1 2 3 2 chunks +6 lines, -8 lines 0 comments Download

Messages

Total messages: 16 (5 generated)
michaeldo
3 years, 7 months ago (2017-05-25 17:13:30 UTC) #2
Eugene But (OOO till 7-30)
https://codereview.chromium.org/2902403002/diff/1/ios/web_view/test/chrome_web_view_kvo_inttest.mm File ios/web_view/test/chrome_web_view_kvo_inttest.mm (right): https://codereview.chromium.org/2902403002/diff/1/ios/web_view/test/chrome_web_view_kvo_inttest.mm#newcode12 ios/web_view/test/chrome_web_view_kvo_inttest.mm:12: #import "ios/web_view/test/observers/string_observer.h" Do we actually need 2 different observers ...
3 years, 7 months ago (2017-05-25 17:43:03 UTC) #3
michaeldo
https://codereview.chromium.org/2902403002/diff/1/ios/web_view/test/chrome_web_view_kvo_inttest.mm File ios/web_view/test/chrome_web_view_kvo_inttest.mm (right): https://codereview.chromium.org/2902403002/diff/1/ios/web_view/test/chrome_web_view_kvo_inttest.mm#newcode12 ios/web_view/test/chrome_web_view_kvo_inttest.mm:12: #import "ios/web_view/test/observers/string_observer.h" On 2017/05/25 17:43:03, Eugene But wrote: > ...
3 years, 7 months ago (2017-05-26 14:59:02 UTC) #4
michaeldo
PTAL
3 years, 6 months ago (2017-05-31 21:22:36 UTC) #5
Eugene But (OOO till 7-30)
https://codereview.chromium.org/2902403002/diff/1/ios/web_view/test/chrome_web_view_kvo_inttest.mm File ios/web_view/test/chrome_web_view_kvo_inttest.mm (right): https://codereview.chromium.org/2902403002/diff/1/ios/web_view/test/chrome_web_view_kvo_inttest.mm#newcode12 ios/web_view/test/chrome_web_view_kvo_inttest.mm:12: #import "ios/web_view/test/observers/string_observer.h" On 2017/05/26 14:59:01, michaeldo wrote: > On ...
3 years, 6 months ago (2017-05-31 22:10:01 UTC) #6
michaeldo
https://codereview.chromium.org/2902403002/diff/20001/ios/web_view/test/chrome_web_view_test.h File ios/web_view/test/chrome_web_view_test.h (right): https://codereview.chromium.org/2902403002/diff/20001/ios/web_view/test/chrome_web_view_test.h#newcode37 ios/web_view/test/chrome_web_view_test.h:37: GURL GetUrlForPageWithHTMLBody(const std::string& html); On 2017/05/31 22:10:01, Eugene But ...
3 years, 6 months ago (2017-06-01 15:45:54 UTC) #7
Eugene But (OOO till 7-30)
https://codereview.chromium.org/2902403002/diff/1/ios/web_view/test/chrome_web_view_kvo_inttest.mm File ios/web_view/test/chrome_web_view_kvo_inttest.mm (right): https://codereview.chromium.org/2902403002/diff/1/ios/web_view/test/chrome_web_view_kvo_inttest.mm#newcode12 ios/web_view/test/chrome_web_view_kvo_inttest.mm:12: #import "ios/web_view/test/observers/string_observer.h" On 2017/05/31 22:10:00, Eugene But wrote: > ...
3 years, 6 months ago (2017-06-01 15:53:54 UTC) #8
michaeldo
On 2017/06/01 15:53:54, Eugene But wrote: > https://codereview.chromium.org/2902403002/diff/1/ios/web_view/test/chrome_web_view_kvo_inttest.mm > File ios/web_view/test/chrome_web_view_kvo_inttest.mm (right): > > https://codereview.chromium.org/2902403002/diff/1/ios/web_view/test/chrome_web_view_kvo_inttest.mm#newcode12 ...
3 years, 6 months ago (2017-06-01 18:41:29 UTC) #9
Eugene But (OOO till 7-30)
lgtm!
3 years, 6 months ago (2017-06-01 18:50:38 UTC) #10
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/2902403002/80001
3 years, 6 months ago (2017-06-01 20:06:49 UTC) #13
commit-bot: I haz the power
3 years, 6 months ago (2017-06-01 21:43:59 UTC) #16
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/2011b27fb8555b25ecc46b651b02...

Powered by Google App Engine
This is Rietveld 408576698