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

Issue 1415513002: Remove plumbing for inert-visual-viewport flag (Closed)

Created:
5 years, 2 months ago by ymalik
Modified:
5 years, 2 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, caseq+blink_chromium.org, creis+watch_chromium.org, vivekg_samsung, pfeldman+blink_chromium.org, vivekg, nasko+codewatch_chromium.org, jam, yurys+blink_chromium.org, lushnikov+blink_chromium.org, blink-reviews, dglazkov+blink, darin-cc_chromium.org, Inactive, asvitkine+watch_chromium.org, devtools-reviews_chromium.org, mkwst+moarreviews-renderer_chromium.org, apavlov+blink_chromium.org, sergeyv+blink_chromium.org, blink-reviews-api_chromium.org, kozyatinskiy+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove plumbing for the inert-visual-viewport flag. Note that the Blink setting inertVisualViewport still exists and is set to false by default. A follow up CL will set this to true once dependent tests are fixed. BUG=489206 Committed: https://crrev.com/58d42ae1d6690a9f625e23f160b346e9cebeab01 Cr-Commit-Position: refs/heads/master@{#355907}

Patch Set 1 #

Total comments: 18

Patch Set 2 : Worked on review comments #

Total comments: 12

Patch Set 3 : Worked on review comments #

Total comments: 8

Patch Set 4 : worked on review comments #

Total comments: 2

Patch Set 5 : Keeping "inertVisualViewport" setting + fixed broken test #

Total comments: 1

Patch Set 6 : fix layout test + trybot compile error #

Total comments: 1

Patch Set 7 : remove invalid visual viewport unittest #

Patch Set 8 : undo change to histogram.xml #

Patch Set 9 : rebase master #

Patch Set 10 : #

Patch Set 11 : rebase master #

Patch Set 12 : Undo changes in https://codereview.chromium.org/1424593002/ #

