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

Issue 191003006: Framework for converting embedder uses of WebFrame to WebLocalFrame. (Closed)

Created:
6 years, 9 months ago by dcheng
Modified:
6 years, 9 months ago
CC:
blink-reviews, jamesr, caseq+blink_chromium.org, alph+blink_chromium.org, loislo+blink_chromium.org, vsevik+blink_chromium.org, tzik, eustas+blink_chromium.org, philipj_slow, yurys+blink_chromium.org, eric.carlson_apple.com, abarth-chromium, kinuko, feature-media-reviews_chromium.org, dglazkov+blink, paulirish+reviews_chromium.org, pfeldman+blink_chromium.org, nhiroki, devtools-reviews_chromium.org, apavlov+blink_chromium.org, aandrey+blink_chromium.org, lushnikov+blink_chromium.org, eseidel, site-isolation-reviews_chromium.org
Visibility:
Public.

Description

Framework for converting embedder uses of WebFrame to WebLocalFrame. This patch adds a typedef for WebFrame so we can start converting references to WebFrame in embedder implementations. It also updates most references of WebFrame in the embedding API to WebLocalFrame instead. Most locations should only ever have to handle WebLocalFrames, so it's just a fairly straightforward rename. However, there are some corner cases that need to be adjusted more carefully, since things like the opener, parent frame, and child frames can be pointers to an eventual WebRemoteFrame class. BUG=346764 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169638

Patch Set 1 #

Patch Set 2 : Rebased #

Patch Set 3 : How did this compile locally?! #

Patch Set 4 : Add missing new file #

Patch Set 5 : Rebase to ToT #

Total comments: 1

Patch Set 6 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+141 lines, -131 lines) Patch
M Source/web/WebFrameImpl.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M Source/web/WebFrameImpl.cpp View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M public/platform/WebMediaPlayerClient.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M public/web/WebAutofillClient.h View 1 2 chunks +3 lines, -2 lines 0 comments Download
M public/web/WebDOMCustomEvent.h View 1 chunk +0 lines, -1 line 0 comments Download
M public/web/WebDOMFileSystem.h View 1 2 3 4 3 chunks +2 lines, -3 lines 0 comments Download
M public/web/WebDevToolsAgent.h View 1 chunk +0 lines, -1 line 0 comments Download
M public/web/WebDocument.h View 3 chunks +2 lines, -2 lines 0 comments Download
M public/web/WebFrame.h View 1 2 3 4 3 chunks +8 lines, -4 lines 0 comments Download
M public/web/WebFrameClient.h View 1 2 3 4 5 14 chunks +59 lines, -59 lines 0 comments Download
M public/web/WebHelperPlugin.h View 2 chunks +2 lines, -2 lines 0 comments Download
M public/web/WebLeakDetector.h View 1 chunk +2 lines, -3 lines 0 comments Download
A public/web/WebLocalFrame.h View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download
M public/web/WebNode.h View 1 chunk +0 lines, -1 line 0 comments Download
M public/web/WebPageSerializer.h View 2 chunks +8 lines, -7 lines 0 comments Download
M public/web/WebPermissionClient.h View 1 2 2 chunks +22 lines, -21 lines 0 comments Download
M public/web/WebPlugin.h View 1 chunk +0 lines, -1 line 0 comments Download
M public/web/WebRange.h View 3 chunks +2 lines, -2 lines 0 comments Download
M public/web/WebTestingSupport.h View 1 chunk +3 lines, -4 lines 0 comments Download
M public/web/WebViewClient.h View 1 2 3 4 5 9 chunks +9 lines, -9 lines 0 comments Download
M public/web/mac/WebSubstringUtil.h View 1 2 3 4 2 chunks +2 lines, -4 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
dcheng
First stab at making it possible to start converting Chrome uses of WebFrame. I've gone ...
6 years, 9 months ago (2014-03-08 01:32:22 UTC) #1
dcheng
On 2014/03/08 01:32:22, dcheng wrote: > First stab at making it possible to start converting ...
6 years, 9 months ago (2014-03-10 20:37:26 UTC) #2
dcheng
-jamesr per his request. Adam, do you mind taking a look at this CL? This ...
6 years, 9 months ago (2014-03-19 21:52:37 UTC) #3
abarth-chromium
lgtm https://codereview.chromium.org/191003006/diff/80001/public/web/WebAutofillClient.h File public/web/WebAutofillClient.h (right): https://codereview.chromium.org/191003006/diff/80001/public/web/WebAutofillClient.h#newcode34 public/web/WebAutofillClient.h:34: #include "WebFrame.h" It's too bad that we can't ...
6 years, 9 months ago (2014-03-19 22:42:06 UTC) #4
dcheng
The CQ bit was checked by dcheng@chromium.org
6 years, 9 months ago (2014-03-19 23:05:25 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dcheng@chromium.org/191003006/80001
6 years, 9 months ago (2014-03-19 23:05:33 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-20 00:26:31 UTC) #7
commit-bot: I haz the power
Failed to apply patch for public/web/WebDOMFileSystem.h: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 9 months ago (2014-03-20 00:26:32 UTC) #8
dcheng
The CQ bit was checked by dcheng@chromium.org
6 years, 9 months ago (2014-03-20 08:51:34 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dcheng@chromium.org/191003006/100001
6 years, 9 months ago (2014-03-20 08:51:40 UTC) #10
commit-bot: I haz the power
Change committed as 169638
6 years, 9 months ago (2014-03-20 09:54:18 UTC) #11
viettrungluu
I think this broke the Mac ASan 64 build: http://build.chromium.org/p/chromium.memory/builders/Mac%20ASan%2064%20Builder/builds/928
6 years, 9 months ago (2014-03-22 07:42:09 UTC) #12
viettrungluu
On 2014/03/22 07:42:09, viettrungluu wrote: > I think this broke the Mac ASan 64 build: ...
6 years, 9 months ago (2014-03-22 07:45:34 UTC) #13
eseidel
6 years, 9 months ago (2014-03-24 01:35:00 UTC) #14
Message was sent while issue was closed.
A revert of this CL has been created in
https://codereview.chromium.org/208393012/ by eseidel@chromium.org.

The reason for reverting is: This is believed to break the Mac 64-bit build. 
jar just rolled back the Blink roll in an attempt to fix it.

https://codereview.chromium.org/208393010/.

Powered by Google App Engine
This is Rietveld 408576698