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

Issue 2393513004: Convert app banners to use Mojo. (Closed)

Created:
4 years, 2 months ago by dominickn
Modified:
4 years, 1 month ago
CC:
Aaron Boodman, abarth-chromium, blink-reviews, blink-reviews-api_chromium.org, blundell+watchlist_chromium.org, chrome-apps-syd-reviews_chromium.org, chromium-reviews, creis+watch_chromium.org, darin (slow to review), darin-cc_chromium.org, dglazkov+blink, dominickn+watch_chromium.org, droger+watchlist_chromium.org, einbinder+watch-test-runner_chromium.org, jam, jochen+watch_chromium.org, kinuko+watch, mlamouri+watch-blink_chromium.org, mlamouri+watch-content_chromium.org, mlamouri+watch-test-runner_chromium.org, nasko+codewatch_chromium.org, Peter Beverloo, pkotwicz+watch_chromium.org, qsr+mojo_chromium.org, sdefresne+watchlist_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Convert app banners to use Mojo. This CL converts the app banner system from Chrome IPC to Mojo and moves all banner code from chrome/renderer to Blink. It also substantially improves the layout test coverage for the BeforeInstallPromptEvent, fixing various renderer crash bugs that are covered by the tests. The key change is that the browser-side AppBannerManager makes a Mojo request to Blink, which is intercepted by the WebLocalFrame and rerouted to the AppBannerController. The AppBannerManager passes a bound InterfaceRequest/Ptr in the Mojo request, which are used to create a bound BeforeInstallPromptEvent. This ensures that when a BeforeInstallPromptEvent is created, it already has a browser connection, and does not need another asynchronous (and possibly racey) call to establish full two-way communication with the browser process. Several files in Blink's modules/app_banner directories that were solely required for the AppBannerClient layer in chrome/renderer are deleted. The existing layout tests are simplified by removing request_ids and eliminating the AppBannerClient from ContentRendererClients. This requires a dependency on content/public/common from components/test_runner to allow a shim mojom::AppBannerService to be injected. dominickn@chromium.org is added to OWNERS for the Blink-side app banner code. BUG=499704, 655877, 655902 Committed: https://crrev.com/09f7b579849cc8725455d0468b03a0237a6b624d Cr-Commit-Position: refs/heads/master@{#428238}

Patch Set 1 #

Patch Set 2 : Fix Win clang compile #

Total comments: 12

Patch Set 3 : Tidying. Addressing comments. #

Patch Set 4 : Fix up layout tests #

Patch Set 5 : Remove WebAppBannerPromptResult #

Total comments: 4

Patch Set 6 : Tidying up #

Patch Set 7 : Rebase #

Total comments: 29

Patch Set 8 : Address comments #

Patch Set 9 : Refactor with Blink's new InterfaceRegistry #

Patch Set 10 : Rebase. init() can cause frames to detach #

Total comments: 11

Patch Set 11 : Address comments #

Total comments: 8

Patch Set 12 : Replace WeakPersistent with Persistent #

Total comments: 12

Patch Set 13 : Nits #

Total comments: 2

Patch Set 14 : Nit #

Total comments: 10

Patch Set 15 : Nits #

Total comments: 5

Patch Set 16 : Add TODO #

