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

Issue 870933002: Make it possible to set the display mode from the WebView API (Closed)

Created:
5 years, 11 months ago by kenneth.r.christiansen
Modified:
5 years, 11 months ago
Reviewers:
Yoav Weiss, Mike West
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, dglazkov+blink, ed+blinkwatch_opera.com, rwlbuis
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Make it possible to set the display mode from the WebView API Added a unit test to make sure it works as advertised. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=188960

Patch Set 1 #

Patch Set 2 : Using enum now #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -51 lines) Patch
D Source/core/css/DisplayModeProperties.h View 1 1 chunk +0 lines, -20 lines 0 comments Download
M Source/core/css/MediaQueryEvaluator.cpp View 1 3 chunks +6 lines, -6 lines 0 comments Download
M Source/core/css/MediaQueryEvaluatorTest.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/MediaValues.h View 1 3 chunks +3 lines, -3 lines 0 comments Download
M Source/core/css/MediaValues.cpp View 1 1 chunk +7 lines, -4 lines 0 comments Download
M Source/core/css/MediaValuesCached.h View 1 3 chunks +3 lines, -3 lines 0 comments Download
M Source/core/css/MediaValuesCached.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/MediaValuesDynamic.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/MediaValuesDynamic.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/parser/SizesAttributeParserTest.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/parser/SizesCalcParserTest.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/frame/FrameView.h View 1 3 chunks +6 lines, -0 lines 0 comments Download
M Source/core/frame/FrameView.cpp View 1 2 chunks +7 lines, -0 lines 0 comments Download
M Source/core/frame/Settings.h View 1 2 chunks +1 line, -1 line 0 comments Download
M Source/core/frame/Settings.in View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/testing/InternalSettings.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/testing/InternalSettings.cpp View 1 1 chunk +5 lines, -5 lines 0 comments Download
M Source/web/WebViewImpl.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M Source/web/WebViewImpl.cpp View 1 1 chunk +8 lines, -0 lines 0 comments Download
M Source/web/tests/WebViewTest.cpp View 1 2 chunks +17 lines, -0 lines 0 comments Download
A public/platform/WebDisplayMode.h View 1 1 chunk +20 lines, -0 lines 0 comments Download
M public/web/WebView.h View 1 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (2 generated)
kenneth.r.christiansen
5 years, 11 months ago (2015-01-23 10:29:55 UTC) #2
Mike West
At first glance, this seems like a reasonable approach to do the thing you want ...
5 years, 11 months ago (2015-01-23 11:15:38 UTC) #3
kenneth.r.christiansen
On 2015/01/23 at 11:15:38, mkwst wrote: > At first glance, this seems like a reasonable ...
5 years, 11 months ago (2015-01-23 11:27:59 UTC) #4
kenneth.r.christiansen
So I researched this a bit more, like how the default orientation lock is set ...
5 years, 11 months ago (2015-01-23 13:22:40 UTC) #5
kenneth.r.christiansen
So the way I see this, after digging some more, I can send the display ...
5 years, 11 months ago (2015-01-23 14:45:06 UTC) #6
kenneth.r.christiansen
Another question Mike, It seems that Chromium uses blink enums in the API, so I ...
5 years, 11 months ago (2015-01-23 14:58:21 UTC) #7
Yoav Weiss
LGTM for the core parts. Regarding the web parts, as you said, passing the enum ...
5 years, 11 months ago (2015-01-26 09:24:30 UTC) #8
Mike West
Yes Kenneth's links explained the rationale, thanks. LGTM % the enum work. On 2015/01/23 14:58:21, ...
5 years, 11 months ago (2015-01-26 10:00:15 UTC) #9
kenneth.christiansen
OK, using enum now
5 years, 11 months ago (2015-01-26 14:40:23 UTC) #10
Yoav Weiss
On 2015/01/26 14:40:23, kenneth.christiansen wrote: > OK, using enum now re-LGTM for the core parts
5 years, 11 months ago (2015-01-26 14:44:44 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/870933002/20001
5 years, 11 months ago (2015-01-26 14:57:02 UTC) #13
commit-bot: I haz the power
5 years, 11 months ago (2015-01-26 15:49:35 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=188960

Powered by Google App Engine
This is Rietveld 408576698