Patch Set 13 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -35 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -5 lines 0 comments Download
M components/html_viewer/blink_settings_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -2 lines 0 comments Download
M components/html_viewer/web_preferences.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -1 line 0 comments Download
M components/html_viewer/web_preferences.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -3 lines 0 comments Download
M content/public/common/common_param_traits_macros.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/public/common/content_switches.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -1 line 0 comments Download
M content/public/common/content_switches.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -3 lines 0 comments Download
M content/public/common/web_preferences.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/public/common/web_preferences.cc View 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/WebSettingsImpl.h View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebSettingsImpl.cpp View 1 chunk +0 lines, -5 lines 0 comments Download
M third_party/WebKit/public/web/WebSettings.h View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 53 (18 generated)
ymalik
5 years, 2 months ago (2015-10-18 20:03:11 UTC) #2
bokan
Comments inline https://codereview.chromium.org/1415513002/diff/1/third_party/WebKit/LayoutTests/fast/dom/Window/window-scaled-viewport-properties.html File third_party/WebKit/LayoutTests/fast/dom/Window/window-scaled-viewport-properties.html (right): https://codereview.chromium.org/1415513002/diff/1/third_party/WebKit/LayoutTests/fast/dom/Window/window-scaled-viewport-properties.html#newcode37 third_party/WebKit/LayoutTests/fast/dom/Window/window-scaled-viewport-properties.html:37: shouldBe('window.innerWidth', '1600'); Can you add a comment ...
5 years, 2 months ago (2015-10-19 15:01:15 UTC) #3
ymalik
https://codereview.chromium.org/1415513002/diff/1/third_party/WebKit/LayoutTests/fast/dom/Window/window-scaled-viewport-properties.html File third_party/WebKit/LayoutTests/fast/dom/Window/window-scaled-viewport-properties.html (right): https://codereview.chromium.org/1415513002/diff/1/third_party/WebKit/LayoutTests/fast/dom/Window/window-scaled-viewport-properties.html#newcode37 third_party/WebKit/LayoutTests/fast/dom/Window/window-scaled-viewport-properties.html:37: shouldBe('window.innerWidth', '1600'); On 2015/10/19 15:01:14, bokan wrote: > Can ...
5 years, 2 months ago (2015-10-20 21:27:14 UTC) #4
ymalik
https://codereview.chromium.org/1415513002/diff/1/third_party/WebKit/LayoutTests/fast/dom/Window/window-scaled-viewport-properties.html File third_party/WebKit/LayoutTests/fast/dom/Window/window-scaled-viewport-properties.html (right): https://codereview.chromium.org/1415513002/diff/1/third_party/WebKit/LayoutTests/fast/dom/Window/window-scaled-viewport-properties.html#newcode62 third_party/WebKit/LayoutTests/fast/dom/Window/window-scaled-viewport-properties.html:62: shouldBe('window.scrollY', '300'); On 2015/10/20 21:27:13, ymalik1 wrote: > On ...
5 years, 2 months ago (2015-10-20 23:36:00 UTC) #5
bokan
Looks good, just a few more cleanups (mostly to my old code). https://codereview.chromium.org/1415513002/diff/20001/third_party/WebKit/LayoutTests/fast/dom/Window/window-scaled-viewport-properties.html File third_party/WebKit/LayoutTests/fast/dom/Window/window-scaled-viewport-properties.html ...
5 years, 2 months ago (2015-10-21 13:32:15 UTC) #6
ymalik
https://codereview.chromium.org/1415513002/diff/20001/third_party/WebKit/LayoutTests/fast/dom/Window/window-scaled-viewport-properties.html File third_party/WebKit/LayoutTests/fast/dom/Window/window-scaled-viewport-properties.html (right): https://codereview.chromium.org/1415513002/diff/20001/third_party/WebKit/LayoutTests/fast/dom/Window/window-scaled-viewport-properties.html#newcode39 third_party/WebKit/LayoutTests/fast/dom/Window/window-scaled-viewport-properties.html:39: debug('===Unscaled==='); On 2015/10/21 13:32:14, bokan wrote: > This is ...
5 years, 2 months ago (2015-10-21 15:14:08 UTC) #7
bokan
Sorry for nit picking, last round I think :) Could you also add a link ...
5 years, 2 months ago (2015-10-21 15:23:07 UTC) #8
ymalik
https://codereview.chromium.org/1415513002/diff/40001/third_party/WebKit/LayoutTests/fast/dom/Window/window-scaled-viewport-properties.html File third_party/WebKit/LayoutTests/fast/dom/Window/window-scaled-viewport-properties.html (right): https://codereview.chromium.org/1415513002/diff/40001/third_party/WebKit/LayoutTests/fast/dom/Window/window-scaled-viewport-properties.html#newcode38 third_party/WebKit/LayoutTests/fast/dom/Window/window-scaled-viewport-properties.html:38: function testUnscaled () { On 2015/10/21 15:23:06, bokan wrote: ...
5 years, 2 months ago (2015-10-21 16:29:28 UTC) #10
bokan
lgtm, thanks!
5 years, 2 months ago (2015-10-21 16:41:29 UTC) #11
ymalik
+rbyers for source/core/testing/Internals* +kenrb@ for common_param_traits_macros +avi@ for content/public and content/renderer content/browser +isherman@ for histograms.xml
5 years, 2 months ago (2015-10-21 17:19:22 UTC) #13
Rick Byers
What's the plan for if we find this breaks some sites (eg. during beta) and ...
5 years, 2 months ago (2015-10-21 17:26:40 UTC) #14
kenrb
ipc lgtm
5 years, 2 months ago (2015-10-21 17:30:03 UTC) #15
Avi (use Gerrit)
On 2015/10/21 17:19:22, ymalik1 wrote: > +rbyers for source/core/testing/Internals* > +kenrb@ for common_param_traits_macros > +avi@ ...
5 years, 2 months ago (2015-10-21 17:53:58 UTC) #16
ymalik
On 2015/10/21 17:26:40, Rick Byers wrote: > What's the plan for if we find this ...
5 years, 2 months ago (2015-10-21 20:45:06 UTC) #17
ymalik
@bokan Not sending scroll events when scrolling the visual viewport broke another test. I updated ...
5 years, 2 months ago (2015-10-21 21:14:17 UTC) #18
bokan
On 2015/10/21 20:45:06, ymalik1 wrote: > On 2015/10/21 17:26:40, Rick Byers wrote: > > What's ...
5 years, 2 months ago (2015-10-21 21:15:46 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1415513002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1415513002/80001
5 years, 2 months ago (2015-10-21 21:19:50 UTC) #22
bokan
https://codereview.chromium.org/1415513002/diff/80001/third_party/WebKit/LayoutTests/fast/events/touch/gesture/touch-gesture-fling-with-page-scale.html File third_party/WebKit/LayoutTests/fast/events/touch/gesture/touch-gesture-fling-with-page-scale.html (right): https://codereview.chromium.org/1415513002/diff/80001/third_party/WebKit/LayoutTests/fast/events/touch/gesture/touch-gesture-fling-with-page-scale.html#newcode90 third_party/WebKit/LayoutTests/fast/events/touch/gesture/touch-gesture-fling-with-page-scale.html:90: window.scrollTo(10, 10); I'm a bit worried that this could ...
5 years, 2 months ago (2015-10-21 21:48:36 UTC) #23
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/147703)
5 years, 2 months ago (2015-10-21 21:58:05 UTC) #25
Rick Byers
On 2015/10/21 21:14:17, ymalik1 wrote: > @bokan Not sending scroll events when scrolling the visual ...
5 years, 2 months ago (2015-10-21 21:58:28 UTC) #26
Ilya Sherman
https://codereview.chromium.org/1415513002/diff/100001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (left): https://codereview.chromium.org/1415513002/diff/100001/tools/metrics/histograms/histograms.xml#oldcode64546 tools/metrics/histograms/histograms.xml:64546: - <int value="-631740127" label="inert-visual-viewport"/> Please preserve this value -- ...
5 years, 2 months ago (2015-10-21 22:27:59 UTC) #27
ymalik
+fsamuel for components/html_viewer/blink_settings.cc
5 years, 2 months ago (2015-10-21 22:38:25 UTC) #30
ymalik
+fsamuel for components/html_viewer/blink_settings.cc
5 years, 2 months ago (2015-10-21 22:38:26 UTC) #31
ymalik
On 2015/10/21 22:27:59, Ilya Sherman wrote: > https://codereview.chromium.org/1415513002/diff/100001/tools/metrics/histograms/histograms.xml > File tools/metrics/histograms/histograms.xml (left): > > https://codereview.chromium.org/1415513002/diff/100001/tools/metrics/histograms/histograms.xml#oldcode64546 ...
5 years, 2 months ago (2015-10-21 22:38:50 UTC) #32
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1415513002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1415513002/140001
5 years, 2 months ago (2015-10-21 22:41:37 UTC) #34
Fady Samuel
html_viewer lgtm
5 years, 2 months ago (2015-10-21 22:46:03 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1415513002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1415513002/140001
5 years, 2 months ago (2015-10-21 23:38:16 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/85274)
5 years, 2 months ago (2015-10-22 01:34:24 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1415513002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1415513002/140001
5 years, 2 months ago (2015-10-22 01:39:48 UTC) #42
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/85399)
5 years, 2 months ago (2015-10-22 02:54:50 UTC) #44
ymalik
@bokan PTAL :)
5 years, 2 months ago (2015-10-23 20:26:10 UTC) #47
bokan
still-lgtm
5 years, 2 months ago (2015-10-23 20:27:03 UTC) #48
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1415513002/230001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1415513002/230001
5 years, 2 months ago (2015-10-23 20:29:59 UTC) #51
commit-bot: I haz the power
Committed patchset #13 (id:230001)
5 years, 2 months ago (2015-10-23 22:30:37 UTC) #52
commit-bot: I haz the power
5 years, 2 months ago (2015-10-23 22:31:19 UTC) #53
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/58d42ae1d6690a9f625e23f160b346e9cebeab01
Cr-Commit-Position: refs/heads/master@{#355907}

Powered by Google App Engine
This is Rietveld 408576698