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

Issue 1883493003: [OnionSoup] Moving WakeLock Service to Blink (2/2): removing WebWakeLockClient and WakeLockDispatch… (Closed)

Created:
4 years, 8 months ago by mcasas
Modified:
4 years, 8 months ago
Reviewers:
haraken, esprehn
CC:
abarth-chromium, blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, dglazkov+blink, jam, kinuko+watch, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org, alogvinov
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[OnionSoup] Moving WakeLock Service to Blink (2/2): removing WebWakeLockClient and WakeLockDispatcher This CL is part 2/2 of moving the WakeLockService renderer parts from content/ to WebKit/. The complete transfer can be found in https://crrev.com/1794553002, of which this is the part removing the WebWakeLockClient and its renderer implementation. See bug for more info. This CL removes the files - content/renderer/wake_lock/wake_lock_dispatcher.* - WebKit/Source/platform/wake_lock/WebWakeLockClient.h since that functionality is folded into WebKit/public/platform/modules/wake_lock/ScreenWakeLock.* of which some methods are made private. modified to talk directly to the mojo service impl in browser's render frame host. The WebKit unittests ScreenWakeLockTest.cpp: - is refactored to use a MockServiceRegistry and a mojo MockWakeLockService. - is NOT moved out of web/ because it needs a couple of Test infra located there. This unit test should be made into a (series of) LayoutTests, but that's beyond this CL. BUG=600895 TESTS= in particular: ./out/Debug/webkit_unit_tests --gtest_filter=*ScreenWakeLockTest.* ./out/Debug/content_browsertests --gtest_filter=WakeLockTest.* Committed: https://crrev.com/162ec3044c357459bc0c572b210f4afe0a731018 Cr-Commit-Position: refs/heads/master@{#387786}

Patch Set 1 : #

Patch Set 2 : #

Total comments: 10

Patch Set 3 : esprehn@ comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -162 lines) Patch
M content/content_renderer.gypi View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M content/renderer/render_frame_impl.h View 1 2 3 chunks +0 lines, -4 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 chunks +0 lines, -8 lines 0 comments Download
D content/renderer/wake_lock/wake_lock_dispatcher.h View 1 chunk +0 lines, -31 lines 0 comments Download
D content/renderer/wake_lock/wake_lock_dispatcher.cc View 1 chunk +0 lines, -30 lines 0 comments Download
M third_party/WebKit/Source/modules/BUILD.gn View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/wake_lock/ScreenWakeLock.h View 1 2 2 chunks +15 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/modules/wake_lock/ScreenWakeLock.cpp View 1 2 5 chunks +30 lines, -23 lines 0 comments Download
M third_party/WebKit/Source/platform/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebLocalFrameImpl.cpp View 1 2 2 chunks +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/web/tests/DEPS View 1 1 chunk +1 line, -0 lines 0 comments Download
D third_party/WebKit/Source/web/tests/ScreenWakeLockTest.cpp View 1 6 chunks +51 lines, -24 lines 0 comments Download
D third_party/WebKit/public/platform/modules/wake_lock/WebWakeLockClient.h View 1 chunk +0 lines, -19 lines 0 comments Download
M third_party/WebKit/public/web/WebFrameClient.h View 2 chunks +0 lines, -5 lines 0 comments Download

Messages

Total messages: 23 (16 generated)
mcasas
esprehn@ PTAL at the general concept. alogvinov@yandex-team.ru: PTAL at the specific changes in ScreenWakeLock*, and ...
4 years, 8 months ago (2016-04-14 21:50:59 UTC) #9
haraken
Blink-Mojo interaction LGTM
4 years, 8 months ago (2016-04-15 00:16:20 UTC) #10
esprehn
lgtm w/ some nit, you might want to clean up the client terminology and use ...
4 years, 8 months ago (2016-04-15 22:38:13 UTC) #12
mcasas
https://codereview.chromium.org/1883493003/diff/100001/third_party/WebKit/Source/modules/wake_lock/OWNERS File third_party/WebKit/Source/modules/wake_lock/OWNERS (right): https://codereview.chromium.org/1883493003/diff/100001/third_party/WebKit/Source/modules/wake_lock/OWNERS#newcode1 third_party/WebKit/Source/modules/wake_lock/OWNERS:1: alogvinov@yandex-team.ru On 2016/04/15 22:38:13, esprehn wrote: > who is ...
4 years, 8 months ago (2016-04-16 00:34:14 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1883493003/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1883493003/160001
4 years, 8 months ago (2016-04-16 00:36:39 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:160001)
4 years, 8 months ago (2016-04-16 01:53:41 UTC) #21
commit-bot: I haz the power
4 years, 8 months ago (2016-04-16 01:54:57 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/162ec3044c357459bc0c572b210f4afe0a731018
Cr-Commit-Position: refs/heads/master@{#387786}

Powered by Google App Engine
This is Rietveld 408576698