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

Issue 464393002: Restructuring WebContents functions from ContentViewCore to WebContents. (Closed)

Created:
6 years, 4 months ago by AKVT
Modified:
6 years, 3 months ago
Reviewers:
Ted C, Yaron, boliu
CC:
chromium-reviews, darin-cc_chromium.org, jam, android-webview-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Restructuring WebContents functions from ContentViewCore to WebContents. In this patch we are trying to position the WebContents functionalities to web_contents_android file from ContentViewCoreImpl to make it functionally readable. Ensuring there is a one-to-one mapping between WebContents Java and native counterparts. BUG=398263 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289796

Patch Set 1 #

Total comments: 4

Patch Set 2 : Removed unnecessary comment. #

Total comments: 4

Patch Set 3 : Fixed C++ variable naming issues. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -79 lines) Patch
M android_webview/java/src/org/chromium/android_webview/AwContents.java View 2 chunks +4 lines, -3 lines 0 comments Download
M content/browser/android/content_view_core_impl.h View 1 chunk +0 lines, -5 lines 0 comments Download
M content/browser/android/content_view_core_impl.cc View 3 chunks +0 lines, -49 lines 0 comments Download
M content/browser/web_contents/web_contents_android.h View 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_android.cc View 1 2 3 chunks +51 lines, -0 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java View 6 chunks +5 lines, -19 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java View 5 chunks +17 lines, -0 lines 0 comments Download
A content/public/android/java/src/org/chromium/content_public/browser/JavaScriptCallback.java View 1 chunk +14 lines, -0 lines 0 comments Download
M content/public/android/java/src/org/chromium/content_public/browser/WebContents.java View 1 1 chunk +14 lines, -0 lines 0 comments Download
M content/public/android/javatests/src/org/chromium/content/browser/JavaBridgeChildFrameTest.java View 2 chunks +2 lines, -1 line 0 comments Download
M content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestCallbackHelperContainer.java View 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 30 (0 generated)
AKVT
@Yaron PTAL https://codereview.chromium.org/464393002/diff/1/content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java File content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java (right): https://codereview.chromium.org/464393002/diff/1/content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java#newcode171 content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java:171: @Override Corrected the Override issues from previous ...
6 years, 4 months ago (2014-08-13 16:15:48 UTC) #1
Yaron
lgtm Looking forward to when we can get these functions split off from the java ...
6 years, 4 months ago (2014-08-13 20:49:25 UTC) #2
boliu
android_webview lgtm
6 years, 4 months ago (2014-08-13 21:04:28 UTC) #3
AKVT
On 2014/08/13 20:49:25, Yaron wrote: > lgtm > > Looking forward to when we can ...
6 years, 4 months ago (2014-08-14 01:14:58 UTC) #4
Yaron
On 2014/08/14 01:14:58, AKV wrote: > On 2014/08/13 20:49:25, Yaron wrote: > > lgtm > ...
6 years, 4 months ago (2014-08-14 01:19:47 UTC) #5
AKVT
On 2014/08/14 01:19:47, Yaron wrote: > On 2014/08/14 01:14:58, AKV wrote: > > On 2014/08/13 ...
6 years, 4 months ago (2014-08-14 01:27:09 UTC) #6
chromium-reviews
No problem. Note that some of these functions have A LOT of users so we ...
6 years, 4 months ago (2014-08-14 01:33:11 UTC) #7
AKVT
Thanks Yaron and boliu. I have corrected the comment. PTAL https://codereview.chromium.org/464393002/diff/1/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java File content/public/android/java/src/org/chromium/content_public/browser/WebContents.java (right): https://codereview.chromium.org/464393002/diff/1/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java#newcode152 ...
6 years, 4 months ago (2014-08-14 05:31:45 UTC) #8
boliu
On 2014/08/14 05:31:45, AKV wrote: > Thanks Yaron and boliu. I have corrected the comment. ...
6 years, 4 months ago (2014-08-14 05:35:43 UTC) #9
AKVT
The CQ bit was checked by ajith.v@samsung.com
6 years, 4 months ago (2014-08-14 05:35:48 UTC) #10
AKVT
On 2014/08/14 05:35:43, boliu wrote: > On 2014/08/14 05:31:45, AKV wrote: > > Thanks Yaron ...
6 years, 4 months ago (2014-08-14 05:37:26 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ajith.v@samsung.com/464393002/20001
6 years, 4 months ago (2014-08-14 05:37:36 UTC) #12
AKVT
@ted This patch is failing due to missing Owner LGTM for content/browser/web_contents/web_contents_android.cc content/browser/web_contents/web_contents_android.h files. PTAL
6 years, 4 months ago (2014-08-14 07:28:56 UTC) #13
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-14 11:42:04 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-14 11:46:02 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/4229)
6 years, 4 months ago (2014-08-14 11:46:04 UTC) #16
Ted C
web_contents_android.h - lgtm w/ some style nits https://codereview.chromium.org/464393002/diff/20001/content/browser/web_contents/web_contents_android.cc File content/browser/web_contents/web_contents_android.cc (right): https://codereview.chromium.org/464393002/diff/20001/content/browser/web_contents/web_contents_android.cc#newcode337 content/browser/web_contents/web_contents_android.cc:337: ->CreateRenderViewForInitialEmptyDocument()) { ...
6 years, 4 months ago (2014-08-14 17:28:08 UTC) #17
AKVT
@Ted PTAL https://codereview.chromium.org/464393002/diff/20001/content/browser/web_contents/web_contents_android.cc File content/browser/web_contents/web_contents_android.cc (right): https://codereview.chromium.org/464393002/diff/20001/content/browser/web_contents/web_contents_android.cc#newcode337 content/browser/web_contents/web_contents_android.cc:337: ->CreateRenderViewForInitialEmptyDocument()) { On 2014/08/14 17:28:07, Ted C ...
6 years, 4 months ago (2014-08-14 17:39:59 UTC) #18
Yaron
He said "lgtm w/ some style nits". That means that if you agree and make ...
6 years, 4 months ago (2014-08-14 17:42:08 UTC) #19
AKVT
The CQ bit was checked by ajith.v@samsung.com
6 years, 4 months ago (2014-08-14 17:44:30 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ajith.v@samsung.com/464393002/40001
6 years, 4 months ago (2014-08-14 17:46:32 UTC) #21
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-14 22:22:40 UTC) #22
Yaron
The CQ bit was unchecked by yfriedman@chromium.org
6 years, 4 months ago (2014-08-14 22:26:19 UTC) #23
Yaron
The CQ bit was checked by yfriedman@chromium.org
6 years, 4 months ago (2014-08-14 22:26:30 UTC) #24
Yaron
The CQ bit was unchecked by yfriedman@chromium.org
6 years, 4 months ago (2014-08-14 22:27:08 UTC) #25
Yaron
The CQ bit was checked by yfriedman@chromium.org
6 years, 4 months ago (2014-08-14 22:28:51 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ajith.v@samsung.com/464393002/40001
6 years, 4 months ago (2014-08-14 22:29:54 UTC) #27
Yaron
On 2014/08/14 22:27:08, Yaron wrote: > The CQ bit was unchecked by mailto:yfriedman@chromium.org I was ...
6 years, 4 months ago (2014-08-14 22:30:20 UTC) #28
commit-bot: I haz the power
Committed patchset #3 (40001) as 289796
6 years, 4 months ago (2014-08-15 05:10:31 UTC) #29
AKVT
6 years, 4 months ago (2014-08-15 05:58:39 UTC) #30
Message was sent while issue was closed.
On 2014/08/14 22:30:20, Yaron wrote:
> On 2014/08/14 22:27:08, Yaron wrote:
> > The CQ bit was unchecked by mailto:yfriedman@chromium.org
> 
> I was going to try to land as NOTRY=true since aosp bot has been unreliable
the
> last two days, but then I realized that it could actually break for similar
> reasons as https://codereview.chromium.org/406023002/ so I went back to
regular
> commit. Sorry for the spam, and hopefully it goes through.
> 
> FYI for sheriff, https://chrome-internal-review.googlesource.com/#/c/172516/
> fixes the internal tree

Thanks a lot Yaron :)

Powered by Google App Engine
This is Rietveld 408576698