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

Issue 508603003: Export ScreenOrientationProvider (Closed)

Created:
6 years, 3 months ago by jonross
Modified:
6 years, 3 months ago
CC:
chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, jam, nasko+codewatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Export ScreenOrientationProvider Move ScreenOrientationProvider and ScreenOrientationDispatcherHost from content/browser/screen_orientation/ to content/public/browser/ to expose them to other libraries. This will allow Ash to use them to implement the ScreenOrientationProvider on Chrome OS. Created an implementation of ScreenOrientationDispatcherHost. BUG=396760 Committed: https://crrev.com/7497152babcbb50ce8e0551944901924e3434352 Cr-Commit-Position: refs/heads/master@{#294819}

Patch Set 1 : #

Total comments: 10

Patch Set 2 : Rebase #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : Add missing export #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -324 lines) Patch
M content/browser/android/content_view_core_impl.cc View 1 2 chunks +1 line, -1 line 0 comments Download
D content/browser/screen_orientation/screen_orientation_dispatcher_host.h View 1 chunk +0 lines, -77 lines 0 comments Download
D content/browser/screen_orientation/screen_orientation_dispatcher_host.cc View 1 chunk +0 lines, -138 lines 0 comments Download
A + content/browser/screen_orientation/screen_orientation_dispatcher_host_impl.h View 1 2 3 chunks +17 lines, -24 lines 0 comments Download
A + content/browser/screen_orientation/screen_orientation_dispatcher_host_impl.cc View 1 2 7 chunks +15 lines, -15 lines 0 comments Download
D content/browser/screen_orientation/screen_orientation_provider.h View 1 chunk +0 lines, -57 lines 0 comments Download
M content/browser/screen_orientation/screen_orientation_provider_android.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/screen_orientation/screen_orientation_provider_android.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 3 chunks +3 lines, -2 lines 0 comments Download
M content/content_browser.gypi View 1 2 chunks +4 lines, -3 lines 0 comments Download
A content/public/browser/screen_orientation_dispatcher_host.h View 1 chunk +36 lines, -0 lines 0 comments Download
A + content/public/browser/screen_orientation_provider.h View 1 2 3 4 chunks +6 lines, -5 lines 0 comments Download

Messages

