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

Issue 2782253002: Remove CWV_IMPLEMENTATION hack. (Closed)

Created:
3 years, 8 months ago by michaeldo
Modified:
3 years, 8 months ago
CC:
chromium-reviews, Eugene But (OOO till 7-30), ios-reviews+web_chromium.org, ios-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove CWV_IMPLEMENTATION hack. BUG=704946 Review-Url: https://codereview.chromium.org/2782253002 Cr-Commit-Position: refs/heads/master@{#460713} Committed: https://chromium.googlesource.com/chromium/src/+/5d8ebc9543e8def157337ed491463c55fd45c785

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -70 lines) Patch
M ios/web_view/public/cwv.h View 1 chunk +1 line, -7 lines 1 comment Download
M ios/web_view/public/cwv_delegate.h View 1 chunk +1 line, -7 lines 0 comments Download
M ios/web_view/public/cwv_html_element.h View 1 chunk +1 line, -7 lines 0 comments Download
M ios/web_view/public/cwv_navigation_action.h View 1 chunk +1 line, -7 lines 0 comments Download
M ios/web_view/public/cwv_navigation_delegate.h View 1 chunk +1 line, -7 lines 0 comments Download
M ios/web_view/public/cwv_translate_delegate.h View 1 chunk +1 line, -7 lines 0 comments Download
M ios/web_view/public/cwv_translate_manager.h View 1 chunk +1 line, -7 lines 0 comments Download
M ios/web_view/public/cwv_ui_delegate.h View 1 chunk +1 line, -7 lines 0 comments Download
M ios/web_view/public/cwv_user_content_controller.h View 1 chunk +3 lines, -0 lines 0 comments Download
M ios/web_view/public/cwv_user_script.h View 1 chunk +3 lines, -0 lines 0 comments Download
M ios/web_view/public/cwv_web_view.h View 1 chunk +1 line, -7 lines 0 comments Download
M ios/web_view/public/cwv_web_view_configuration.h View 1 chunk +1 line, -7 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 18 (9 generated)
michaeldo
3 years, 8 months ago (2017-03-29 17:23:05 UTC) #2
sdefresne
Can you send to the try bots?
3 years, 8 months ago (2017-03-29 18:02:33 UTC) #3
michaeldo
On 2017/03/29 18:02:33, sdefresne wrote: > Can you send to the try bots? Looks like ...
3 years, 8 months ago (2017-03-29 20:21:35 UTC) #8
sdefresne
lgtm
3 years, 8 months ago (2017-03-30 09:44:23 UTC) #10
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/2782253002/1
3 years, 8 months ago (2017-03-30 09:44:36 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/5d8ebc9543e8def157337ed491463c55fd45c785
3 years, 8 months ago (2017-03-30 09:50:38 UTC) #14
Hiroshi Ichikawa
https://codereview.chromium.org/2782253002/diff/1/ios/web_view/public/cwv.h File ios/web_view/public/cwv.h (right): https://codereview.chromium.org/2782253002/diff/1/ios/web_view/public/cwv.h#newcode11 ios/web_view/public/cwv.h:11: #include "cwv_export.h" I'm a bit confused with this CL. ...
3 years, 8 months ago (2017-03-31 06:48:31 UTC) #16
michaeldo
On 2017/03/31 06:48:31, Hiroshi Ichikawa wrote: > https://codereview.chromium.org/2782253002/diff/1/ios/web_view/public/cwv.h > File ios/web_view/public/cwv.h (right): > > https://codereview.chromium.org/2782253002/diff/1/ios/web_view/public/cwv.h#newcode11 ...
3 years, 8 months ago (2017-03-31 15:18:17 UTC) #17
sdefresne
3 years, 8 months ago (2017-04-03 13:22:44 UTC) #18
Message was sent while issue was closed.
On 2017/03/31 15:18:17, michaeldo wrote:
> On 2017/03/31 06:48:31, Hiroshi Ichikawa wrote:
> > https://codereview.chromium.org/2782253002/diff/1/ios/web_view/public/cwv.h
> > File ios/web_view/public/cwv.h (right):
> > 
> >
>
https://codereview.chromium.org/2782253002/diff/1/ios/web_view/public/cwv.h#n...
> > ios/web_view/public/cwv.h:11: #include "cwv_export.h"
> > I'm a bit confused with this CL. Didn't we originally want to avoid this
kind
> of
> > relative #include?
> 
> I'm sorry Hiroshi, you're right. I just went back and read our conversation
> here:
> https://codereview.chromium.org/2770633002/diff/1/ios/web_view/public/cwv.h. I
> was looking into this and then noticed sdefresne's CL here:
> https://codereview.chromium.org/2782823004/ and found it would work if
> simplified a bit without the gn changes. However, I was focused on simplifying
> the changes needed to get the include to work and hadn't recalled our lengthy
> discussion about this that lead to the header include hack in the first place.
I
> have reverted this change (in a new CL since here some of these includes were
> just added not switched to relative includes) for all the reasons we initially
> discussed. Sorry again for the confusion.
> 
> sdefresne@, is there any way we can get gn to understand a framework style
> include in the public headers instead of relative or absolute includes?

Yes, this is what my CL did (it uses relative imports for cwv_export.h but could
instead use <ChromeWebView/cwv_export.h>).

Powered by Google App Engine
This is Rietveld 408576698