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

Issue 2671623002: Expose WindowAndroid from WebContents. (Closed)

Created:
3 years, 10 months ago by Ted C
Modified:
3 years, 9 months ago
Reviewers:
boliu
CC:
chromium-reviews, jam, darin-cc_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Expose WindowAndroid from WebContents. Currently, this requires making a hop between ContentViewCore#fromWebContents#getWindowAndroid. BUG= Review-Url: https://codereview.chromium.org/2671623002 Cr-Commit-Position: refs/heads/master@{#454727} Committed: https://chromium.googlesource.com/chromium/src/+/d6c15bfcf01549bf92de247886214b872758b387

Patch Set 1 #

Total comments: 4

Patch Set 2 : Use it to! #

Patch Set 3 : Address boliu@'s comments #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -40 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java View 1 1 chunk +1 line, -4 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DomDistillerUIUtils.java View 1 2 chunks +1 line, -5 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/pageinfo/WebsiteSettingsPopup.java View 1 2 chunks +1 line, -2 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/payments/AndroidPaymentApp.java View 1 3 chunks +2 lines, -15 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/LocationSettings.java View 1 2 3 4 chunks +2 lines, -9 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/webshare/ShareServiceImpl.java View 1 2 chunks +1 line, -5 lines 0 comments Download
M content/browser/web_contents/web_contents_android.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_android.cc View 1 2 2 chunks +10 lines, -0 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java View 1 3 chunks +7 lines, -0 lines 0 comments Download
M content/public/android/java/src/org/chromium/content_public/browser/WebContents.java View 1 2 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (5 generated)
Ted C
PTAL
3 years, 10 months ago (2017-02-02 01:05:43 UTC) #2
boliu
is there a first use case? https://codereview.chromium.org/2671623002/diff/1/content/browser/web_contents/web_contents_android.cc File content/browser/web_contents/web_contents_android.cc (right): https://codereview.chromium.org/2671623002/diff/1/content/browser/web_contents/web_contents_android.cc#newcode285 content/browser/web_contents/web_contents_android.cc:285: return ScopedJavaLocalRef<jobject>(); nullptr ...
3 years, 10 months ago (2017-02-02 03:34:01 UTC) #3
Ted C
Got back to this, updated all the easy callers I could spot as well. https://codereview.chromium.org/2671623002/diff/1/content/browser/web_contents/web_contents_android.cc ...
3 years, 9 months ago (2017-03-03 20:55:26 UTC) #4
boliu
lgtm
3 years, 9 months ago (2017-03-03 21:06:40 UTC) #5
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/2671623002/60001
3 years, 9 months ago (2017-03-04 00:13:06 UTC) #8
commit-bot: I haz the power
3 years, 9 months ago (2017-03-04 00:50:53 UTC) #11
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/d6c15bfcf01549bf92de24788621...

Powered by Google App Engine
This is Rietveld 408576698