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

Issue 150153004: [WIP] Add Chromium-side support for the Screen Orientation API (Closed)

Created:
6 years, 10 months ago by ostap
Modified:
6 years, 10 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Base URL:
https://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

[WIP] Add Chromium-side support for the Screen Orientation API Add initial Chromium-side support for the Screen Orientation API: https://dvcs.w3.org/hg/screen-orientation/raw-file/tip/Overview.html Dependeds on blink-side implementation: https://codereview.chromium.org/132113006/ BUG=162827

Patch Set 1 #

Total comments: 16

Patch Set 2 : Updated by review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+348 lines, -0 lines) Patch
M content/browser/android/browser_jni_registrar.cc View 1 2 chunks +3 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 2 chunks +2 lines, -0 lines 0 comments Download
A content/browser/screen_orientation/screen_orientation_dispatcher_host.h View 1 chunk +34 lines, -0 lines 0 comments Download
A content/browser/screen_orientation/screen_orientation_dispatcher_host.cc View 1 1 chunk +70 lines, -0 lines 0 comments Download
A content/browser/screen_orientation/screen_orientation_provider_android.h View 1 chunk +30 lines, -0 lines 0 comments Download
A content/browser/screen_orientation/screen_orientation_provider_android.cc View 1 chunk +59 lines, -0 lines 0 comments Download
M content/common/view_messages.h View 1 1 chunk +9 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 2 chunks +5 lines, -0 lines 0 comments Download
M content/content_jni.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M content/content_renderer.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M content/public/browser/content_browser_client.h View 2 chunks +9 lines, -0 lines 0 comments Download
M content/public/browser/content_browser_client.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.h View 3 chunks +4 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.cc View 3 chunks +10 lines, -0 lines 0 comments Download
A content/renderer/screen_orientation_dispatcher.h View 1 chunk +38 lines, -0 lines 0 comments Download
A content/renderer/screen_orientation_dispatcher.cc View 1 chunk +67 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
ostap
6 years, 10 months ago (2014-02-06 08:58:54 UTC) #1
kenneth.r.christiansen
https://codereview.chromium.org/150153004/diff/1/content/browser/android/browser_jni_registrar.cc File content/browser/android/browser_jni_registrar.cc (right): https://codereview.chromium.org/150153004/diff/1/content/browser/android/browser_jni_registrar.cc#newcode78 content/browser/android/browser_jni_registrar.cc:78: {"ScreenOrientaionProvider", Spelling error https://codereview.chromium.org/150153004/diff/1/content/browser/screen_orientation/screen_orientation_dispatcher_host.cc File content/browser/screen_orientation/screen_orientation_dispatcher_host.cc (right): https://codereview.chromium.org/150153004/diff/1/content/browser/screen_orientation/screen_orientation_dispatcher_host.cc#newcode40 content/browser/screen_orientation/screen_orientation_dispatcher_host.cc:40: ...
6 years, 10 months ago (2014-02-06 15:03:12 UTC) #2
ostap
Hi Kenneth! Thanks for review! https://codereview.chromium.org/150153004/diff/1/content/browser/android/browser_jni_registrar.cc File content/browser/android/browser_jni_registrar.cc (right): https://codereview.chromium.org/150153004/diff/1/content/browser/android/browser_jni_registrar.cc#newcode78 content/browser/android/browser_jni_registrar.cc:78: {"ScreenOrientaionProvider", On 2014/02/06 15:03:12, ...
6 years, 10 months ago (2014-02-06 21:23:27 UTC) #3
kenneth.r.christiansen
> https://codereview.chromium.org/150153004/diff/1/content/browser/screen_orientation/screen_orientation_dispatcher_host.h > File content/browser/screen_orientation/screen_orientation_dispatcher_host.h > (right): > > https://codereview.chromium.org/150153004/diff/1/content/browser/screen_orientation/screen_orientation_dispatcher_host.h#newcode22 > content/browser/screen_orientation/screen_orientation_dispatcher_host.h:22: void > OnLockOrientation(unsigned ...
6 years, 10 months ago (2014-02-07 08:53:02 UTC) #4
mlamouri (slow - plz ping)
6 years, 10 months ago (2014-02-20 16:54:57 UTC) #5
As discussed offline, I have been working on an updated plumbing following the
current status of the Screen Orientation API implementation in Blink.

The CL is https://codereview.chromium.org/164913004/

I think we should close this issue.

Powered by Google App Engine
This is Rietveld 408576698