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

Issue 2745443002: [Device Service] Port ScreenOrientationListener into Device Service. (Closed)

Created:
3 years, 9 months ago by leonhsl(Using Gerrit)
Modified:
3 years, 9 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, mlamouri+watch-screen-orientation_chromium.org, nasko+codewatch_chromium.org, jam, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin-cc_chromium.org, agrieve+watch_chromium.org, darin (slow to review)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Device Service] Port ScreenOrientationListener into Device Service. ScreenOrientationListener interface does not require ordering with ScreenOrientation, so we can simply decouple it from //content to let it being hosted in Device Service. BUG=678545 TBR=sky@chromium.org Review-Url: https://codereview.chromium.org/2745443002 Cr-Commit-Position: refs/heads/master@{#457021} Committed: https://chromium.googlesource.com/chromium/src/+/bb3acfe64e6fe8405bda628b059567e0ca3f451e

Patch Set 1 #

Patch Set 2 : Add DEPS #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+239 lines, -151 lines) Patch
M content/browser/BUILD.gn View 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M content/browser/screen_orientation/screen_orientation_delegate_android.h View 1 chunk +0 lines, -10 lines 0 comments Download
M content/browser/screen_orientation/screen_orientation_delegate_android.cc View 1 chunk +0 lines, -12 lines 0 comments Download
D content/browser/screen_orientation/screen_orientation_listener_android.h View 1 chunk +0 lines, -40 lines 0 comments Download
D content/browser/screen_orientation/screen_orientation_listener_android.cc View 1 chunk +0 lines, -46 lines 0 comments Download
M content/browser/service_manager/service_manager_context.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/common/screen_orientation_messages.h View 1 chunk +0 lines, -2 lines 4 comments Download
M content/public/android/java/src/org/chromium/content/browser/ScreenOrientationProvider.java View 2 chunks +0 lines, -21 lines 0 comments Download
M content/public/app/mojo/content_renderer_manifest.json View 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/screen_orientation/screen_orientation_observer.h View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/screen_orientation/screen_orientation_observer.cc View 2 chunks +7 lines, -2 lines 0 comments Download
M ipc/ipc_message_start.h View 1 chunk +0 lines, -1 line 0 comments Download
M services/device/BUILD.gn View 2 chunks +6 lines, -1 line 0 comments Download
M services/device/device_service.h View 2 chunks +18 lines, -5 lines 0 comments Download
M services/device/device_service.cc View 5 chunks +24 lines, -5 lines 0 comments Download
M services/device/manifest.json View 1 chunk +1 line, -0 lines 2 comments Download
A services/device/screen_orientation/BUILD.gn View 1 chunk +41 lines, -0 lines 0 comments Download
A services/device/screen_orientation/DEPS View 1 chunk +4 lines, -0 lines 0 comments Download
A services/device/screen_orientation/OWNERS View 1 chunk +2 lines, -0 lines 0 comments Download
A services/device/screen_orientation/android/java/DEPS View 1 1 chunk +3 lines, -0 lines 0 comments Download
A services/device/screen_orientation/android/java/src/org/chromium/device/screen_orientation/ScreenOrientationListener.java View 1 chunk +36 lines, -0 lines 0 comments Download
A services/device/screen_orientation/screen_orientation_listener_android.h View 1 chunk +34 lines, -0 lines 0 comments Download
A services/device/screen_orientation/screen_orientation_listener_android.cc View 1 chunk +58 lines, -0 lines 1 comment Download

Messages

