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

Issue 271087: LTTF: Implement WebFrameLoaderClient::dispatchUnableToImplementPolicy() and so on (Closed)

Created:
11 years, 2 months ago by tkent
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, brettw+cc_chromium.org, darin (slow to review), jam, pam+watch_chromium.org
Visibility:
Public.

Description

Make LayoutTests/http/tests/misc/redirect-to-external-url.html PASS. * Implement WebFrameLoaderClient::dispatchUnableToImplementPolicy() * Implement WebFrameLoaderClient::canHandleRequest() so that an unkown scheme makes ResourceError. - Introduce WebFrameClient::canHandleRequest() to avoid chrome:: dependency from webkit/glue. - Introduce WebFrameClient::cannotShowURLError() to keep transparency of WebURLError. * Introduce WebFrameClient::unableToImplementPolicyWithError() An implmentation in test_shell prints the message same as WebKit. BUG=24074 TEST=This change enables 1 test.

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 9

Patch Set 5 : '' #

Total comments: 2

Patch Set 6 : '' #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -13 lines) Patch
M chrome/renderer/render_view.h View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/renderer/render_view.cc View 1 2 3 4 5 1 chunk +18 lines, -0 lines 0 comments Download
M webkit/api/public/WebFrameClient.h View 1 2 3 4 1 chunk +10 lines, -0 lines 0 comments Download
M webkit/glue/empty_webframeclient.h View 1 2 3 4 5 2 chunks +6 lines, -0 lines 0 comments Download
M webkit/glue/webframeloaderclient_impl.cc View 1 2 3 4 3 chunks +14 lines, -9 lines 0 comments Download
M webkit/tools/layout_tests/test_expectations.txt View 1 2 3 4 1 chunk +0 lines, -4 lines 0 comments Download
M webkit/tools/test_shell/test_webview_delegate.h View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M webkit/tools/test_shell/test_webview_delegate.cc View 1 2 3 4 1 chunk +26 lines, -0 lines 3 comments Download

Messages

Total messages: 8 (0 generated)
tkent
11 years, 2 months ago (2009-10-16 06:04:21 UTC) #1
darin (slow to review)
http://codereview.chromium.org/271087/diff/9001/6018 File chrome/common/url_constants.h (right): http://codereview.chromium.org/271087/diff/9001/6018#newcode32 Line 32: // Null terminated list of all known schems. ...
11 years, 2 months ago (2009-10-16 07:10:41 UTC) #2
tkent
The patch has been updated. http://codereview.chromium.org/271087/diff/9001/6020 File chrome/renderer/render_view.cc (right): http://codereview.chromium.org/271087/diff/9001/6020#newcode1923 Line 1923: return URLRequest::IsHandledProtocol(scheme); On ...
11 years, 2 months ago (2009-10-16 07:50:01 UTC) #3
darin (slow to review)
http://codereview.chromium.org/271087/diff/12001/13008 File chrome/renderer/render_view.cc (right): http://codereview.chromium.org/271087/diff/12001/13008#newcode1910 Line 1910: // FIXME: this appears to be used only ...
11 years, 2 months ago (2009-10-16 07:58:46 UTC) #4
tkent
http://codereview.chromium.org/271087/diff/12001/13008 File chrome/renderer/render_view.cc (right): http://codereview.chromium.org/271087/diff/12001/13008#newcode1910 Line 1910: // FIXME: this appears to be used only ...
11 years, 2 months ago (2009-10-16 08:03:52 UTC) #5
tkent
I have updated the patch.
11 years, 2 months ago (2009-10-16 08:07:15 UTC) #6
darin (slow to review)
Looks great. Just some minor nits: http://codereview.chromium.org/271087/diff/10010/10012 File webkit/tools/test_shell/test_webview_delegate.cc (right): http://codereview.chromium.org/271087/diff/10010/10012#newcode664 Line 664: return url.scheme() ...
11 years, 2 months ago (2009-10-16 15:44:03 UTC) #7
tkent
11 years, 2 months ago (2009-10-19 02:26:36 UTC) #8
On 2009/10/16 15:44:03, darin wrote:
> Looks great.  Just some minor nits:

I fixed them and committed.  Thank you!

Powered by Google App Engine
This is Rietveld 408576698