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

Issue 1392213002: Call setUseMobileViewportStyle before setViewportEnabled (Closed)

Created:
5 years, 2 months ago by Yoav Weiss
Modified:
5 years, 2 months ago
CC:
blink-reviews, creis+watch_chromium.org, darin-cc_chromium.org, jam, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Call setUseMobileViewportStyle before setViewportEnabled In order to avoid initialization of the preloadScanner with the wrong viewport dimensions, this CL moves the initialization of mobile viewport dimensions further up, so that they would happen before the viewport is initialized. BUG=531820 Committed: https://crrev.com/a1a508b42224a697a0a621c36bfb55fe2f8bd760 Cr-Commit-Position: refs/heads/master@{#355041}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Moved viewportEnabled below ifdefs #

Patch Set 3 : Added tests #

Total comments: 1

Patch Set 4 : Removed useless observer #

Total comments: 1

Patch Set 5 : Added doctype #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -7 lines) Patch
A content/browser/resource_loading_browsertest.cc View 1 2 3 1 chunk +32 lines, -0 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 2 chunks +6 lines, -6 lines 0 comments Download
A + content/test/data/resource_loading/200.png View 1 2 Binary file 0 comments Download
A + content/test/data/resource_loading/400.png View 1 2 Binary file 0 comments Download
A content/test/data/resource_loading/resource_loading_non_mobile.html View 1 2 3 4 1 chunk +30 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/DevToolsEmulator.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 22 (6 generated)
bokan
This makes sense to me (actually a simpler fix than I expected!). As for test, ...
5 years, 2 months ago (2015-10-08 15:03:47 UTC) #2
Yoav Weiss
5 years, 2 months ago (2015-10-09 09:13:59 UTC) #3
Yoav Weiss
On 2015/10/08 15:03:47, bokan wrote: > This makes sense to me (actually a simpler fix ...
5 years, 2 months ago (2015-10-09 09:16:28 UTC) #4
bokan
On 2015/10/09 09:16:28, Yoav Weiss wrote: > On 2015/10/08 15:03:47, bokan wrote: > > This ...
5 years, 2 months ago (2015-10-09 13:39:46 UTC) #5
Yoav Weiss
Added a browser test. PTAL.
5 years, 2 months ago (2015-10-16 10:32:59 UTC) #6
bokan
Change itself lgtm (not an OWNER there though). Test looks plausible to me but I ...
5 years, 2 months ago (2015-10-16 16:19:55 UTC) #7
Yoav Weiss
On 2015/10/16 16:19:55, bokan wrote: > Change itself lgtm (not an OWNER there though). > ...
5 years, 2 months ago (2015-10-17 00:45:51 UTC) #8
Yoav Weiss
On 2015/10/17 00:45:51, Yoav Weiss wrote: > On 2015/10/16 16:19:55, bokan wrote: > > Change ...
5 years, 2 months ago (2015-10-17 00:49:03 UTC) #9
Yoav Weiss
Jochen, care to take a look?
5 years, 2 months ago (2015-10-17 10:12:41 UTC) #11
jochen (gone - plz use gerrit)
lgtm https://codereview.chromium.org/1392213002/diff/60001/content/test/data/resource_loading/resource_loading_non_mobile.html File content/test/data/resource_loading/resource_loading_non_mobile.html (right): https://codereview.chromium.org/1392213002/diff/60001/content/test/data/resource_loading/resource_loading_non_mobile.html#newcode1 content/test/data/resource_loading/resource_loading_non_mobile.html:1: <html> please add <!DOCTYPE html>
5 years, 2 months ago (2015-10-20 09:48:04 UTC) #12
Yoav Weiss
On 2015/10/20 09:48:04, jochen wrote: > lgtm Thanks for reviewing! > > https://codereview.chromium.org/1392213002/diff/60001/content/test/data/resource_loading/resource_loading_non_mobile.html > File ...
5 years, 2 months ago (2015-10-20 10:16:01 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1392213002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1392213002/80001
5 years, 2 months ago (2015-10-20 10:16:41 UTC) #15
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-10-20 11:58:24 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1392213002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1392213002/80001
5 years, 2 months ago (2015-10-20 11:58:57 UTC) #20
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 2 months ago (2015-10-20 12:03:29 UTC) #21
commit-bot: I haz the power
5 years, 2 months ago (2015-10-20 12:04:15 UTC) #22
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/a1a508b42224a697a0a621c36bfb55fe2f8bd760
Cr-Commit-Position: refs/heads/master@{#355041}

Powered by Google App Engine
This is Rietveld 408576698