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

Issue 2578503002: [DeviceService] Mojofy left screen orientation IPC messages. (Closed)

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

Description

[DeviceService] Mojofy left screen orientation IPC messages. This CL converts following IPCs into mojo interface: ScreenOrientationHostMsg_StartListening ScreenOrientationHostMsg_StopListening BUG=612339 TBR=kinuko@chromium.org Committed: https://crrev.com/bd4620dd0a74a6af494b51983903cb09e9aa75cb Cr-Commit-Position: refs/heads/master@{#440003}

Patch Set 1 #

Patch Set 2 #

Total comments: 11

Patch Set 3 : Address comments from mlamouri@ #

Total comments: 8

Patch Set 4 : Address nits from blundell@ #

Messages

Total messages: 42 (24 generated)
leonhsl(Using Gerrit)
Hi, would you PTAL at this? Thanks! I'd like to land this CL firstly before ...
4 years ago (2016-12-14 11:45:01 UTC) #4
mlamouri (slow - plz ping)
https://codereview.chromium.org/2578503002/diff/20001/content/browser/screen_orientation/screen_orientation_message_filter_android.cc File content/browser/screen_orientation/screen_orientation_message_filter_android.cc (right): https://codereview.chromium.org/2578503002/diff/20001/content/browser/screen_orientation/screen_orientation_message_filter_android.cc#newcode22 content/browser/screen_orientation/screen_orientation_message_filter_android.cc:22: DCHECK_CURRENTLY_ON(content::BrowserThread::IO); Is there a requirement for the class to ...
4 years ago (2016-12-15 10:30:57 UTC) #11
blundell
I'm wondering if we really need these as separate IPCs rather than implementation details of ...
4 years ago (2016-12-15 18:36:55 UTC) #12
leonhsl(Using Gerrit)
https://codereview.chromium.org/2578503002/diff/20001/content/browser/screen_orientation/screen_orientation_message_filter_android.cc File content/browser/screen_orientation/screen_orientation_message_filter_android.cc (right): https://codereview.chromium.org/2578503002/diff/20001/content/browser/screen_orientation/screen_orientation_message_filter_android.cc#newcode22 content/browser/screen_orientation/screen_orientation_message_filter_android.cc:22: DCHECK_CURRENTLY_ON(content::BrowserThread::IO); On 2016/12/15 10:30:56, mlamouri wrote: > Is there ...
4 years ago (2016-12-16 03:12:00 UTC) #13
leonhsl(Using Gerrit)
On 2016/12/15 18:36:55, blundell wrote: > I'm wondering if we really need these as separate ...
4 years ago (2016-12-16 07:12:03 UTC) #14
blundell
I'm curious if Mounir can detail exactly what the current lifetime between StartListening and StopListening ...
4 years ago (2016-12-16 10:59:14 UTC) #15
leonhsl(Using Gerrit)
Friendly ping Mounir for above discussion, Thanks. https://codereview.chromium.org/2578503002/diff/20001/device/screen_orientation/public/interfaces/screen_orientation.mojom File device/screen_orientation/public/interfaces/screen_orientation.mojom (right): https://codereview.chromium.org/2578503002/diff/20001/device/screen_orientation/public/interfaces/screen_orientation.mojom#newcode15 device/screen_orientation/public/interfaces/screen_orientation.mojom:15: interface ScreenOrientationAccurate ...
4 years ago (2016-12-19 09:41:22 UTC) #18
mlamouri (slow - plz ping)
To answer blundell@ question, the accurate listening happens when `screen.orientation` object is created which is ...
4 years ago (2016-12-19 13:25:54 UTC) #21
blundell
Hi Mounir, Thanks, I understand now. BrowserAssociatedInterface is the canonical way to have FIFO ordering ...
4 years ago (2016-12-19 14:18:22 UTC) #22
leonhsl(Using Gerrit)
On 2016/12/19 14:18:22, blundell wrote: > Hi Mounir, > > Thanks, I understand now. > ...
4 years ago (2016-12-20 01:18:12 UTC) #23
mlamouri (slow - plz ping)
Thanks for the explanations :) lgtm
4 years ago (2016-12-20 10:03:33 UTC) #24
leonhsl(Using Gerrit)
Hi, Tom, would you PTAL for OWNER review of mojom/message files? Thanks. Hi, Colin, do ...
4 years ago (2016-12-20 12:52:21 UTC) #26
blundell
lgtm, just cosmetic nits. Thanks! https://codereview.chromium.org/2578503002/diff/40001/content/browser/screen_orientation/screen_orientation_message_filter_android.cc File content/browser/screen_orientation/screen_orientation_message_filter_android.cc (right): https://codereview.chromium.org/2578503002/diff/40001/content/browser/screen_orientation/screen_orientation_message_filter_android.cc#newcode22 content/browser/screen_orientation/screen_orientation_message_filter_android.cc:22: DCHECK_CURRENTLY_ON(content::BrowserThread::IO); Let's use a ...
4 years ago (2016-12-20 13:39:18 UTC) #27
Tom Sepez
mojom LGTM
4 years ago (2016-12-20 17:10:51 UTC) #28
leonhsl(Using Gerrit)
Uploaded ps#4 to address nits from Colin, almost are naming changes, so I want to ...
4 years ago (2016-12-21 02:48:37 UTC) #33
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/2578503002/80001
4 years ago (2016-12-21 02:50:46 UTC) #37
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years ago (2016-12-21 03:46:27 UTC) #40
commit-bot: I haz the power
4 years ago (2016-12-21 03:48:14 UTC) #42
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/bd4620dd0a74a6af494b51983903cb09e9aa75cb
Cr-Commit-Position: refs/heads/master@{#440003}

Powered by Google App Engine
This is Rietveld 408576698