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

Issue 663483004: Webview attributes overhaul. (Closed)

Created:
6 years, 2 months ago by paulmeyer
Modified:
6 years, 2 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Webview attributes overhaul. ********** This is an initial working reimplementation of webview attributes that will allow for many improvements to how webview handles attributes (and with much less code repetition!) in future CLs. In this CL: - Created a new web_view_attributes.js file to contain the implementation of webview attributes. - Reimplemented all webview attributes as objects that share common properties through inheritance, and can be operated on more consistently (this is important for automating the handling of attributes in later CLs). - Constants are now used for attribute names consistently throughout webview. Committed: https://crrev.com/884a5b43cba6a19b8d067fed99dc2906ed0ef656 Cr-Commit-Position: refs/heads/master@{#300980}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Addressed comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+198 lines, -102 lines) Patch
M extensions/renderer/dispatcher.cc View 2 chunks +3 lines, -0 lines 0 comments Download
M extensions/renderer/resources/extensions_renderer_resources.grd View 1 chunk +1 line, -0 lines 0 comments Download
M extensions/renderer/resources/guest_view/web_view.js View 1 20 chunks +92 lines, -102 lines 0 comments Download
A extensions/renderer/resources/guest_view/web_view_attributes.js View 1 1 chunk +97 lines, -0 lines 0 comments Download
M extensions/renderer/resources/guest_view/web_view_constants.js View 1 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
paulmeyer
+fsamuel@ for guest_view/ +rockot@ for dispatcher.cc and extensions_renderer_resources.grd
6 years, 2 months ago (2014-10-22 21:35:40 UTC) #2
Fady Samuel
https://codereview.chromium.org/663483004/diff/1/extensions/renderer/resources/guest_view/web_view.js File extensions/renderer/resources/guest_view/web_view.js (right): https://codereview.chromium.org/663483004/diff/1/extensions/renderer/resources/guest_view/web_view.js#newcode19 extensions/renderer/resources/guest_view/web_view.js:19: var BROWSER_PLUGIN_ATTRIBUTE_INTERNALINSTANCEID = 'internalinstanceid' Move to WebViewConstants? https://codereview.chromium.org/663483004/diff/1/extensions/renderer/resources/guest_view/web_view.js#newcode256 extensions/renderer/resources/guest_view/web_view.js:256: ...
6 years, 2 months ago (2014-10-22 21:48:27 UTC) #3
paulmeyer
ptal https://codereview.chromium.org/663483004/diff/1/extensions/renderer/resources/guest_view/web_view.js File extensions/renderer/resources/guest_view/web_view.js (right): https://codereview.chromium.org/663483004/diff/1/extensions/renderer/resources/guest_view/web_view.js#newcode19 extensions/renderer/resources/guest_view/web_view.js:19: var BROWSER_PLUGIN_ATTRIBUTE_INTERNALINSTANCEID = 'internalinstanceid' On 2014/10/22 21:48:26, Fady ...
6 years, 2 months ago (2014-10-23 21:39:56 UTC) #5
Ken Rockot(use gerrit already)
general extensions bits lgtm
6 years, 2 months ago (2014-10-23 21:42:47 UTC) #6
Fady Samuel
lgtm
6 years, 2 months ago (2014-10-23 21:50:14 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/663483004/40001
6 years, 2 months ago (2014-10-23 21:59:50 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:40001)
6 years, 2 months ago (2014-10-23 23:35:34 UTC) #10
commit-bot: I haz the power
6 years, 2 months ago (2014-10-23 23:36:23 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/884a5b43cba6a19b8d067fed99dc2906ed0ef656
Cr-Commit-Position: refs/heads/master@{#300980}

Powered by Google App Engine
This is Rietveld 408576698