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

Issue 2379253002: Remove ContentViewCore::PauseOrResumeGeolocation() (Closed)

Created:
4 years, 2 months ago by Jinsuk Kim
Modified:
4 years, 2 months ago
Reviewers:
boliu, timvolodine
CC:
chromium-reviews, jam, nasko+codewatch_chromium.org, darin-cc_chromium.org, android-webview-reviews_chromium.org, creis+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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 Committed: https://crrev.com/5df3a5d1a16eabf9c1d6ae306b5957596cb3b0ca Cr-Commit-Position: refs/heads/master@{#425601}

Patch Set 1 #

Patch Set 2 : removed #

Patch Set 3 : removed geolocation api #

Total comments: 3

Patch Set 4 : add a comment #

Total comments: 2

Patch Set 5 : onPause #

Total comments: 2

Patch Set 6 : comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -43 lines) Patch
M android_webview/java/src/org/chromium/android_webview/AwContents.java View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M android_webview/native/aw_contents.cc View 1 1 chunk +0 lines, -5 lines 0 comments Download
M content/browser/android/content_view_core_impl.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/android/content_view_core_impl.cc View 1 chunk +0 lines, -7 lines 0 comments Download
M content/public/browser/android/content_view_core.h View 1 chunk +0 lines, -2 lines 0 comments Download
M device/geolocation/geolocation_service_context.h View 1 2 2 chunks +0 lines, -10 lines 0 comments Download
M device/geolocation/geolocation_service_context.cc View 1 2 2 chunks +1 line, -15 lines 0 comments Download
M device/geolocation/geolocation_service_impl.cc View 1 2 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 48 (17 generated)
Jinsuk Kim
4 years, 2 months ago (2016-09-30 05:53:40 UTC) #6
boliu
this by itself is more or less fine. but this call was added before webview ...
4 years, 2 months ago (2016-09-30 22:59:44 UTC) #8
timvolodine
On 2016/09/30 22:59:44, boliu wrote: > this by itself is more or less fine. but ...
4 years, 2 months ago (2016-10-03 13:02:42 UTC) #9
Michael van Ouwerkerk
On 2016/10/03 13:02:42, timvolodine wrote: > On 2016/09/30 22:59:44, boliu wrote: > > this by ...
4 years, 2 months ago (2016-10-03 16:13:01 UTC) #10
boliu
On 2016/10/03 16:13:01, Michael van Ouwerkerk wrote: > On 2016/10/03 13:02:42, timvolodine wrote: > > ...
4 years, 2 months ago (2016-10-03 16:36:46 UTC) #11
Jinsuk Kim
Removed the ContentViewCoreImpl::PauseOrResumeGeolocation. Can GeolocationServiceContext::Pause/ResumeUpdates() be removed as well? Still kept now.
4 years, 2 months ago (2016-10-03 23:24:40 UTC) #12
bo658713
I think so. WebView was the only caller. On Oct 3, 2016 4:24 PM, <jinsukkim@chromium.org> ...
4 years, 2 months ago (2016-10-03 23:28:10 UTC) #13
boliu
lgtm! you'll need someone else to review to review devices obviously
4 years, 2 months ago (2016-10-04 00:25:00 UTC) #17
boliu
On 2016/10/04 00:25:00, boliu wrote: > lgtm! > > you'll need someone else to review ...
4 years, 2 months ago (2016-10-04 00:43:42 UTC) #18
timvolodine
On 2016/10/04 00:43:42, boliu wrote: > On 2016/10/04 00:25:00, boliu wrote: > > lgtm! > ...
4 years, 2 months ago (2016-10-04 13:01:36 UTC) #21
boliu
On 2016/10/04 13:01:36, timvolodine wrote: > On 2016/10/04 00:43:42, boliu wrote: > > On 2016/10/04 ...
4 years, 2 months ago (2016-10-04 14:29:07 UTC) #22
timvolodine
On 2016/10/04 14:29:07, boliu wrote: > On 2016/10/04 13:01:36, timvolodine wrote: > > On 2016/10/04 ...
4 years, 2 months ago (2016-10-04 14:36:46 UTC) #23
boliu
On 2016/10/04 14:36:46, timvolodine wrote: > On 2016/10/04 14:29:07, boliu wrote: > > On 2016/10/04 ...
4 years, 2 months ago (2016-10-04 15:05:16 UTC) #24
timvolodine
On 2016/10/04 15:05:16, boliu wrote: > On 2016/10/04 14:36:46, timvolodine wrote: > > On 2016/10/04 ...
4 years, 2 months ago (2016-10-04 15:31:41 UTC) #25
boliu
On 2016/10/04 15:31:41, timvolodine wrote: > On 2016/10/04 15:05:16, boliu wrote: > > On 2016/10/04 ...
4 years, 2 months ago (2016-10-04 15:35:41 UTC) #26
Jinsuk Kim
On 2016/10/04 15:35:41, boliu wrote: > On 2016/10/04 15:31:41, timvolodine wrote: > > On 2016/10/04 ...
4 years, 2 months ago (2016-10-05 00:42:00 UTC) #27
boliu
On 2016/10/05 00:42:00, Jinsuk_OOO (- Oct 10) wrote: > I verified with Android WebView test ...
4 years, 2 months ago (2016-10-05 15:33:55 UTC) #28
timvolodine
On 2016/10/05 00:42:00, Jinsuk_OOO (- Oct 10) wrote: > On 2016/10/04 15:35:41, boliu wrote: > ...
4 years, 2 months ago (2016-10-05 15:53:14 UTC) #29
boliu
On 2016/10/05 15:53:14, timvolodine wrote: > On 2016/10/05 00:42:00, Jinsuk_OOO (- Oct 10) wrote: > ...
4 years, 2 months ago (2016-10-05 15:57:22 UTC) #30
timvolodine
On 2016/10/05 15:57:22, boliu wrote: > On 2016/10/05 15:53:14, timvolodine wrote: > > On 2016/10/05 ...
4 years, 2 months ago (2016-10-05 18:01:26 UTC) #31
Jinsuk Kim
On 2016/10/05 18:01:26, timvolodine wrote: > On 2016/10/05 15:57:22, boliu wrote: > > On 2016/10/05 ...
4 years, 2 months ago (2016-10-11 02:04:24 UTC) #32
timvolodine
ok thanks, I assume this together with #27 implies that geolocation is stopped when onPause|Resume ...
4 years, 2 months ago (2016-10-12 15:12:45 UTC) #33
boliu
https://codereview.chromium.org/2379253002/diff/40001/android_webview/native/aw_contents.cc File android_webview/native/aw_contents.cc (right): https://codereview.chromium.org/2379253002/diff/40001/android_webview/native/aw_contents.cc#newcode852 android_webview/native/aw_contents.cc:852: browser_view_renderer_.SetIsPaused(paused); On 2016/10/12 15:12:44, timvolodine wrote: > could you ...
4 years, 2 months ago (2016-10-12 15:35:38 UTC) #34
Jinsuk Kim
https://codereview.chromium.org/2379253002/diff/40001/android_webview/native/aw_contents.cc File android_webview/native/aw_contents.cc (right): https://codereview.chromium.org/2379253002/diff/40001/android_webview/native/aw_contents.cc#newcode852 android_webview/native/aw_contents.cc:852: browser_view_renderer_.SetIsPaused(paused); On 2016/10/12 15:35:38, boliu wrote: > On 2016/10/12 ...
4 years, 2 months ago (2016-10-14 07:04:02 UTC) #35
timvolodine
https://codereview.chromium.org/2379253002/diff/60001/android_webview/java/src/org/chromium/android_webview/AwContents.java File android_webview/java/src/org/chromium/android_webview/AwContents.java (right): https://codereview.chromium.org/2379253002/diff/60001/android_webview/java/src/org/chromium/android_webview/AwContents.java#newcode2481 android_webview/java/src/org/chromium/android_webview/AwContents.java:2481: // Geolocation is alos paused/resumed via the page visibility ...
4 years, 2 months ago (2016-10-14 10:41:28 UTC) #36
Jinsuk Kim
https://codereview.chromium.org/2379253002/diff/60001/android_webview/java/src/org/chromium/android_webview/AwContents.java File android_webview/java/src/org/chromium/android_webview/AwContents.java (right): https://codereview.chromium.org/2379253002/diff/60001/android_webview/java/src/org/chromium/android_webview/AwContents.java#newcode2481 android_webview/java/src/org/chromium/android_webview/AwContents.java:2481: // Geolocation is alos paused/resumed via the page visibility ...
4 years, 2 months ago (2016-10-14 10:47:44 UTC) #37
timvolodine
lgtm % comments also please update the description to explain why this can be removed ...
4 years, 2 months ago (2016-10-14 11:06:07 UTC) #38
Jinsuk Kim
https://codereview.chromium.org/2379253002/diff/80001/android_webview/java/src/org/chromium/android_webview/AwContents.java File android_webview/java/src/org/chromium/android_webview/AwContents.java (right): https://codereview.chromium.org/2379253002/diff/80001/android_webview/java/src/org/chromium/android_webview/AwContents.java#newcode1897 android_webview/java/src/org/chromium/android_webview/AwContents.java:1897: // Geolocation is paused/resumed via the page visibility mechanism. ...
4 years, 2 months ago (2016-10-16 22:47:36 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2379253002/100001
4 years, 2 months ago (2016-10-16 23:05:35 UTC) #44
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 2 months ago (2016-10-16 23:55:37 UTC) #46
commit-bot: I haz the power
4 years, 2 months ago (2016-10-16 23:57:13 UTC) #48
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/5df3a5d1a16eabf9c1d6ae306b5957596cb3b0ca
Cr-Commit-Position: refs/heads/master@{#425601}

Powered by Google App Engine
This is Rietveld 408576698