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

Issue 2026813003: Enable external popup menu in Blimp, part 2/2. (Closed)

Created:
4 years, 6 months ago by haibinlu
Modified:
4 years ago
Reviewers:
Avi (use Gerrit), Wez
CC:
jam, chromium-reviews, creis+watch_chromium.org, anandc+watch-blimp_chromium.org, maniscalco+watch-blimp_chromium.org, sriramsr+watch-blimp_chromium.org, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org, nyquist+watch-blimp_chromium.org, marcinjb+watch-blimp_chromium.org, jessicag+watch-blimp_chromium.org, kmarshall+watch-blimp_chromium.org, lethalantidote+watch-blimp_chromium.org, mkwst+moarreviews-renderer_chromium.org, darin-cc_chromium.org, dtrainor+watch-blimp_chromium.org, shaktisahu+watch-blimp_chromium.org, khushalsagar+watch-blimp_chromium.org, no sievers, David Trainor- moved to gerrit
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enables Blimp engine to communicate with content/ for handling external popup menu. Exposes Show/HidePopupMenu to outside content/ via WebContentsViewDelegate, and DidSelectPopupMenuItems& DidCancelPopupMenu via render_frame_host.h. Drawback: Android and Mac do not need these APIs. So exposing them under USE_EXTERNAL_POPUP_MENU is confusing. However, since we do not want to introduce IS_BLIMP flag to content/, it is unclear how to expose external popup menu API in a cleaner way. BUG=598764 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation

Patch Set 1 : #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -15 lines) Patch
M blimp/engine/app/blimp_content_browser_client.h View 2 chunks +6 lines, -0 lines 0 comments Download
M blimp/engine/app/blimp_content_browser_client.cc View 2 chunks +7 lines, -0 lines 0 comments Download
M blimp/engine/session/blimp_engine_session.h View 4 chunks +15 lines, -0 lines 0 comments Download
M blimp/engine/session/blimp_engine_session.cc View 2 chunks +18 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.h View 2 chunks +11 lines, -11 lines 0 comments Download
M content/browser/web_contents/web_contents_view_aura.cc View 1 chunk +8 lines, -2 lines 0 comments Download
M content/public/browser/render_frame_host.h View 2 chunks +13 lines, -0 lines 0 comments Download
M content/public/browser/web_contents_view_delegate.h View 1 3 chunks +22 lines, -2 lines 0 comments Download

Messages

Total messages: 21 (9 generated)
haibinlu
4 years, 6 months ago (2016-06-03 20:46:19 UTC) #9
haibinlu
There will be another CL to add the actual communication between blimp engine and its ...
4 years, 6 months ago (2016-06-03 20:49:37 UTC) #10
Avi (use Gerrit)
This is a really weird proposal. Popup menus on the Mac and Android run themselves, ...
4 years, 6 months ago (2016-06-03 20:57:48 UTC) #11
haibinlu
On 2016/06/03 20:57:48, Avi wrote: > This is a really weird proposal. Popup menus on ...
4 years, 6 months ago (2016-06-03 21:35:50 UTC) #12
haibinlu
https://codereview.chromium.org/2026813003/diff/60001/content/public/browser/web_contents_view_delegate.h File content/public/browser/web_contents_view_delegate.h (right): https://codereview.chromium.org/2026813003/diff/60001/content/public/browser/web_contents_view_delegate.h#newcode65 content/public/browser/web_contents_view_delegate.h:65: #if defined(USE_EXTERNAL_POPUP_MENU) On 2016/06/03 20:57:48, Avi wrote: > && ...
4 years, 6 months ago (2016-06-03 21:36:09 UTC) #13
Avi (use Gerrit)
On 2016/06/03 21:35:50, haibinlu wrote: > Agree, this is not a clean design. I am ...
4 years, 6 months ago (2016-06-06 16:46:47 UTC) #14
haibinlu
jam@, wondering if you could provide suggestion how to expose show/hide-external-popup-menu APIs to embedders. I ...
4 years, 6 months ago (2016-06-06 17:54:28 UTC) #15
Khushal
On 2016/06/06 17:54:28, haibinlu wrote: > jam@, wondering if you could provide suggestion how to ...
4 years, 6 months ago (2016-06-06 20:39:38 UTC) #16
haibinlu
On 2016/06/06 20:39:38, Khushal wrote: > On 2016/06/06 17:54:28, haibinlu wrote: > > jam@, wondering ...
4 years, 6 months ago (2016-06-07 00:01:54 UTC) #17
Avi (use Gerrit)
On 2016/06/07 00:01:54, haibinlu wrote: > WebContentsViewAura --> RenderWidgetHostViewAura --> aura's new > ExternalPopupMenuClient. > ...
4 years, 6 months ago (2016-06-07 01:44:36 UTC) #18
Avi (use Gerrit)
On 2016/06/07 01:44:36, Avi (OOO 12 June - 25 June) wrote: > On 2016/06/07 00:01:54, ...
4 years, 6 months ago (2016-06-07 01:45:12 UTC) #19
ncarter (slow)
4 years, 6 months ago (2016-06-08 16:36:32 UTC) #21
[reviewers -= me, since it seems like avi's got this]

Powered by Google App Engine
This is Rietveld 408576698