Total messages: 44 (27 generated)
leonhsl(Using Gerrit)
PTAL, thanks! A follow-up CL will remove //content/renderer/screen_orientation/screen_orientation_observer.* and let Blink consume ScreenOrientationListener directly. https://codereview.chromium.org/2745443002/diff/20001/services/device/screen_orientation/screen_orientation_listener_android.cc ...
3 years, 9 months ago (2017-03-09 08:22:31 UTC) #18
blundell
nice! lgtm, thanks https://codereview.chromium.org/2745443002/diff/20001/content/common/screen_orientation_messages.h File content/common/screen_orientation_messages.h (left): https://codereview.chromium.org/2745443002/diff/20001/content/common/screen_orientation_messages.h#oldcode16 content/common/screen_orientation_messages.h:16: #define IPC_MESSAGE_START ScreenOrientationMsgStart This bugfix is ...
3 years, 9 months ago (2017-03-09 16:48:20 UTC) #19
leonhsl(Using Gerrit)
https://codereview.chromium.org/2745443002/diff/20001/content/common/screen_orientation_messages.h File content/common/screen_orientation_messages.h (left): https://codereview.chromium.org/2745443002/diff/20001/content/common/screen_orientation_messages.h#oldcode16 content/common/screen_orientation_messages.h:16: #define IPC_MESSAGE_START ScreenOrientationMsgStart On 2017/03/09 16:48:20, blundell (OOO until ...
3 years, 9 months ago (2017-03-10 02:43:06 UTC) #20
leonhsl(Using Gerrit)
Ping Mounir, Thanks~
3 years, 9 months ago (2017-03-13 02:53:52 UTC) #21
leonhsl(Using Gerrit)
+kinuko@ and tsepez@, would you please take an OWNER review for this? Thanks! As Colin ...
3 years, 9 months ago (2017-03-14 03:22:33 UTC) #23
kinuko
On 2017/03/14 03:22:33, leonhsl wrote: > +kinuko@ and tsepez@, would you please take an OWNER ...
3 years, 9 months ago (2017-03-14 04:22:25 UTC) #24
Tom Sepez
LGTM otherwise. https://codereview.chromium.org/2745443002/diff/20001/content/common/screen_orientation_messages.h File content/common/screen_orientation_messages.h (right): https://codereview.chromium.org/2745443002/diff/20001/content/common/screen_orientation_messages.h#newcode16 content/common/screen_orientation_messages.h:16: // Only used by content/common/manifest_manager_messages.h. Maybe we ...
3 years, 9 months ago (2017-03-14 16:20:15 UTC) #25
leonhsl(Using Gerrit)
Thanks all! Will send to CQ now. https://codereview.chromium.org/2745443002/diff/20001/content/common/screen_orientation_messages.h File content/common/screen_orientation_messages.h (right): https://codereview.chromium.org/2745443002/diff/20001/content/common/screen_orientation_messages.h#newcode16 content/common/screen_orientation_messages.h:16: // Only ...
3 years, 9 months ago (2017-03-15 02:07:34 UTC) #26
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/2745443002/20001
3 years, 9 months ago (2017-03-15 02:08:11 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/385711)
3 years, 9 months ago (2017-03-15 02:16:39 UTC) #30
leonhsl(Using Gerrit)
Let me TBR sky@ for adding DEPS, Thanks! services/device/screen_orientation/DEPS --> Depends on mojo/public/cpp/bindings services/device/screen_orientation/android/java/DEPS --> ...
3 years, 9 months ago (2017-03-15 02:37:45 UTC) #31
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/2745443002/20001
3 years, 9 months ago (2017-03-15 02:39:54 UTC) #34
leonhsl(Using Gerrit)
3 years, 9 months ago (2017-03-15 02:41:04 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/250558)
3 years, 9 months ago (2017-03-15 05:17:25 UTC) #38
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/2745443002/20001
3 years, 9 months ago (2017-03-15 05:23:15 UTC) #40
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/bb3acfe64e6fe8405bda628b059567e0ca3f451e
3 years, 9 months ago (2017-03-15 07:12:09 UTC) #43
sky
3 years, 9 months ago (2017-03-15 15:25:24 UTC) #44
Message was sent while issue was closed.
LGTM

Powered by Google App Engine
This is Rietveld 408576698