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

Issue 11418261: Browser Plugin: Update DOM Node attributes when properties are updated (Closed)

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

Description

Browser Plugin: Update DOM Node attributes when properties are updated BUG=163611 Test=BrowserPluginHostTest.*, BrowserPluginTest.*, WebViewTest.* Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=170866 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=171297

Patch Set 1 #

Total comments: 6

Patch Set 2 : Cleanup #

Total comments: 9

Patch Set 3 : Fixed nits. Merged with ToT. #

Total comments: 4

Patch Set 4 : Addressed sadrul@'s comments #

Patch Set 5 : Moved comment to the right place #

Patch Set 6 : Fixed spacing #

Total comments: 4

Patch Set 7 : Fixed nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -9 lines) Patch
M chrome/renderer/resources/extensions/web_view.js View 1 2 3 4 5 6 2 chunks +17 lines, -1 line 0 comments Download
M content/renderer/browser_plugin/browser_plugin.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin.cc View 1 2 3 4 chunks +26 lines, -2 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin_bindings.cc View 1 2 3 4 5 6 12 chunks +50 lines, -6 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
Fady Samuel
Hi Istiaque, Could I please get your thoughts on this? I feel that we should ...
8 years ago (2012-11-30 18:51:42 UTC) #1
lazyboy
https://codereview.chromium.org/11418261/diff/1/content/renderer/browser_plugin/browser_plugin.cc File content/renderer/browser_plugin/browser_plugin.cc (right): https://codereview.chromium.org/11418261/diff/1/content/renderer/browser_plugin/browser_plugin.cc#newcode60 content/renderer/browser_plugin/browser_plugin.cc:60: const char kAutoSize[] = "autosize"; I'd group them separately ...
8 years ago (2012-11-30 19:15:06 UTC) #2
Fady Samuel
PTAL https://codereview.chromium.org/11418261/diff/1/content/renderer/browser_plugin/browser_plugin.cc File content/renderer/browser_plugin/browser_plugin.cc (right): https://codereview.chromium.org/11418261/diff/1/content/renderer/browser_plugin/browser_plugin.cc#newcode60 content/renderer/browser_plugin/browser_plugin.cc:60: const char kAutoSize[] = "autosize"; On 2012/11/30 19:15:06, ...
8 years ago (2012-11-30 21:56:50 UTC) #3
lazyboy
lgtm https://codereview.chromium.org/11418261/diff/5001/content/renderer/browser_plugin/browser_plugin.cc File content/renderer/browser_plugin/browser_plugin.cc (right): https://codereview.chromium.org/11418261/diff/5001/content/renderer/browser_plugin/browser_plugin.cc#newcode264 content/renderer/browser_plugin/browser_plugin.cc:264: const std::string& attribute_name, nit fits in previous line. ...
8 years ago (2012-11-30 22:11:36 UTC) #4
Fady Samuel
Fixed nits. Sadrul, could you please take a look? https://codereview.chromium.org/11418261/diff/5001/content/renderer/browser_plugin/browser_plugin.cc File content/renderer/browser_plugin/browser_plugin.cc (right): https://codereview.chromium.org/11418261/diff/5001/content/renderer/browser_plugin/browser_plugin.cc#newcode264 content/renderer/browser_plugin/browser_plugin.cc:264: ...
8 years ago (2012-11-30 22:57:11 UTC) #5
Fady Samuel
-sadrul, +abarth Hi Adam, Could you please take a look at this? The net effect ...
8 years ago (2012-12-01 00:02:23 UTC) #6
abarth-chromium
I'm not familiar enough with this code to understand what this patch is doing. In ...
8 years ago (2012-12-03 19:05:17 UTC) #7
abarth-chromium
Fady and I talked a bit about this patch in chat. What he's trying to ...
8 years ago (2012-12-03 19:34:57 UTC) #8
Fady Samuel
8 years ago (2012-12-03 21:48:11 UTC) #9
sadrul
LGTM, with a style nit, and another optional nit. https://codereview.chromium.org/11418261/diff/5003/content/renderer/browser_plugin/browser_plugin.cc File content/renderer/browser_plugin/browser_plugin.cc (right): https://codereview.chromium.org/11418261/diff/5003/content/renderer/browser_plugin/browser_plugin.cc#newcode264 content/renderer/browser_plugin/browser_plugin.cc:264: ...
8 years ago (2012-12-03 21:58:44 UTC) #10
Fady Samuel
Updated. PTAL. I now also update the <webview>'s DOM attributes in response to a change ...
8 years ago (2012-12-04 00:06:01 UTC) #11
sadrul
still LGTM! https://codereview.chromium.org/11418261/diff/12003/chrome/renderer/resources/extensions/web_view.js File chrome/renderer/resources/extensions/web_view.js (right): https://codereview.chromium.org/11418261/diff/12003/chrome/renderer/resources/extensions/web_view.js#newcode145 chrome/renderer/resources/extensions/web_view.js:145: console.log('observed object mutation'); remove this? https://codereview.chromium.org/11418261/diff/12003/content/renderer/browser_plugin/browser_plugin_bindings.cc File ...
8 years ago (2012-12-04 01:28:45 UTC) #12
Fady Samuel
Works. CQ'ing. https://codereview.chromium.org/11418261/diff/12003/chrome/renderer/resources/extensions/web_view.js File chrome/renderer/resources/extensions/web_view.js (right): https://codereview.chromium.org/11418261/diff/12003/chrome/renderer/resources/extensions/web_view.js#newcode145 chrome/renderer/resources/extensions/web_view.js:145: console.log('observed object mutation'); On 2012/12/04 01:28:46, sadrul ...
8 years ago (2012-12-04 01:57:30 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/11418261/4004
8 years ago (2012-12-04 01:58:00 UTC) #14
Fady Samuel
Err, by "works", I mean I fixed nits. :P Sorry for the momentary absent-mindedness.
8 years ago (2012-12-04 02:05:22 UTC) #15
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
8 years ago (2012-12-04 02:19:18 UTC) #16
commit-bot: I haz the power
8 years ago (2012-12-05 15:31:54 UTC) #17

Powered by Google App Engine
This is Rietveld 408576698