Unified diffs Side-by-side diffs Delta from patch set Stats (+561 lines, -777 lines) Patch
M chrome/browser/DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/android/banners/app_banner_infobar_delegate_android.h View 1 2 3 4 5 6 7 8 3 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/android/banners/app_banner_infobar_delegate_android.cc View 1 2 3 4 5 6 7 8 8 chunks +10 lines, -21 lines 0 comments Download
M chrome/browser/android/banners/app_banner_manager_android.h View 2 chunks +7 lines, -4 lines 0 comments Download
M chrome/browser/android/banners/app_banner_manager_android.cc View 1 2 3 4 5 6 7 8 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/banners/app_banner_infobar_delegate_desktop.cc View 2 chunks +4 lines, -7 lines 0 comments Download
M chrome/browser/banners/app_banner_manager.h View 1 2 3 4 5 6 7 8 5 chunks +27 lines, -17 lines 0 comments Download
M chrome/browser/banners/app_banner_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 chunks +48 lines, -39 lines 0 comments Download
M chrome/browser/banners/app_banner_manager_desktop.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/banners/app_banner_manager_desktop.cc View 1 2 3 4 5 3 chunks +4 lines, -12 lines 0 comments Download
M chrome/common/render_messages.h View 1 2 3 4 5 6 7 8 4 chunks +0 lines, -30 lines 0 comments Download
M chrome/renderer/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -2 lines 0 comments Download
D chrome/renderer/banners/OWNERS View 1 chunk +0 lines, -3 lines 0 comments Download
D chrome/renderer/banners/app_banner_client.h View 1 chunk +0 lines, -50 lines 0 comments Download
D chrome/renderer/banners/app_banner_client.cc View 1 chunk +0 lines, -65 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +0 lines, -8 lines 0 comments Download
M chrome/renderer/chrome_render_frame_observer.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/renderer/chrome_render_frame_observer.cc View 1 2 3 4 5 6 7 8 3 chunks +0 lines, -27 lines 0 comments Download
M components/test_runner/BUILD.gn View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -2 lines 0 comments Download
M components/test_runner/DEPS View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
D components/test_runner/app_banner_client.h View 1 chunk +0 lines, -43 lines 0 comments Download
D components/test_runner/app_banner_client.cc View 1 chunk +0 lines, -39 lines 0 comments Download
A components/test_runner/app_banner_service.h View 1 2 3 4 5 6 7 8 1 chunk +49 lines, -0 lines 0 comments Download
A components/test_runner/app_banner_service.cc View 1 2 3 4 5 6 7 8 1 chunk +45 lines, -0 lines 0 comments Download
M components/test_runner/test_interfaces.h View 3 chunks +0 lines, -4 lines 0 comments Download
M components/test_runner/test_interfaces.cc View 1 2 3 4 5 6 7 8 4 chunks +0 lines, -10 lines 0 comments Download
M components/test_runner/test_runner.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -3 lines 0 comments Download
M components/test_runner/test_runner.cc View 1 2 3 4 5 6 7 8 9 5 chunks +5 lines, -13 lines 0 comments Download
M components/test_runner/test_runner_for_specific_view.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M components/test_runner/test_runner_for_specific_view.cc View 1 2 2 chunks +1 line, -3 lines 0 comments Download
M components/test_runner/web_test_delegate.h View 1 2 3 4 5 6 7 8 1 chunk +10 lines, -6 lines 0 comments Download
M components/test_runner/web_test_interfaces.h View 3 chunks +0 lines, -4 lines 0 comments Download
M components/test_runner/web_test_interfaces.cc View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -8 lines 0 comments Download
M content/public/renderer/content_renderer_client.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +0 lines, -5 lines 0 comments Download
M content/public/renderer/content_renderer_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +0 lines, -6 lines 0 comments Download
M content/renderer/render_frame_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +0 lines, -4 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -9 lines 0 comments Download
M content/shell/renderer/layout_test/blink_test_runner.h View 1 2 3 4 5 6 7 8 3 chunks +5 lines, -1 line 0 comments Download
M content/shell/renderer/layout_test/blink_test_runner.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +19 lines, -15 lines 0 comments Download
M content/shell/renderer/layout_test/layout_test_content_renderer_client.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -2 lines 0 comments Download
M content/shell/renderer/layout_test/layout_test_content_renderer_client.cc View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/app_banner/app-banner-event-dispatch.html View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/app_banner/app-banner-event-prompt.html View 1 2 3 4 5 6 7 8 3 chunks +79 lines, -25 lines 0 comments Download
M third_party/WebKit/LayoutTests/app_banner/before-install-prompt-event-constructor.html View 1 2 3 4 5 6 7 8 1 chunk +36 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/app_banner/testrunner-resolve-crash.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
D third_party/WebKit/Source/modules/app_banner/AppBannerCallbacks.h View 1 chunk +0 lines, -32 lines 0 comments Download
D third_party/WebKit/Source/modules/app_banner/AppBannerCallbacks.cpp View 1 chunk +0 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/modules/app_banner/AppBannerController.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +17 lines, -16 lines 0 comments Download
M third_party/WebKit/Source/modules/app_banner/AppBannerController.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +42 lines, -21 lines 0 comments Download
M third_party/WebKit/Source/modules/app_banner/AppBannerPromptResult.h View 1 2 3 4 3 chunks +6 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/modules/app_banner/AppBannerPromptResult.cpp View 1 2 3 4 2 chunks +4 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/modules/app_banner/BUILD.gn View 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/app_banner/BeforeInstallPromptEvent.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +28 lines, -18 lines 0 comments Download
M third_party/WebKit/Source/modules/app_banner/BeforeInstallPromptEvent.cpp View 1 2 3 4 5 6 7 8 9 10 4 chunks +44 lines, -33 lines 0 comments Download
A + third_party/WebKit/Source/modules/app_banner/DEPS View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/app_banner/OWNERS View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebLocalFrameImpl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/WebLocalFrameImpl.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +15 lines, -16 lines 0 comments Download
M third_party/WebKit/public/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +1 line, -3 lines 0 comments Download
M third_party/WebKit/public/platform/modules/app_banner/OWNERS View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
D third_party/WebKit/public/platform/modules/app_banner/WebAppBannerClient.h View 1 chunk +0 lines, -30 lines 0 comments Download
D third_party/WebKit/public/platform/modules/app_banner/WebAppBannerPromptReply.h View 1 chunk +0 lines, -14 lines 0 comments Download
D third_party/WebKit/public/platform/modules/app_banner/WebAppBannerPromptResult.h View 1 2 3 4 1 chunk +0 lines, -24 lines 0 comments Download
A third_party/WebKit/public/platform/modules/app_banner/app_banner.mojom View 1 2 3 4 5 6 7 8 1 chunk +28 lines, -0 lines 0 comments Download
M third_party/WebKit/public/web/WebFrameClient.h View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -4 lines 0 comments Download
M third_party/WebKit/public/web/WebLocalFrame.h View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -11 lines 0 comments Download

