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

Issue 2132983002: Move content shell context menu to ShellWebContentsViewDelegate in Views (Closed)

Created:
4 years, 5 months ago by mohsen
Modified:
4 years, 5 months ago
Reviewers:
Peter Beverloo, sadrul
CC:
chromium-reviews, darin-cc_chromium.org, jam, jochen+watch_chromium.org, mlamouri+watch-content_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move content shell context menu to ShellWebContentsViewDelegate in Views Allows content shell to run context menu handling code in WebContentsViewAura, including touch selection code. This is needed to be able to properly test long press touch selection behavior. BUG=594101 Committed: https://crrev.com/6eb57fb790e8c319cc80d9d6a9d5ff5f6d042e32 Cr-Commit-Position: refs/heads/master@{#407008}

Patch Set 1 #

Patch Set 2 : Move content shell context menu to ShellWebContentsViewDelegate in Aura #

Patch Set 3 : Fixed compile errors #

Patch Set 4 : Fixed compile errors - 2nd try #

Patch Set 5 : Removed function not needed anymore #

Patch Set 6 : Rebased #

Total comments: 6

Patch Set 7 : Addressed review comments #

Patch Set 8 : Fixed gyp/gn files #

Patch Set 9 : Added stub for Aura #

Patch Set 10 : Fixed cast_shell_linux compile error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+148 lines, -357 lines) Patch
M content/content_shell.gypi View 1 2 3 4 5 6 7 8 3 chunks +6 lines, -1 line 0 comments Download
M content/shell/BUILD.gn View 1 2 3 4 5 6 7 8 3 chunks +8 lines, -3 lines 0 comments Download
M content/shell/browser/shell.h View 1 2 3 4 5 6 4 chunks +0 lines, -5 lines 0 comments Download
M content/shell/browser/shell.cc View 1 2 3 4 5 6 3 chunks +7 lines, -20 lines 0 comments Download
M content/shell/browser/shell_android.cc View 1 1 chunk +0 lines, -5 lines 0 comments Download
M content/shell/browser/shell_aura.cc View 1 1 chunk +0 lines, -5 lines 0 comments Download
M content/shell/browser/shell_content_browser_client.cc View 1 7 8 1 chunk +0 lines, -4 lines 0 comments Download
M content/shell/browser/shell_mac.mm View 1 1 chunk +0 lines, -5 lines 0 comments Download
M content/shell/browser/shell_views.cc View 1 2 3 4 5 5 chunks +0 lines, -85 lines 0 comments Download
M content/shell/browser/shell_web_contents_view_delegate.h View 1 2 3 4 5 6 2 chunks +17 lines, -2 lines 0 comments Download
A + content/shell/browser/shell_web_contents_view_delegate_aura.cc View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -3 lines 0 comments Download
A content/shell/browser/shell_web_contents_view_delegate_views.cc View 1 2 3 4 5 6 1 chunk +106 lines, -0 lines 0 comments Download
D content/shell/browser/shell_web_contents_view_delegate_win.cc View 1 1 chunk +0 lines, -219 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 43 (33 generated)
mohsen
sadrul@: Can you please take a first look before I send it to OWNERS?
4 years, 5 months ago (2016-07-13 18:14:13 UTC) #3
mohsen
sadrul@: ping!
4 years, 5 months ago (2016-07-18 17:17:08 UTC) #4
sadrul
Cool cleanup! lgtm
4 years, 5 months ago (2016-07-19 22:22:11 UTC) #5
mohsen
peter@: Please take a look...
4 years, 5 months ago (2016-07-20 15:21:12 UTC) #7
Peter Beverloo
lgtm % question https://codereview.chromium.org/2132983002/diff/100001/content/shell/browser/shell.cc File content/shell/browser/shell.cc (left): https://codereview.chromium.org/2132983002/diff/100001/content/shell/browser/shell.cc#oldcode293 content/shell/browser/shell.cc:293: InnerShowDevTools(); nit: please inline InnerShowDevTools() in ...
4 years, 5 months ago (2016-07-20 16:40:14 UTC) #8
mohsen
sadrul@ noticed that the WebContentsViewDelegate I'm adding is actually for Views not Aura. So, I ...
4 years, 5 months ago (2016-07-20 22:16:31 UTC) #11
Peter Beverloo
On 2016/07/20 22:16:31, mohsen wrote: > sadrul@ noticed that the WebContentsViewDelegate I'm adding is actually ...
4 years, 5 months ago (2016-07-20 22:25:03 UTC) #14
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/2132983002/220001
4 years, 5 months ago (2016-07-22 01:19:50 UTC) #40
commit-bot: I haz the power
Committed patchset #10 (id:220001)
4 years, 5 months ago (2016-07-22 03:14:23 UTC) #41
commit-bot: I haz the power
4 years, 5 months ago (2016-07-22 03:17:39 UTC) #43
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/6eb57fb790e8c319cc80d9d6a9d5ff5f6d042e32
Cr-Commit-Position: refs/heads/master@{#407008}

Powered by Google App Engine
This is Rietveld 408576698