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

Issue 15149006: <webview>: Plumb edit commands (Closed)

Created:
7 years, 7 months ago by Fady Samuel
Modified:
7 years, 6 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

<webview>: Plumb edit commands This patch plumbs edit commands that do not trigger menu blink on Mac. This is the corresponding Blink patch: https://codereview.chromium.org/15071004/ BUG=230148 Test=WebViewInteractiveTest.EditCommandsNoMenu Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=203542

Patch Set 1 #

Patch Set 2 : Alternative approach that permits guest to preventDefault #

Patch Set 3 : Added test #

Patch Set 4 : Fixed whitespace #

Total comments: 6

Patch Set 5 : Addressed comments #

Total comments: 3

Patch Set 6 : Fixed test #

Patch Set 7 : Readd lost test #

Patch Set 8 : Removed fprintf #

Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -46 lines) Patch
M chrome/browser/extensions/web_view_interactive_browsertest.cc View 1 2 3 4 5 2 chunks +31 lines, -0 lines 0 comments Download
A + chrome/test/data/extensions/platform_apps/web_view/edit_commands_no_menu/embedder.html View 1 2 6 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/test/data/extensions/platform_apps/web_view/edit_commands_no_menu/embedder.js View 1 2 3 4 6 4 chunks +15 lines, -32 lines 0 comments Download
A + chrome/test/data/extensions/platform_apps/web_view/edit_commands_no_menu/guest.html View 1 2 6 1 chunk +15 lines, -16 lines 0 comments Download
A + chrome/test/data/extensions/platform_apps/web_view/edit_commands_no_menu/manifest.json View 1 2 6 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/test/data/extensions/platform_apps/web_view/edit_commands_no_menu/test.js View 1 2 6 0 chunks +-1 lines, --1 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_guest.h View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_guest.cc View 1 2 3 4 3 chunks +10 lines, -0 lines 0 comments Download
M content/common/browser_plugin/browser_plugin_messages.h View 1 2 3 4 5 2 chunks +6 lines, -0 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin.h View 1 2 3 4 5 3 chunks +5 lines, -0 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin.cc View 1 2 3 4 5 3 chunks +22 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 23 (0 generated)
Fady Samuel
7 years, 7 months ago (2013-05-21 18:56:43 UTC) #1
dcheng
I'm assuming there's a corresponding patch in blink? https://codereview.chromium.org/15149006/diff/8001/chrome/test/data/extensions/platform_apps/web_view/edit_commands_no_menu/embedder.js File chrome/test/data/extensions/platform_apps/web_view/edit_commands_no_menu/embedder.js (right): https://codereview.chromium.org/15149006/diff/8001/chrome/test/data/extensions/platform_apps/web_view/edit_commands_no_menu/embedder.js#newcode78 chrome/test/data/extensions/platform_apps/web_view/edit_commands_no_menu/embedder.js:78: var ...
7 years, 7 months ago (2013-05-21 19:32:37 UTC) #2
Fady Samuel
PTAL https://codereview.chromium.org/15149006/diff/8001/chrome/test/data/extensions/platform_apps/web_view/edit_commands_no_menu/embedder.js File chrome/test/data/extensions/platform_apps/web_view/edit_commands_no_menu/embedder.js (right): https://codereview.chromium.org/15149006/diff/8001/chrome/test/data/extensions/platform_apps/web_view/edit_commands_no_menu/embedder.js#newcode78 chrome/test/data/extensions/platform_apps/web_view/edit_commands_no_menu/embedder.js:78: var webview = embedder.setUpGuest_(); On 2013/05/21 19:32:37, dcheng ...
7 years, 7 months ago (2013-05-21 19:41:35 UTC) #3
dcheng
LGTM with nits. https://codereview.chromium.org/15149006/diff/12001/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/15149006/diff/12001/content/renderer/render_view_impl.cc#newcode2200 content/renderer/render_view_impl.cc:2200: GetFocusedNode())) I think it would be ...
7 years, 7 months ago (2013-05-22 21:43:43 UTC) #4
Fady Samuel
+creis content/renderer/render_view_impl.cc OWNER review.
7 years, 7 months ago (2013-05-24 13:49:46 UTC) #5
Charlie Reis
One sanity check question. https://codereview.chromium.org/15149006/diff/12001/content/common/browser_plugin/browser_plugin_messages.h File content/common/browser_plugin/browser_plugin_messages.h (right): https://codereview.chromium.org/15149006/diff/12001/content/common/browser_plugin/browser_plugin_messages.h#newcode159 content/common/browser_plugin/browser_plugin_messages.h:159: std::vector<content::EditCommand> /* edit_commands */) Sanity ...
7 years, 6 months ago (2013-05-28 16:49:24 UTC) #6
Fady Samuel
https://codereview.chromium.org/15149006/diff/12001/content/common/browser_plugin/browser_plugin_messages.h File content/common/browser_plugin/browser_plugin_messages.h (right): https://codereview.chromium.org/15149006/diff/12001/content/common/browser_plugin/browser_plugin_messages.h#newcode159 content/common/browser_plugin/browser_plugin_messages.h:159: std::vector<content::EditCommand> /* edit_commands */) On 2013/05/28 16:49:25, creis wrote: ...
7 years, 6 months ago (2013-05-28 21:24:17 UTC) #7
Charlie Reis
On 2013/05/28 21:24:17, Fady Samuel wrote: > https://codereview.chromium.org/15149006/diff/12001/content/common/browser_plugin/browser_plugin_messages.h > File content/common/browser_plugin/browser_plugin_messages.h (right): > > https://codereview.chromium.org/15149006/diff/12001/content/common/browser_plugin/browser_plugin_messages.h#newcode159 ...
7 years, 6 months ago (2013-05-28 21:37:25 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/15149006/12001
7 years, 6 months ago (2013-05-30 20:09:38 UTC) #9
Fady Samuel
+cdn@ for IPC audit
7 years, 6 months ago (2013-05-30 20:09:59 UTC) #10
Cris Neckar
On 2013/05/30 20:09:59, Fady Samuel wrote: > +cdn@ for IPC audit LGTM given offline conversation ...
7 years, 6 months ago (2013-05-30 21:09:40 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/15149006/12001
7 years, 6 months ago (2013-05-30 21:10:16 UTC) #12
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 6 months ago (2013-05-30 21:32:33 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/15149006/12001
7 years, 6 months ago (2013-05-30 22:19:37 UTC) #14
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 6 months ago (2013-05-30 22:33:54 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/15149006/12001
7 years, 6 months ago (2013-05-31 08:53:44 UTC) #16
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=133030
7 years, 6 months ago (2013-05-31 10:06:13 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/15149006/62001
7 years, 6 months ago (2013-05-31 14:30:22 UTC) #18
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=120567
7 years, 6 months ago (2013-05-31 15:45:31 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/15149006/69003
7 years, 6 months ago (2013-05-31 18:10:24 UTC) #20
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 6 months ago (2013-05-31 19:33:45 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/15149006/86002
7 years, 6 months ago (2013-05-31 19:48:32 UTC) #22
commit-bot: I haz the power
7 years, 6 months ago (2013-06-01 01:03:47 UTC) #23
Message was sent while issue was closed.
Change committed as 203542

Powered by Google App Engine
This is Rietveld 408576698