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

Issue 560653002: Remove GamePad runtime flag(status=stable) (Closed)

Created:
6 years, 3 months ago by zhaoze.zhou
Modified:
6 years, 3 months ago
CC:
blink-reviews, jamesr, dglazkov+blink, abarth-chromium
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Remove GamePad runtime flag(status=stable) BUG=402536

Patch Set 1 #

Total comments: 3

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -14 lines) Patch
M Source/modules/gamepad/NavigatorGamepad.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/gamepad/NavigatorGamepad.idl View 1 chunk +1 line, -3 lines 0 comments Download
M Source/platform/RuntimeEnabledFeatures.in View 1 chunk +0 lines, -1 line 0 comments Download
M Source/web/FrameLoaderClientImpl.cpp View 1 1 chunk +1 line, -2 lines 0 comments Download
M Source/web/WebRuntimeFeatures.cpp View 1 chunk +0 lines, -5 lines 0 comments Download
M public/web/WebRuntimeFeatures.h View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 18 (6 generated)
rwlbuis
Looks ok, one concern below. https://codereview.chromium.org/560653002/diff/1/Source/web/FrameLoaderClientImpl.cpp File Source/web/FrameLoaderClientImpl.cpp (left): https://codereview.chromium.org/560653002/diff/1/Source/web/FrameLoaderClientImpl.cpp#oldcode122 Source/web/FrameLoaderClientImpl.cpp:122: NavigatorGamepad::from(*document); NavigatorGamepad::from(*document); should be ...
6 years, 3 months ago (2014-09-09 23:50:18 UTC) #2
zhaoze.zhou
https://codereview.chromium.org/560653002/diff/1/Source/web/FrameLoaderClientImpl.cpp File Source/web/FrameLoaderClientImpl.cpp (right): https://codereview.chromium.org/560653002/diff/1/Source/web/FrameLoaderClientImpl.cpp#newcode120 Source/web/FrameLoaderClientImpl.cpp:120: DeviceLightController::from(*document); On 2014/09/09 23:50:18, rwlbuis wrote: > NavigatorGamepad::from(*document) call ...
6 years, 3 months ago (2014-09-10 12:54:30 UTC) #3
rwlbuis
Looks ok. Please update the changelog though, instead of repeating the CL title 2 times ...
6 years, 3 months ago (2014-09-10 14:29:53 UTC) #4
kbalazs
Looks good module please clean up the description. Brandon? Do you agree this is stable ...
6 years, 3 months ago (2014-09-10 22:24:25 UTC) #7
bajones
On 2014/09/10 at 22:24:25, b.kelemen wrote: > Looks good module please clean up the description. ...
6 years, 3 months ago (2014-09-10 22:26:53 UTC) #8
zhaoze.zhou
eseidel@chromium.org: abarth@chromium.org: Please take a look, thanks.
6 years, 3 months ago (2014-09-10 22:43:54 UTC) #10
kbalazs
Source/modules/gamepad lgtm
6 years, 3 months ago (2014-09-10 23:09:55 UTC) #11
eseidel
lgtm
6 years, 3 months ago (2014-09-10 23:38:29 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/560653002/20001
6 years, 3 months ago (2014-09-10 23:39:30 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: android_blink_compile_dbg on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/android_blink_compile_dbg/builds/12378) android_blink_compile_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/android_blink_compile_rel/builds/12392) android_chromium_gn_compile_rel ...
6 years, 3 months ago (2014-09-10 23:56:59 UTC) #16
zhaoze.zhou
On 2014/09/10 23:56:59, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years, 3 months ago (2014-09-12 17:34:52 UTC) #17
kbalazs
6 years, 3 months ago (2014-09-12 17:40:07 UTC) #18
Message was sent while issue was closed.
On 2014/09/12 17:34:52, zhaoze.zhou wrote:
> On 2014/09/10 23:56:59, I haz the power (commit-bot) wrote:
> > Try jobs failed on following builders:
> >   android_blink_compile_dbg on tryserver.blink
> >
>
(http://build.chromium.org/p/tryserver.blink/builders/android_blink_compile_db...)
> >   android_blink_compile_rel on tryserver.blink
> >
>
(http://build.chromium.org/p/tryserver.blink/builders/android_blink_compile_re...)
> >   android_chromium_gn_compile_rel on tryserver.blink
> >
>
(http://build.chromium.org/p/tryserver.blink/builders/android_chromium_gn_comp...)
> 
> Close this cl, because for android, it must use the API

A bit more context. As the implementation requires Jelly Bean or beyond, we
cannot enable it unconditionally. And having a flag for it is still the most
straightforward way to communicate it to Blink which needs to take care of and
prevent exposing the js API. So we actually need the flag. Maybe it would make
sense to just add a comment in RuntimeFeatures.in about why this stable flag
need to be kept.

Powered by Google App Engine
This is Rietveld 408576698