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

Issue 398013002: Poll for Display rotation on Android 4.0 and 4.1 when needed. (Closed)

Created:
6 years, 5 months ago by mlamouri (slow - plz ping)
Modified:
6 years, 4 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, Chris Evans
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Poll for Display rotation on Android 4.0 and 4.1 when needed. In this context, when needed means when Screen Orientation API is being used. BUG=400158 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=288243

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 11

Patch Set 4 : jam review comments #

Total comments: 4

Patch Set 5 : michael's review comments #

Total comments: 2

Patch Set 6 : rebase on top of 417213002, 419643008 and 421293010 #

Patch Set 7 : call ScreenOrientationListener on UI thread #

Messages

Total messages: 21 (0 generated)
mlamouri (slow - plz ping)
Depends on https://codereview.chromium.org/398003002/
6 years, 5 months ago (2014-07-16 16:57:38 UTC) #1
mlamouri (slow - plz ping)
cevans@chromium.org: please review changes in * content/common/screen_orientation_messages.h jam@chromium.org: please review changes in * content/renderer/ * ...
6 years, 5 months ago (2014-07-16 17:00:37 UTC) #2
jam
lgtm with comments https://codereview.chromium.org/398013002/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/398013002/diff/40001/content/browser/screen_orientation/screen_orientation_message_filter_android.cc#newcode19 content/browser/screen_orientation/screen_orientation_message_filter_android.cc:19: { nit: on previous line per ...
6 years, 5 months ago (2014-07-16 21:29:14 UTC) #3
mlamouri (slow - plz ping)
Chris and Michael, PTAL. https://codereview.chromium.org/398013002/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/398013002/diff/40001/content/browser/screen_orientation/screen_orientation_message_filter_android.cc#newcode19 content/browser/screen_orientation/screen_orientation_message_filter_android.cc:19: { On 2014/07/16 21:29:14, jam ...
6 years, 5 months ago (2014-07-17 09:44:16 UTC) #4
Michael van Ouwerkerk
https://codereview.chromium.org/398013002/diff/60001/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/398013002/diff/60001/content/browser/screen_orientation/screen_orientation_message_filter_android.cc#newcode42 content/browser/screen_orientation/screen_orientation_message_filter_android.cc:42: if (listeners_count_ == 0) I think there's a bug ...
6 years, 5 months ago (2014-07-17 10:35:03 UTC) #5
mlamouri (slow - plz ping)
https://codereview.chromium.org/398013002/diff/60001/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/398013002/diff/60001/content/browser/screen_orientation/screen_orientation_message_filter_android.cc#newcode42 content/browser/screen_orientation/screen_orientation_message_filter_android.cc:42: if (listeners_count_ == 0) On 2014/07/17 10:35:02, Michael van ...
6 years, 5 months ago (2014-07-17 12:46:09 UTC) #6
mlamouri (slow - plz ping)
PTAL
6 years, 5 months ago (2014-07-17 13:50:20 UTC) #7
jam
https://codereview.chromium.org/398013002/diff/40001/content/renderer/renderer_webkitplatformsupport_impl.cc File content/renderer/renderer_webkitplatformsupport_impl.cc (right): https://codereview.chromium.org/398013002/diff/40001/content/renderer/renderer_webkitplatformsupport_impl.cc#newcode1155 content/renderer/renderer_webkitplatformsupport_impl.cc:1155: //------------------------------------------------------------------------------ On 2014/07/17 09:44:16, Mounir Lamouri wrote: > On ...
6 years, 5 months ago (2014-07-17 17:19:52 UTC) #8
mlamouri (slow - plz ping)
nasko@, can you have a look at the IPC changes?
6 years, 5 months ago (2014-07-21 09:52:04 UTC) #9
nasko
IPC LGTM when the comment is addressed. https://codereview.chromium.org/398013002/diff/80001/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/398013002/diff/80001/content/browser/screen_orientation/screen_orientation_message_filter_android.cc#newcode13 content/browser/screen_orientation/screen_orientation_message_filter_android.cc:13: : BrowserMessageFilter(ScreenOrientationMsgStart) ...
6 years, 5 months ago (2014-07-21 10:00:00 UTC) #10
Michael van Ouwerkerk
lgtm
6 years, 5 months ago (2014-07-21 10:56:51 UTC) #11
mlamouri (slow - plz ping)
I applied all the review comments and rebased the CL on top of cl 417213002 ...
6 years, 4 months ago (2014-08-07 10:44:54 UTC) #12
mlamouri (slow - plz ping)
I forgot to point that it is also rebased on top of 421293010 which isn't ...
6 years, 4 months ago (2014-08-07 10:45:59 UTC) #13
mlamouri (slow - plz ping)
The CQ bit was checked by mlamouri@chromium.org
6 years, 4 months ago (2014-08-07 16:18:02 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mlamouri@chromium.org/398013002/100001
6 years, 4 months ago (2014-08-07 16:19:01 UTC) #15
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-07 20:00:25 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-07 20:25:24 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_triggered_tests on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_triggered_tests/builds/3425)
6 years, 4 months ago (2014-08-07 20:25:30 UTC) #18
mlamouri (slow - plz ping)
The CQ bit was checked by mlamouri@chromium.org
6 years, 4 months ago (2014-08-07 20:42:30 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mlamouri@chromium.org/398013002/120001
6 years, 4 months ago (2014-08-07 20:54:05 UTC) #20
commit-bot: I haz the power
6 years, 4 months ago (2014-08-08 08:01:45 UTC) #21
Message was sent while issue was closed.
Change committed as 288243

Powered by Google App Engine
This is Rietveld 408576698