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

Issue 2523553002: Consolidate how ImageDocument sets image styling (Closed)

Created:
4 years, 1 month ago by gone
Modified:
4 years, 1 month ago
Reviewers:
pdr.
CC:
blink-reviews, blink-reviews-html_chromium.org, chromium-reviews, dglazkov+blink
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Consolidate how ImageDocument sets image styling * Consolidate how the image sets the cursor styling inside of updateImageStyle(), which now checks for whether the cursor or checkerboard size has changed during styling updates. * Fix how the magnifying glass cursor is initialized on desktop versions of the page. BUG=664782 Committed: https://crrev.com/893f3dcf906b25e13e9d4951a52aa30843875ef5 Cr-Commit-Position: refs/heads/master@{#434020}

Patch Set 1 #

Patch Set 2 : DCHECK_EQ #

Total comments: 2

Patch Set 3 : Consolidate #

Total comments: 4

Patch Set 4 : Remove space #

Patch Set 5 : Remove extra enum state #

Patch Set 6 : Rebaseline test expectation #

Patch Set 7 : Rebaseing again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -19 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/ImageDocument.h View 1 2 3 4 1 chunk +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/ImageDocument.cpp View 1 2 3 4 7 chunks +31 lines, -18 lines 0 comments Download

Messages

Total messages: 44 (26 generated)
gone
4 years, 1 month ago (2016-11-21 21:32:35 UTC) #3
pdr.
https://codereview.chromium.org/2523553002/diff/20001/third_party/WebKit/Source/core/html/ImageDocument.cpp File third_party/WebKit/Source/core/html/ImageDocument.cpp (right): https://codereview.chromium.org/2523553002/diff/20001/third_party/WebKit/Source/core/html/ImageDocument.cpp#newcode404 third_party/WebKit/Source/core/html/ImageDocument.cpp:404: imageStyle.append(m_shouldShrinkImage ? "cursor: zoom-in; " I see we're using ...
4 years, 1 month ago (2016-11-21 23:26:48 UTC) #7
gone
https://codereview.chromium.org/2523553002/diff/20001/third_party/WebKit/Source/core/html/ImageDocument.cpp File third_party/WebKit/Source/core/html/ImageDocument.cpp (right): https://codereview.chromium.org/2523553002/diff/20001/third_party/WebKit/Source/core/html/ImageDocument.cpp#newcode404 third_party/WebKit/Source/core/html/ImageDocument.cpp:404: imageStyle.append(m_shouldShrinkImage ? "cursor: zoom-in; " On 2016/11/21 23:26:47, pdr. ...
4 years, 1 month ago (2016-11-21 23:43:26 UTC) #8
pdr.
On 2016/11/21 at 23:43:26, dfalcantara wrote: > https://codereview.chromium.org/2523553002/diff/20001/third_party/WebKit/Source/core/html/ImageDocument.cpp > File third_party/WebKit/Source/core/html/ImageDocument.cpp (right): > > https://codereview.chromium.org/2523553002/diff/20001/third_party/WebKit/Source/core/html/ImageDocument.cpp#newcode404 ...
4 years, 1 month ago (2016-11-22 00:38:21 UTC) #9
gone
What do you think about this approach? I was trying to keep it small to ...
4 years, 1 month ago (2016-11-22 01:42:11 UTC) #11
pdr.
Looks great! Because we're not adding tests and plan to merge this, can you run ...
4 years, 1 month ago (2016-11-22 04:15:12 UTC) #14
gone
Everything seems fine on Android and Linux using the old test cases during loading and ...
4 years, 1 month ago (2016-11-22 18:51:29 UTC) #17
pdr.
On 2016/11/22 at 18:51:29, dfalcantara wrote: > Everything seems fine on Android and Linux using ...
4 years, 1 month ago (2016-11-22 19:23:30 UTC) #18
gone
On 2016/11/22 19:23:30, pdr. wrote: > On 2016/11/22 at 18:51:29, dfalcantara wrote: > > Everything ...
4 years, 1 month ago (2016-11-22 19:36:00 UTC) #19
pdr.
On 2016/11/22 at 19:36:00, dfalcantara wrote: > Chrome ate my previous response Arg, hate when ...
4 years, 1 month ago (2016-11-22 19:38:21 UTC) #20
Ken Russell (switch to Gerrit)
Bret, Elliott: could you both help review this as well? Philip asked me but I ...
4 years, 1 month ago (2016-11-22 21:12:04 UTC) #26
Ken Russell (switch to Gerrit)
Actually, Philip pointed out this was the wrong review. Never mind.
4 years, 1 month ago (2016-11-22 21:12:52 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2523553002/80001
4 years, 1 month ago (2016-11-22 21:14:05 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2523553002/100001
4 years, 1 month ago (2016-11-22 22:03:04 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: blimp_linux_dbg on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/blimp_linux_dbg/builds/37554) cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, ...
4 years, 1 month ago (2016-11-22 22:07:04 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2523553002/120001
4 years, 1 month ago (2016-11-22 22:08:59 UTC) #39
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 1 month ago (2016-11-22 23:34:23 UTC) #42
commit-bot: I haz the power
4 years, 1 month ago (2016-11-22 23:36:02 UTC) #44
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/893f3dcf906b25e13e9d4951a52aa30843875ef5
Cr-Commit-Position: refs/heads/master@{#434020}

Powered by Google App Engine
This is Rietveld 408576698