|
Added basic client hints support.
This CL adds basic client hints support for the DPR and RW hints.
It also includes an "Accept-CH" based opt-in mechanism.
It does not include:
* A decent Accept-CH parser
* Actual Resource width being sent as the RW header
BUG= 458983
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=190831
Total comments: 5
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+199 lines, -10 lines) |
Patch |
|
A |
LayoutTests/http/tests/misc/client-hints-accept.php
|
View
|
1
2
|
1 chunk |
+29 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/http/tests/misc/client-hints-no-accept.html
|
View
|
1
2
|
1 chunk |
+27 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/http/tests/misc/resources/image-checks-for-dpr.php
|
View
|
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/http/tests/misc/resources/image-checks-for-rw.php
|
View
|
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/fetch/ImageResource.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/fetch/Resource.cpp
|
View
|
1
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/fetch/ResourceFetcher.h
|
View
|
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/core/fetch/ResourceFetcher.cpp
|
View
|
|
3 chunks |
+15 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/fetch/ResourceFetcherTest.cpp
|
View
|
1
|
8 chunks |
+75 lines, -7 lines |
0 comments
|
Download
|
|
M |
Source/core/frame/FrameView.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/frame/FrameView.cpp
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/frame/LocalFrame.h
|
View
|
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/frame/LocalFrame.cpp
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/platform/RuntimeEnabledFeatures.in
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 20 (3 generated)
|