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

Issue 2580693003: Decouple GamepadSharedMemory into Blink.

Created:
4 years ago by ke.he
Modified:
4 years ago
CC:
chromium-reviews, blink-reviews, jam, haraken, darin-cc_chromium.org, mlamouri+watch-content_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Decouple GamepadSharedMemory into Blink. BUG = 612330

Patch Set 1 #

Total comments: 5

Patch Set 2 : add typemapping, non-copyable #

Unified diffs Side-by-side diffs Delta from patch set Stats (+241 lines, -221 lines) Patch
M content/browser/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/BUILD.gn View 2 chunks +0 lines, -3 lines 0 comments Download
D content/renderer/gamepad_shared_memory_reader.h View 1 chunk +0 lines, -58 lines 0 comments Download
D content/renderer/gamepad_shared_memory_reader.cc View 1 chunk +0 lines, -135 lines 0 comments Download
M content/renderer/renderer_blink_platform_impl.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/renderer_blink_platform_impl.cc View 5 chunks +0 lines, -16 lines 0 comments Download
M device/gamepad/public/interfaces/gamepad.typemap View 1 1 chunk +6 lines, -6 lines 0 comments Download
M mojo/public/tools/bindings/blink_bindings_configuration.gni View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/gamepad/BUILD.gn View 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/gamepad/DEPS View 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/gamepad/GamepadDispatcher.h View 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/gamepad/GamepadDispatcher.cpp View 2 chunks +9 lines, -2 lines 0 comments Download
A third_party/WebKit/Source/modules/gamepad/GamepadSharedMemoryReader.h View 1 1 chunk +58 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/gamepad/GamepadSharedMemoryReader.cpp View 1 1 chunk +154 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
ke.he
Hi, Colin, This is only a draft patch. In order to pass the presubmit, I ...
4 years ago (2016-12-15 14:11:01 UTC) #2
ke.he
https://codereview.chromium.org/2580693003/diff/1/content/renderer/renderer_blink_platform_impl.cc File content/renderer/renderer_blink_platform_impl.cc (left): https://codereview.chromium.org/2580693003/diff/1/content/renderer/renderer_blink_platform_impl.cc#oldcode1197 content/renderer/renderer_blink_platform_impl.cc:1197: void RendererBlinkPlatformImpl::SetPlatformEventObserverForTesting( called by https://cs.chromium.org/chromium/src/content/test/layouttest_support.cc?rcl=1481775657&l=266 for layout test purpose.
4 years ago (2016-12-15 14:14:43 UTC) #3
ke.he
https://codereview.chromium.org/2580693003/diff/1/content/renderer/renderer_blink_platform_impl.cc File content/renderer/renderer_blink_platform_impl.cc (left): https://codereview.chromium.org/2580693003/diff/1/content/renderer/renderer_blink_platform_impl.cc#oldcode813 content/renderer/renderer_blink_platform_impl.cc:813: void RendererBlinkPlatformImpl::sampleGamepads(WebGamepads& gamepads) { Before decoupling, sampleGamepads() is defined ...
4 years ago (2016-12-15 14:35:56 UTC) #4
blundell
Hi Ke He, Apologies, I wasn't able to get to this today. I'll look at ...
4 years ago (2016-12-15 18:44:37 UTC) #5
ke.he
4 years ago (2016-12-16 03:30:03 UTC) #7
Hi, Colin, Sorry it is a very draft submit that many things are in "TODO"
status. It is the Layout-test which really blocks me.

Thanks:)

Powered by Google App Engine
This is Rietveld 408576698