Description[ScreenOrientation] Hide ScreenOrientationProvider inside WebContentsImpl.
This CL hides ScreenOrientationProvider inside WebContentsImpl,
because it is not so necessary to be content public.
Instead this CL:
- Exposes SetScreenOrientationDelegate() on web_contents.h
- Exposes OnScreenOrientationChange() on web_contents_impl.h
Then it would be quite clear what the touchpoints of ScreenOrientationProvider
with the rest of the browser process are, which makes it all the easier to
analyze them (and to avoid those touchpoints growing larger as we try to
eliminate them).
BUG=678545
TEST=content_unittests
[email protected]
Review-Url: https://codereview.chromium.org/2682643002
Cr-Commit-Position: refs/heads/master@{#449288}
Committed: https://chromium.googlesource.com/chromium/src/+/552e9de9f523cb755187ab7c3a288f25bee4df8b
Patch Set 1 #Patch Set 2 : Fix android bots #Patch Set 3 : Rebase only #
Total comments: 2
Patch Set 4 : screen_orientation_provider_for_testing() --> GetScreenOrientationProviderForTesting() #Patch Set 5 : Rebase only #Messages
Total messages: 34 (21 generated)
|