New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 626782 link

Starred by 4 users

Issue metadata

Status: Fixed
Owner:
Closed: Oct 2016
Cc:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug

Blocking:
issue 626764



Sign in to add a comment

Android: Remove ContentViewCore::PauseOrResumeGeolocation()

Project Member Reported by siev...@chromium.org, Jul 8 2016

Issue description

I think this is only used by WebView.

The background is that I want to eliminate the content_view_core.h public interface line by line.

So this just needs to be exposed in another proper public interface so WebView can use it.

It's a bit interesting now because WebContentsImpl implements GetGeolocationServiceContext() via the RenderFrameHostDelegate interface right now, i.e. this is used from internally otherwise.

Well, if WebView needs to do this and this needs to be done for the subscriptions of a specific WebContents then maybe it just needs to be a public API on WebContents.

Anyone from WebView available to pick this up?
 
Blocking: 626764
Owner: jinsuk...@chromium.org
Status: Assigned (was: Available)
Status: Started (was: Assigned)
Project Member

Comment 4 by bugdroid1@chromium.org, Oct 16 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/5df3a5d1a16eabf9c1d6ae306b5957596cb3b0ca

commit 5df3a5d1a16eabf9c1d6ae306b5957596cb3b0ca
Author: jinsukkim <jinsukkim@chromium.org>
Date: Sun Oct 16 23:52:44 2016

Remove ContentViewCore::PauseOrResumeGeolocation()

Geolocation is being paused/resumed via the page
visibility mechanisim, so the logic associated with
onPause/onResume can be removed safely.

This is part of an effort to remove/split up ContentViewCore.

BUG= 626782 

Review-Url: https://codereview.chromium.org/2379253002
Cr-Commit-Position: refs/heads/master@{#425601}

[modify] https://crrev.com/5df3a5d1a16eabf9c1d6ae306b5957596cb3b0ca/android_webview/java/src/org/chromium/android_webview/AwContents.java
[modify] https://crrev.com/5df3a5d1a16eabf9c1d6ae306b5957596cb3b0ca/android_webview/native/aw_contents.cc
[modify] https://crrev.com/5df3a5d1a16eabf9c1d6ae306b5957596cb3b0ca/content/browser/android/content_view_core_impl.cc
[modify] https://crrev.com/5df3a5d1a16eabf9c1d6ae306b5957596cb3b0ca/content/browser/android/content_view_core_impl.h
[modify] https://crrev.com/5df3a5d1a16eabf9c1d6ae306b5957596cb3b0ca/content/public/browser/android/content_view_core.h
[modify] https://crrev.com/5df3a5d1a16eabf9c1d6ae306b5957596cb3b0ca/device/geolocation/geolocation_service_context.cc
[modify] https://crrev.com/5df3a5d1a16eabf9c1d6ae306b5957596cb3b0ca/device/geolocation/geolocation_service_context.h
[modify] https://crrev.com/5df3a5d1a16eabf9c1d6ae306b5957596cb3b0ca/device/geolocation/geolocation_service_impl.cc

Status: Fixed (was: Started)

Sign in to add a comment