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

Issue 596623002: Fix orientation change callbacks to go through WebLocalFrame. (Closed)

Created:
6 years, 3 months ago by dcheng
Modified:
6 years, 3 months ago
Reviewers:
jam
CC:
chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, jam, jochen+watch_chromium.org, mkwst+moarreviews-renderer_chromium.org, mkwst+moarreviews-shell_chromium.org, mlamouri (slow - plz ping), nasko+codewatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Fix orientation change callbacks to go through WebLocalFrame. Remote frames can't script, so it never makes sense to dispatch orientation change events at remote frames. Also cleans up some method declarations to have named parameters, to match Chromium style. BUG=416658 Committed: https://crrev.com/ed9f6c1cd0d7852e2108262cb1f19f69a8437160 Cr-Commit-Position: refs/heads/master@{#296148}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Remove DCHECKs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -11 lines) Patch
M content/renderer/render_view_impl.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/shell/renderer/test_runner/mock_screen_orientation_client.h View 3 chunks +6 lines, -6 lines 0 comments Download
M content/shell/renderer/test_runner/mock_screen_orientation_client.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/shell/renderer/webkit_test_runner.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
dcheng
This blocks a cleanup change in Blink: https://codereview.chromium.org/595713002
6 years, 3 months ago (2014-09-23 00:30:27 UTC) #2
jam
lgtm with nits https://codereview.chromium.org/596623002/diff/1/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/596623002/diff/1/content/renderer/render_view_impl.cc#newcode3131 content/renderer/render_view_impl.cc:3131: DCHECK(webview()->mainFrame()->isWebLocalFrame()); nit: no need, if it's ...
6 years, 3 months ago (2014-09-23 05:17:14 UTC) #3
dcheng
https://codereview.chromium.org/596623002/diff/1/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/596623002/diff/1/content/renderer/render_view_impl.cc#newcode3131 content/renderer/render_view_impl.cc:3131: DCHECK(webview()->mainFrame()->isWebLocalFrame()); On 2014/09/23 05:17:13, jam wrote: > nit: no ...
6 years, 3 months ago (2014-09-23 05:24:34 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/596623002/20001
6 years, 3 months ago (2014-09-23 05:25:25 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001) as 66e90d639bc0a078279e17faf7a104ecd6260541
6 years, 3 months ago (2014-09-23 06:13:20 UTC) #7
commit-bot: I haz the power
6 years, 3 months ago (2014-09-23 06:13:57 UTC) #8
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/ed9f6c1cd0d7852e2108262cb1f19f69a8437160
Cr-Commit-Position: refs/heads/master@{#296148}

Powered by Google App Engine
This is Rietveld 408576698