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

Issue 11554030: <webview>: Add name attribute (Closed)

Created:
8 years ago by Fady Samuel
Modified:
7 years, 11 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, Aaron Boodman, jam, darin-cc_chromium.org, chromium-apps-reviews_chromium.org
Visibility:
Public.

Description

<webview>: Add name attribute This change requires this WebKit patch: https://bugs.webkit.org/show_bug.cgi?id=104404 This change enables access to the guest's window's name attribute from the embedder <webview>. It also enables changes to the window name attribute from the embedder WebContents. BUG=140316 Test=BrowserPluginHostTest.ChangeWindowName Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175681

Patch Set 1 #

Patch Set 2 : Added tests #

Total comments: 8

Patch Set 3 : Plumb name changes through WebContents #

Patch Set 4 : Fixed copy-and-paste error #

Patch Set 5 : Store name in WebContentsImpl #

Patch Set 6 : Merged with ToT and back to plumbing directly to BrowserPlugin instead of through WebContents #

Total comments: 5

Patch Set 7 : Merged with ToT and addressed comments #

Patch Set 8 : Fixed broken content_browsertests #

Patch Set 9 : Merged with ToT #

Patch Set 10 : Merged with ToT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+261 lines, -10 lines) Patch
M chrome/renderer/resources/extensions/web_view.js View 1 2 3 4 5 3 chunks +17 lines, -3 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_embedder.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_guest.h View 1 2 3 4 5 6 7 8 3 chunks +7 lines, -0 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_guest.cc View 1 2 3 4 5 6 7 8 6 chunks +32 lines, -6 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_guest_helper.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_host_browsertest.cc View 1 2 3 4 5 6 7 1 chunk +37 lines, -0 lines 0 comments Download
M content/common/browser_plugin_messages.h View 1 2 3 4 5 3 chunks +11 lines, -0 lines 0 comments Download
M content/common/view_messages.h View 1 2 3 4 5 6 2 chunks +10 lines, -0 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin.h View 1 2 3 4 5 3 chunks +6 lines, -0 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin.cc View 1 2 3 4 5 6 7 5 chunks +24 lines, -1 line 0 comments Download
M content/renderer/browser_plugin/browser_plugin_bindings.cc View 3 chunks +29 lines, -0 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin_manager_impl.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/render_view_impl.h View 1 2 3 4 5 6 2 chunks +3 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 7 8 3 chunks +16 lines, -0 lines 0 comments Download
A content/test/data/browser_plugin_naming_embedder.html View 1 1 chunk +37 lines, -0 lines 0 comments Download
A content/test/data/browser_plugin_naming_guest.html View 1 1 chunk +29 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Fady Samuel
window.open was growing really rapidly in complexity so I've decided to start splitting it up. ...
8 years ago (2012-12-12 22:27:26 UTC) #1
Charlie Reis
Just a few thoughts so far. It seems strange to me to send this info ...
8 years ago (2012-12-13 01:11:41 UTC) #2
Fady Samuel
This is not needed for M25. I'll address your comments in the morning. We can ...
8 years ago (2012-12-13 01:54:35 UTC) #3
Fady Samuel
Hi Charlie, I've addressed your comments. I now plumb the name updates from RenderViewHostImpl to ...
8 years ago (2012-12-13 17:46:45 UTC) #4
Fady Samuel
I've moved name_ to WebContentsImpl entirely. I've added GetName()/SetName() to the WebContents public interface. Landing ...
8 years ago (2012-12-13 19:39:45 UTC) #5
Charlie Reis
Actually, before I send the next round of comments, I want to take a step ...
8 years ago (2012-12-15 00:13:04 UTC) #6
Fady Samuel
PTAL: Changed according to our offline discussion prior to the holidays. The name attribute messages ...
7 years, 11 months ago (2013-01-04 19:07:38 UTC) #7
Charlie Reis
I think this looks pretty good. Just one question about how we store the name. ...
7 years, 11 months ago (2013-01-04 21:36:33 UTC) #8
Fady Samuel
PTAL. https://codereview.chromium.org/11554030/diff/21001/content/browser/browser_plugin/browser_plugin_guest.h File content/browser/browser_plugin/browser_plugin_guest.h (right): https://codereview.chromium.org/11554030/diff/21001/content/browser/browser_plugin/browser_plugin_guest.h#newcode225 content/browser/browser_plugin/browser_plugin_guest.h:225: // Sets the name of the guest so ...
7 years, 11 months ago (2013-01-08 16:19:07 UTC) #9
Charlie Reis
LGTM https://codereview.chromium.org/11554030/diff/21001/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/11554030/diff/21001/content/renderer/render_view_impl.cc#newcode2728 content/renderer/render_view_impl.cc:2728: UTF16ToUTF8(name))); On 2013/01/08 16:19:07, Fady Samuel wrote: > ...
7 years, 11 months ago (2013-01-08 21:18:45 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/11554030/30001
7 years, 11 months ago (2013-01-08 21:21:02 UTC) #11
commit-bot: I haz the power
Presubmit check for 11554030-30001 failed and returned exit status 1. Running presubmit commit checks ...
7 years, 11 months ago (2013-01-08 21:21:13 UTC) #12
Fady Samuel
+cdn for IPC security review.
7 years, 11 months ago (2013-01-08 22:02:46 UTC) #13
Cris Neckar
IPC security audit LGTM
7 years, 11 months ago (2013-01-08 22:32:28 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/11554030/30001
7 years, 11 months ago (2013-01-08 22:35:59 UTC) #15
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 11 months ago (2013-01-09 00:10:46 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/11554030/34003
7 years, 11 months ago (2013-01-09 00:10:55 UTC) #17
commit-bot: I haz the power
7 years, 11 months ago (2013-01-09 00:54:14 UTC) #18
Retried try job too often on mac_rel for step(s) base_unittests, browser_tests,
cacheinvalidation_unittests, check_deps, chromedriver2_unittests,
content_browsertests, content_unittests, crypto_unittests, gpu_unittests,
interactive_ui_tests, ipc_tests, jingle_unittests, media_unittests,
nacl_integration, net_unittests, ppapi_unittests, printing_unittests,
remoting_unittests, sql_unittests, sync_integration_tests, sync_unit_tests,
unit_tests

Powered by Google App Engine
This is Rietveld 408576698