Total messages: 25 (2 generated)
jonross
Patchset #1 (id:1) has been deleted
6 years, 3 months ago (2014-08-26 18:48:01 UTC) #1
jonross
Patchset #1 (id:20001) has been deleted
6 years, 3 months ago (2014-08-26 20:21:28 UTC) #2
jonross
jonross@chromium.org changed reviewers: + flackr@chromium.org
6 years, 3 months ago (2014-08-26 20:24:04 UTC) #3
jonross
Hi Rob, In this change I move two classes of ScreenOrientationProvider to a public folder, ...
6 years, 3 months ago (2014-08-26 20:24:05 UTC) #4
jonross
Patchset #1 (id:40001) has been deleted
6 years, 3 months ago (2014-08-26 20:32:09 UTC) #5
flackr
Hey, this seems like the right idea but I'm not confident enough with the content/ ...
6 years, 3 months ago (2014-08-27 22:27:09 UTC) #6
Michael van Ouwerkerk
mvanouwerkerk@chromium.org changed reviewers: + mlamouri@chromium.org
6 years, 3 months ago (2014-08-28 09:53:11 UTC) #7
jonross
Hi Mounir, Would you be able to provide an initial review for this change? This ...
6 years, 3 months ago (2014-09-02 14:31:32 UTC) #8
mlamouri (slow - plz ping)
On 2014/09/02 14:31:32, jonross wrote: > Hi Mounir, > > Would you be able to ...
6 years, 3 months ago (2014-09-03 11:25:40 UTC) #9
mlamouri (slow - plz ping)
https://codereview.chromium.org/508603003/diff/60001/content/browser/screen_orientation/screen_orientation_dispatcher_host_impl.cc File content/browser/screen_orientation/screen_orientation_dispatcher_host_impl.cc (right): https://codereview.chromium.org/508603003/diff/60001/content/browser/screen_orientation/screen_orientation_dispatcher_host_impl.cc#newcode12 content/browser/screen_orientation/screen_orientation_dispatcher_host_impl.cc:12: #include "content/public/browser/screen_orientation_dispatcher_host.h" I think screen_orientation_dispatcher_host.h is not needed. https://codereview.chromium.org/508603003/diff/60001/content/browser/screen_orientation/screen_orientation_dispatcher_host_impl.h ...
6 years, 3 months ago (2014-09-03 11:25:49 UTC) #10
jonross
I have reverted the additional spaces, I had inserted them after one run of cpplint. ...
6 years, 3 months ago (2014-09-03 20:33:02 UTC) #11
mlamouri (slow - plz ping)
On 2014/09/03 20:33:02, jonross wrote: > I have reverted the additional spaces, I had inserted ...
6 years, 3 months ago (2014-09-03 21:01:03 UTC) #12
jonross
On 2014/09/03 21:01:03, Mounir Lamouri wrote: > On 2014/09/03 20:33:02, jonross wrote: > > I ...
6 years, 3 months ago (2014-09-04 14:54:38 UTC) #13
mlamouri (slow - plz ping)
lgtm +jochen@ who can lgtm on top of me for the files I'm not owning.
6 years, 3 months ago (2014-09-04 17:17:46 UTC) #15
mlamouri (slow - plz ping)
https://codereview.chromium.org/508603003/diff/100001/content/public/browser/screen_orientation_provider.h File content/public/browser/screen_orientation_provider.h (right): https://codereview.chromium.org/508603003/diff/100001/content/public/browser/screen_orientation_provider.h#newcode18 content/public/browser/screen_orientation_provider.h:18: class ScreenOrientationProvider { I just realize that this is ...
6 years, 3 months ago (2014-09-04 21:39:17 UTC) #16
jonross
https://codereview.chromium.org/508603003/diff/100001/content/public/browser/screen_orientation_provider.h File content/public/browser/screen_orientation_provider.h (right): https://codereview.chromium.org/508603003/diff/100001/content/public/browser/screen_orientation_provider.h#newcode18 content/public/browser/screen_orientation_provider.h:18: class ScreenOrientationProvider { On 2014/09/04 21:39:17, Mounir Lamouri wrote: ...
6 years, 3 months ago (2014-09-05 13:39:07 UTC) #17
jonross
Hi jochen@, Would you be able to provide an owner review of the following: content/browser/android/content_view_core_impl.cc ...
6 years, 3 months ago (2014-09-10 19:59:17 UTC) #18
jochen (gone - plz use gerrit)
lgtm please also update the BUILD.gn files in content
6 years, 3 months ago (2014-09-12 14:01:56 UTC) #19
jonross
On 2014/09/12 14:01:56, jochen wrote: > lgtm > > please also update the BUILD.gn files ...
6 years, 3 months ago (2014-09-12 18:09:55 UTC) #20
mlamouri (slow - plz ping)
On 2014/09/12 18:09:55, jonross wrote: > On 2014/09/12 14:01:56, jochen wrote: > > lgtm > ...
6 years, 3 months ago (2014-09-15 13:04:32 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/508603003/120001
6 years, 3 months ago (2014-09-15 13:19:34 UTC) #23
commit-bot: I haz the power
Committed patchset #4 (id:120001) as 94932121451ee8cc6a39dd9e7fde81b530ebed9f
6 years, 3 months ago (2014-09-15 14:17:28 UTC) #24
commit-bot: I haz the power
6 years, 3 months ago (2014-09-15 15:08:32 UTC) #25
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/7497152babcbb50ce8e0551944901924e3434352
Cr-Commit-Position: refs/heads/master@{#294819}

Powered by Google App Engine
This is Rietveld 408576698