Messages

Total messages: 142 (81 generated)
dominickn
+sammc for initial sanity check. Thanks!
4 years, 2 months ago (2016-10-06 00:23:10 UTC) #8
Sam McNally
https://codereview.chromium.org/2393513004/diff/20001/chrome/browser/banners/app_banner_manager.cc File chrome/browser/banners/app_banner_manager.cc (right): https://codereview.chromium.org/2393513004/diff/20001/chrome/browser/banners/app_banner_manager.cc#newcode528 chrome/browser/banners/app_banner_manager.cc:528: mojo::String referrer) { const std::string& https://codereview.chromium.org/2393513004/diff/20001/chrome/browser/banners/app_banner_manager.h File chrome/browser/banners/app_banner_manager.h (right): ...
4 years, 2 months ago (2016-10-06 07:17:44 UTC) #12
pkotwicz1
https://codereview.chromium.org/2393513004/diff/120001/chrome/browser/android/banners/app_banner_manager_android.cc File chrome/browser/android/banners/app_banner_manager_android.cc (right): https://codereview.chromium.org/2393513004/diff/120001/chrome/browser/android/banners/app_banner_manager_android.cc#newcode131 chrome/browser/android/banners/app_banner_manager_android.cc:131: : "play"; Drive by: It is probably worth calling ...
4 years, 2 months ago (2016-10-06 15:45:28 UTC) #32
Sam McNally
lgtm https://codereview.chromium.org/2393513004/diff/120001/third_party/WebKit/Source/modules/app_banner/BeforeInstallPromptEvent.cpp File third_party/WebKit/Source/modules/app_banner/BeforeInstallPromptEvent.cpp (right): https://codereview.chromium.org/2393513004/diff/120001/third_party/WebKit/Source/modules/app_banner/BeforeInstallPromptEvent.cpp#newcode49 third_party/WebKit/Source/modules/app_banner/BeforeInstallPromptEvent.cpp:49: m_binding.Close(); Reset m_bannerService too.
4 years, 2 months ago (2016-10-06 22:48:48 UTC) #33
dominickn
https://codereview.chromium.org/2393513004/diff/20001/chrome/browser/banners/app_banner_manager.cc File chrome/browser/banners/app_banner_manager.cc (right): https://codereview.chromium.org/2393513004/diff/20001/chrome/browser/banners/app_banner_manager.cc#newcode528 chrome/browser/banners/app_banner_manager.cc:528: mojo::String referrer) { On 2016/10/06 07:17:43, Sam McNally wrote: ...
4 years, 2 months ago (2016-10-06 22:58:12 UTC) #34
dominickn
Thanks! +benwells, +dfalcantara: PTAL at chrome/browser/banners and chrome/browser/android/banners +mlamouri: PTAL at third_party/WebKit/.../app_banner and the removal ...
4 years, 2 months ago (2016-10-06 23:38:10 UTC) #39
dominickn
Also +rockot for mojo/public.
4 years, 2 months ago (2016-10-07 00:02:40 UTC) #45
Ken Rockot(use gerrit already)
On 2016/10/07 at 00:02:40, dominickn wrote: > Also +rockot for mojo/public. I don't see any ...
4 years, 2 months ago (2016-10-07 00:15:31 UTC) #49
dominickn
On 2016/10/07 00:15:31, Ken Rockot wrote: > On 2016/10/07 at 00:02:40, dominickn wrote: > > ...
4 years, 2 months ago (2016-10-07 00:19:39 UTC) #50
Ken Rockot(use gerrit already)
Oops, sorry I didn't see the DEPS change. That lgtm
4 years, 2 months ago (2016-10-07 00:23:29 UTC) #51
esprehn
This is doing very low level mojo stuff we've never done in blink before, I'm ...
4 years, 2 months ago (2016-10-07 00:39:52 UTC) #52
dominickn
esprehn: see ps1 for a version which does less low level mojo stuff in Blink, ...
4 years, 2 months ago (2016-10-07 00:56:13 UTC) #53
dcheng
https://codereview.chromium.org/2393513004/diff/160001/chrome/renderer/chrome_render_frame_observer.cc File chrome/renderer/chrome_render_frame_observer.cc (right): https://codereview.chromium.org/2393513004/diff/160001/chrome/renderer/chrome_render_frame_observer.cc#newcode114 chrome/renderer/chrome_render_frame_observer.cc:114: observer->banner_binding_.reset( Nit: I think this can be replaced with ...
4 years, 2 months ago (2016-10-07 07:03:17 UTC) #56
haraken
https://codereview.chromium.org/2393513004/diff/160001/third_party/WebKit/Source/modules/app_banner/BeforeInstallPromptEvent.h File third_party/WebKit/Source/modules/app_banner/BeforeInstallPromptEvent.h (right): https://codereview.chromium.org/2393513004/diff/160001/third_party/WebKit/Source/modules/app_banner/BeforeInstallPromptEvent.h#newcode31 third_party/WebKit/Source/modules/app_banner/BeforeInstallPromptEvent.h:31: USING_PRE_FINALIZER(BeforeInstallPromptEvent, dispose); The reason we need to add the ...
4 years, 2 months ago (2016-10-07 07:09:40 UTC) #58
Ken Rockot(use gerrit already)
On Oct 7, 2016 12:09 AM, <haraken@chromium.org> wrote: > > > https://codereview.chromium.org/2393513004/diff/160001/third_party/WebKit/Source/modules/app_banner/BeforeInstallPromptEvent.h > File > ...
4 years, 2 months ago (2016-10-07 07:42:55 UTC) #59
Ken Rockot(use gerrit already)
On Oct 7, 2016 12:09 AM, <haraken@chromium.org> wrote: > > > https://codereview.chromium.org/2393513004/diff/160001/third_party/WebKit/Source/modules/app_banner/BeforeInstallPromptEvent.h > File > ...
4 years, 2 months ago (2016-10-07 07:42:55 UTC) #60
esprehn
I'll look this over again next week, I'd really like to see some abstraction added ...
4 years, 2 months ago (2016-10-08 03:13:31 UTC) #61
Sam McNally
On 2016/10/08 03:13:31, esprehn wrote: > I'll look this over again next week, I'd really ...
4 years, 2 months ago (2016-10-10 03:48:08 UTC) #62
benwells
Love the mojo, so much more readable and way less plumbing. https://codereview.chromium.org/2393513004/diff/160001/chrome/browser/banners/app_banner_manager.cc File chrome/browser/banners/app_banner_manager.cc (left): ...
4 years, 2 months ago (2016-10-12 03:00:17 UTC) #63
dominickn
sammc has a CL to add a blink InterfaceRegistry at crrev.com/2401333002. This would allow WebLocalFrame ...
4 years, 2 months ago (2016-10-13 00:18:16 UTC) #64
dominickn
Please take another look everyone: this is now completely Onion Souped thanks to the new ...
4 years, 2 months ago (2016-10-17 05:38:45 UTC) #69
benwells
lgtm
4 years, 2 months ago (2016-10-18 06:57:39 UTC) #84
mlamouri (slow - plz ping)
Too much code for my slow brain. I will trust the other reviewers that things ...
4 years, 2 months ago (2016-10-18 16:55:08 UTC) #85
dominickn
On 2016/10/18 16:55:08, mlamouri wrote: > Too much code for my slow brain. I will ...
4 years, 2 months ago (2016-10-18 23:36:55 UTC) #86
dcheng
https://codereview.chromium.org/2393513004/diff/260001/third_party/WebKit/Source/modules/app_banner/AppBannerController.cpp File third_party/WebKit/Source/modules/app_banner/AppBannerController.cpp (right): https://codereview.chromium.org/2393513004/diff/260001/third_party/WebKit/Source/modules/app_banner/AppBannerController.cpp#newcode25 third_party/WebKit/Source/modules/app_banner/AppBannerController.cpp:25: LocalFrame* frame, I don't think we'll ever pass in ...
4 years, 2 months ago (2016-10-19 06:15:59 UTC) #87
dominickn
Thanks! https://codereview.chromium.org/2393513004/diff/260001/third_party/WebKit/Source/modules/app_banner/AppBannerController.cpp File third_party/WebKit/Source/modules/app_banner/AppBannerController.cpp (right): https://codereview.chromium.org/2393513004/diff/260001/third_party/WebKit/Source/modules/app_banner/AppBannerController.cpp#newcode25 third_party/WebKit/Source/modules/app_banner/AppBannerController.cpp:25: LocalFrame* frame, On 2016/10/19 06:15:58, dcheng wrote: > ...
4 years, 2 months ago (2016-10-19 08:17:00 UTC) #88
mlamouri (slow - plz ping)
On 2016/10/18 at 23:36:55, dominickn wrote: > On 2016/10/18 16:55:08, mlamouri wrote: > > Too ...
4 years, 2 months ago (2016-10-19 09:42:45 UTC) #89
haraken
https://codereview.chromium.org/2393513004/diff/280001/third_party/WebKit/Source/modules/app_banner/AppBannerController.h File third_party/WebKit/Source/modules/app_banner/AppBannerController.h (right): https://codereview.chromium.org/2393513004/diff/280001/third_party/WebKit/Source/modules/app_banner/AppBannerController.h#newcode31 third_party/WebKit/Source/modules/app_banner/AppBannerController.h:31: WeakPersistent<LocalFrame> m_frame; Why does this need to be weak? ...
4 years, 2 months ago (2016-10-19 09:57:05 UTC) #90
dominickn
https://codereview.chromium.org/2393513004/diff/280001/third_party/WebKit/Source/modules/app_banner/AppBannerController.h File third_party/WebKit/Source/modules/app_banner/AppBannerController.h (right): https://codereview.chromium.org/2393513004/diff/280001/third_party/WebKit/Source/modules/app_banner/AppBannerController.h#newcode31 third_party/WebKit/Source/modules/app_banner/AppBannerController.h:31: WeakPersistent<LocalFrame> m_frame; On 2016/10/19 09:57:05, haraken wrote: > > ...
4 years, 2 months ago (2016-10-20 04:54:58 UTC) #95
haraken
https://codereview.chromium.org/2393513004/diff/280001/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp File third_party/WebKit/Source/web/WebLocalFrameImpl.cpp (right): https://codereview.chromium.org/2393513004/diff/280001/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp#newcode1627 third_party/WebKit/Source/web/WebLocalFrameImpl.cpp:1627: WTF::bind(&AppBannerController::create, wrapWeakPersistent(frame()))); On 2016/10/20 04:54:58, dominickn wrote: > On ...
4 years, 2 months ago (2016-10-20 08:43:18 UTC) #96
dominickn
https://codereview.chromium.org/2393513004/diff/280001/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp File third_party/WebKit/Source/web/WebLocalFrameImpl.cpp (right): https://codereview.chromium.org/2393513004/diff/280001/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp#newcode1627 third_party/WebKit/Source/web/WebLocalFrameImpl.cpp:1627: WTF::bind(&AppBannerController::create, wrapWeakPersistent(frame()))); On 2016/10/20 08:43:18, haraken wrote: > On ...
4 years, 2 months ago (2016-10-20 11:41:34 UTC) #97
haraken
https://codereview.chromium.org/2393513004/diff/280001/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp File third_party/WebKit/Source/web/WebLocalFrameImpl.cpp (right): https://codereview.chromium.org/2393513004/diff/280001/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp#newcode1627 third_party/WebKit/Source/web/WebLocalFrameImpl.cpp:1627: WTF::bind(&AppBannerController::create, wrapWeakPersistent(frame()))); On 2016/10/20 11:41:34, dominickn wrote: > On ...
4 years, 2 months ago (2016-10-20 15:51:23 UTC) #98
dominickn
esprehn, jochen, dcheng: ping https://codereview.chromium.org/2393513004/diff/280001/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp File third_party/WebKit/Source/web/WebLocalFrameImpl.cpp (right): https://codereview.chromium.org/2393513004/diff/280001/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp#newcode1627 third_party/WebKit/Source/web/WebLocalFrameImpl.cpp:1627: WTF::bind(&AppBannerController::create, wrapWeakPersistent(frame()))); On 2016/10/20 15:51:23, ...
4 years, 2 months ago (2016-10-20 23:41:18 UTC) #101
haraken
Thanks for being persistent. WebKit/ LGTM https://codereview.chromium.org/2393513004/diff/300001/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp File third_party/WebKit/Source/web/WebLocalFrameImpl.cpp (right): https://codereview.chromium.org/2393513004/diff/300001/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp#newcode1627 third_party/WebKit/Source/web/WebLocalFrameImpl.cpp:1627: WTF::bind(&AppBannerController::create, wrapPersistent(frame()))); On ...
4 years, 2 months ago (2016-10-21 08:59:45 UTC) #104
jochen (gone - plz use gerrit)
content lgtm
4 years, 2 months ago (2016-10-21 11:04:55 UTC) #105
dominickn
Thanks! https://codereview.chromium.org/2393513004/diff/300001/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp File third_party/WebKit/Source/web/WebLocalFrameImpl.cpp (right): https://codereview.chromium.org/2393513004/diff/300001/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp#newcode1627 third_party/WebKit/Source/web/WebLocalFrameImpl.cpp:1627: WTF::bind(&AppBannerController::create, wrapPersistent(frame()))); On 2016/10/21 08:59:45, haraken wrote: > ...
4 years, 2 months ago (2016-10-21 12:26:57 UTC) #108
haraken
https://codereview.chromium.org/2393513004/diff/300001/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp File third_party/WebKit/Source/web/WebLocalFrameImpl.cpp (right): https://codereview.chromium.org/2393513004/diff/300001/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp#newcode1627 third_party/WebKit/Source/web/WebLocalFrameImpl.cpp:1627: WTF::bind(&AppBannerController::create, wrapPersistent(frame()))); On 2016/10/21 12:26:57, dominickn wrote: > On ...
4 years, 1 month ago (2016-10-23 22:42:15 UTC) #111
gone
Changes to c/b/a/banners lgtm
4 years, 1 month ago (2016-10-24 17:24:08 UTC) #112
dcheng
https://codereview.chromium.org/2393513004/diff/340001/third_party/WebKit/Source/modules/app_banner/AppBannerController.cpp File third_party/WebKit/Source/modules/app_banner/AppBannerController.cpp (right): https://codereview.chromium.org/2393513004/diff/340001/third_party/WebKit/Source/modules/app_banner/AppBannerController.cpp#newcode23 third_party/WebKit/Source/modules/app_banner/AppBannerController.cpp:23: AppBannerController::AppBannerController(LocalFrame* frame) : m_frame(frame) {} Nit: reference here though. ...
4 years, 1 month ago (2016-10-24 19:52:52 UTC) #113
dominickn
https://codereview.chromium.org/2393513004/diff/340001/third_party/WebKit/Source/modules/app_banner/AppBannerController.cpp File third_party/WebKit/Source/modules/app_banner/AppBannerController.cpp (right): https://codereview.chromium.org/2393513004/diff/340001/third_party/WebKit/Source/modules/app_banner/AppBannerController.cpp#newcode23 third_party/WebKit/Source/modules/app_banner/AppBannerController.cpp:23: AppBannerController::AppBannerController(LocalFrame* frame) : m_frame(frame) {} On 2016/10/24 19:52:51, dcheng ...
4 years, 1 month ago (2016-10-24 23:17:58 UTC) #114
esprehn
lgtm with some comments about OWNERS. btw super excited to see us publishing a service ...
4 years, 1 month ago (2016-10-25 03:17:43 UTC) #115
dcheng
https://codereview.chromium.org/2393513004/diff/340001/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp File third_party/WebKit/Source/web/WebLocalFrameImpl.cpp (right): https://codereview.chromium.org/2393513004/diff/340001/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp#newcode1627 third_party/WebKit/Source/web/WebLocalFrameImpl.cpp:1627: &AppBannerController::bindMojoRequest, wrapWeakPersistent(frame()))); On 2016/10/24 23:17:58, dominickn wrote: > On ...
4 years, 1 month ago (2016-10-25 05:12:20 UTC) #116
Sam McNally
https://codereview.chromium.org/2393513004/diff/340001/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp File third_party/WebKit/Source/web/WebLocalFrameImpl.cpp (right): https://codereview.chromium.org/2393513004/diff/340001/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp#newcode1627 third_party/WebKit/Source/web/WebLocalFrameImpl.cpp:1627: &AppBannerController::bindMojoRequest, wrapWeakPersistent(frame()))); On 2016/10/25 05:12:20, dcheng wrote: > On ...
4 years, 1 month ago (2016-10-25 05:56:23 UTC) #117
haraken
On 2016/10/25 05:56:23, Sam McNally wrote: > https://codereview.chromium.org/2393513004/diff/340001/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp > File third_party/WebKit/Source/web/WebLocalFrameImpl.cpp (right): > > https://codereview.chromium.org/2393513004/diff/340001/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp#newcode1627 ...
4 years, 1 month ago (2016-10-25 07:26:07 UTC) #118
dcheng
On 2016/10/25 07:26:07, haraken wrote: > On 2016/10/25 05:56:23, Sam McNally wrote: > > > ...
4 years, 1 month ago (2016-10-25 07:27:53 UTC) #119
haraken
On 2016/10/25 07:27:53, dcheng wrote: > On 2016/10/25 07:26:07, haraken wrote: > > On 2016/10/25 ...
4 years, 1 month ago (2016-10-25 07:30:44 UTC) #120
dominickn
Does this mean that the resolution on the frame vs. ExecutionContext argument really can't be ...
4 years, 1 month ago (2016-10-25 08:01:18 UTC) #121
haraken
On 2016/10/25 08:01:18, dominickn wrote: > Does this mean that the resolution on the frame ...
4 years, 1 month ago (2016-10-25 08:06:31 UTC) #122
dcheng
On 2016/10/25 08:06:31, haraken wrote: > On 2016/10/25 08:01:18, dominickn wrote: > > Does this ...
4 years, 1 month ago (2016-10-26 05:05:27 UTC) #123
dominickn
On 2016/10/26 05:05:27, dcheng wrote: > On 2016/10/25 08:06:31, haraken wrote: > > On 2016/10/25 ...
4 years, 1 month ago (2016-10-26 05:33:19 UTC) #124
dcheng
On 2016/10/26 05:33:19, dominickn wrote: > On 2016/10/26 05:05:27, dcheng wrote: > > On 2016/10/25 ...
4 years, 1 month ago (2016-10-26 06:03:25 UTC) #125
Sam McNally
On 2016/10/26 06:03:25, dcheng wrote: > On 2016/10/26 05:33:19, dominickn wrote: > > On 2016/10/26 ...
4 years, 1 month ago (2016-10-26 06:34:39 UTC) #126
esprehn
How is the browser side related here? I don't think we need to generalize this ...
4 years, 1 month ago (2016-10-26 06:54:31 UTC) #127
esprehn
How is the browser side related here? I don't think we need to generalize this ...
4 years, 1 month ago (2016-10-26 07:01:46 UTC) #128
haraken
On 2016/10/26 07:01:46, esprehn wrote: > How is the browser side related here? I don't ...
4 years, 1 month ago (2016-10-26 08:29:54 UTC) #129
dominickn
On 2016/10/26 07:01:46, esprehn wrote: > How is the browser side related here? I don't ...
4 years, 1 month ago (2016-10-26 08:49:27 UTC) #130
dcheng
I'm OK landing this and fixing the abstractions in a followup. Thanks. mojo lgtm https://codereview.chromium.org/2393513004/diff/360001/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp ...
4 years, 1 month ago (2016-10-27 00:44:09 UTC) #131
dominickn
Thanks everyone. :) https://codereview.chromium.org/2393513004/diff/360001/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp File third_party/WebKit/Source/web/WebLocalFrameImpl.cpp (right): https://codereview.chromium.org/2393513004/diff/360001/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp#newcode1626 third_party/WebKit/Source/web/WebLocalFrameImpl.cpp:1626: frame()->interfaceRegistry()->addInterface(WTF::bind( On 2016/10/27 00:44:09, dcheng wrote: ...
4 years, 1 month ago (2016-10-27 02:08:43 UTC) #134
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/2393513004/380001
4 years, 1 month ago (2016-10-27 23:11:23 UTC) #139
commit-bot: I haz the power
Committed patchset #16 (id:380001)
4 years, 1 month ago (2016-10-28 01:44:43 UTC) #140
commit-bot: I haz the power
4 years, 1 month ago (2016-10-28 01:49:07 UTC) #142
Message was sent while issue was closed.
Patchset 16 (id:??) landed as
https://crrev.com/09f7b579849cc8725455d0468b03a0237a6b624d
Cr-Commit-Position: refs/heads/master@{#428238}

Powered by Google App Engine
This is Rietveld 408576698