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

Issue 177793003: Chromium plumbing for Screen Orientation API lock/unlock. (Closed)

Created:
6 years, 10 months ago by mlamouri (slow - plz ping)
Modified:
6 years, 9 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@chromium_plumbing_screen_orientation
Visibility:
Public.

Description

Chromium plumbing for Screen Orientation API lock/unlock. This is using ScreenOrientationDispatcherHost to dispatch lock/unlock requests to a ScreenOrientationProvider. This CL does not implement a ScreenOrientationProvider. BUG=162827 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=254148

Patch Set 1 #

Patch Set 2 : with tests #

Total comments: 7

Patch Set 3 : fix IPC messages names #

Total comments: 8

Patch Set 4 : nits #

Patch Set 5 : fix compilation issue #

Unified diffs Side-by-side diffs Delta from patch set Stats (+238 lines, -6 lines) Patch
M content/browser/screen_orientation/screen_orientation_dispatcher_host.h View 1 2 3 2 chunks +18 lines, -4 lines 0 comments Download
M content/browser/screen_orientation/screen_orientation_dispatcher_host.cc View 1 2 3 2 chunks +42 lines, -2 lines 0 comments Download
A content/browser/screen_orientation/screen_orientation_dispatcher_host_unittest.cc View 1 2 3 4 1 chunk +129 lines, -0 lines 0 comments Download
A content/browser/screen_orientation/screen_orientation_provider.h View 1 2 3 1 chunk +25 lines, -0 lines 0 comments Download
M content/common/screen_orientation_messages.h View 1 2 2 chunks +10 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/renderer_webkitplatformsupport_impl.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/renderer_webkitplatformsupport_impl.cc View 1 2 3 2 chunks +10 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
mlamouri (slow - plz ping)
cdn@chromium.org: Please review changes in - content/common/screen_orientation_messages.h jochen@chromium.org: Please review changes in - everything else
6 years, 10 months ago (2014-02-24 16:50:05 UTC) #1
Cris Neckar
https://codereview.chromium.org/177793003/diff/30001/content/browser/screen_orientation/screen_orientation_dispatcher_host.cc File content/browser/screen_orientation/screen_orientation_dispatcher_host.cc (right): https://codereview.chromium.org/177793003/diff/30001/content/browser/screen_orientation/screen_orientation_dispatcher_host.cc#newcode28 content/browser/screen_orientation/screen_orientation_dispatcher_host.cc:28: IPC_MESSAGE_HANDLER(ScreenOrientationMsg_Unlock, OnUnlockRequest) Currently sending these messages will result in ...
6 years, 10 months ago (2014-02-24 21:02:27 UTC) #2
mlamouri (slow - plz ping)
https://codereview.chromium.org/177793003/diff/30001/content/browser/screen_orientation/screen_orientation_dispatcher_host.cc File content/browser/screen_orientation/screen_orientation_dispatcher_host.cc (right): https://codereview.chromium.org/177793003/diff/30001/content/browser/screen_orientation/screen_orientation_dispatcher_host.cc#newcode28 content/browser/screen_orientation/screen_orientation_dispatcher_host.cc:28: IPC_MESSAGE_HANDLER(ScreenOrientationMsg_Unlock, OnUnlockRequest) On 2014/02/24 21:02:28, Cris Neckar wrote: > ...
6 years, 10 months ago (2014-02-24 21:47:50 UTC) #3
Cris Neckar
https://codereview.chromium.org/177793003/diff/30001/content/browser/screen_orientation/screen_orientation_dispatcher_host.cc File content/browser/screen_orientation/screen_orientation_dispatcher_host.cc (right): https://codereview.chromium.org/177793003/diff/30001/content/browser/screen_orientation/screen_orientation_dispatcher_host.cc#newcode28 content/browser/screen_orientation/screen_orientation_dispatcher_host.cc:28: IPC_MESSAGE_HANDLER(ScreenOrientationMsg_Unlock, OnUnlockRequest) On 2014/02/24 21:47:50, Mounir Lamouri wrote: > ...
6 years, 10 months ago (2014-02-24 22:00:03 UTC) #4
Cris Neckar
On 2014/02/24 22:00:03, Cris Neckar wrote: > https://codereview.chromium.org/177793003/diff/30001/content/browser/screen_orientation/screen_orientation_dispatcher_host.cc > File content/browser/screen_orientation/screen_orientation_dispatcher_host.cc > (right): > > ...
6 years, 10 months ago (2014-02-24 22:00:17 UTC) #5
mlamouri (slow - plz ping)
On 2014/02/24 22:00:17, Cris Neckar wrote: > IPC changes lgtm Thanks. I will add you ...
6 years, 10 months ago (2014-02-24 22:02:56 UTC) #6
jochen (gone - plz use gerrit)
https://codereview.chromium.org/177793003/diff/80001/content/browser/screen_orientation/screen_orientation_dispatcher_host.h File content/browser/screen_orientation/screen_orientation_dispatcher_host.h (right): https://codereview.chromium.org/177793003/diff/80001/content/browser/screen_orientation/screen_orientation_dispatcher_host.h#newcode38 content/browser/screen_orientation/screen_orientation_dispatcher_host.h:38: scoped_ptr<ScreenOrientationProvider> provider_; with this design, you will have one ...
6 years, 10 months ago (2014-02-25 16:23:06 UTC) #7
mlamouri (slow - plz ping)
The CL this CL was based on got reverted so I will keep this CL ...
6 years, 10 months ago (2014-02-26 11:48:55 UTC) #8
mlamouri (slow - plz ping)
https://codereview.chromium.org/177793003/diff/80001/content/browser/screen_orientation/screen_orientation_dispatcher_host.h File content/browser/screen_orientation/screen_orientation_dispatcher_host.h (right): https://codereview.chromium.org/177793003/diff/80001/content/browser/screen_orientation/screen_orientation_dispatcher_host.h#newcode38 content/browser/screen_orientation/screen_orientation_dispatcher_host.h:38: scoped_ptr<ScreenOrientationProvider> provider_; On 2014/02/25 16:23:06, jochen (OOO from March ...
6 years, 9 months ago (2014-02-28 11:53:30 UTC) #9
mlamouri (slow - plz ping)
jochen@, this patch is rebased on TOT and contains all the review comments. Hopefully, we ...
6 years, 9 months ago (2014-02-28 11:55:57 UTC) #10
jochen (gone - plz use gerrit)
lgtm
6 years, 9 months ago (2014-02-28 12:05:00 UTC) #11
mlamouri (slow - plz ping)
The CQ bit was checked by mlamouri@chromium.org
6 years, 9 months ago (2014-02-28 12:29:09 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mlamouri@chromium.org/177793003/120001
6 years, 9 months ago (2014-02-28 12:29:20 UTC) #13
commit-bot: I haz the power
6 years, 9 months ago (2014-02-28 16:24:24 UTC) #14
Message was sent while issue was closed.
Change committed as 254148

Powered by Google App Engine
This is Rietveld 408576698