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

Issue 698973003: Got rid of the internal copies of webview attributes. (Closed)

Created:
6 years, 1 month ago by paulmeyer
Modified:
6 years, 1 month ago
Reviewers:
Fady Samuel
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

Got rid of the internal copies of webview attributes. Webview attributes are now only stored in one location (in the webview node), so that all the code needed to sync up the copies could be removed (and was). Also reworked the behavior of the |allowtransparency| and |autosize| to be both consistent with each other and more intuitive in general (they are both treated like booleans now). I updated the tests to reflect this new behavior. Committed: https://crrev.com/abb035a09b79c2e0b6d9fb87b47e823e2f8e0549 Cr-Commit-Position: refs/heads/master@{#302661}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressed comments. #

Patch Set 3 : Took out more useless code. #

Patch Set 4 : Fixed app_shell test. #

Patch Set 5 : Small fix. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+143 lines, -160 lines) Patch
M chrome/browser/apps/web_view_browsertest.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/test/data/extensions/platform_apps/web_view/shim/main.js View 5 chunks +24 lines, -18 lines 0 comments Download
M extensions/browser/guest_view/web_view/web_view_apitest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M extensions/renderer/resources/guest_view/web_view.js View 1 2 20 chunks +46 lines, -82 lines 0 comments Download
M extensions/renderer/resources/guest_view/web_view_attributes.js View 1 2 3 4 2 chunks +50 lines, -42 lines 0 comments Download
M extensions/test/data/web_view/apitest/main.js View 1 2 3 3 chunks +17 lines, -14 lines 0 comments Download

Messages

Total messages: 20 (8 generated)
paulmeyer
+fsamuel@
6 years, 1 month ago (2014-11-03 22:26:32 UTC) #1
Fady Samuel
LGTM but can we reuse the test code in extensions? https://codereview.chromium.org/698973003/diff/1/extensions/renderer/resources/guest_view/web_view.js File extensions/renderer/resources/guest_view/web_view.js (right): https://codereview.chromium.org/698973003/diff/1/extensions/renderer/resources/guest_view/web_view.js#newcode454 ...
6 years, 1 month ago (2014-11-03 22:38:18 UTC) #3
paulmeyer
Addressed comments. https://codereview.chromium.org/698973003/diff/1/extensions/renderer/resources/guest_view/web_view.js File extensions/renderer/resources/guest_view/web_view.js (right): https://codereview.chromium.org/698973003/diff/1/extensions/renderer/resources/guest_view/web_view.js#newcode454 extensions/renderer/resources/guest_view/web_view.js:454: var result = {}; On 2014/11/03 22:38:18, ...
6 years, 1 month ago (2014-11-03 22:58:19 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/698973003/20001
6 years, 1 month ago (2014-11-03 23:00:24 UTC) #6
Fady Samuel
still lgtm
6 years, 1 month ago (2014-11-03 23:14:53 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/698973003/60001
6 years, 1 month ago (2014-11-04 14:41:27 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/22011)
6 years, 1 month ago (2014-11-04 14:47:30 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/698973003/60001
6 years, 1 month ago (2014-11-04 15:25:16 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/2653)
6 years, 1 month ago (2014-11-04 16:27:17 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/698973003/80001
6 years, 1 month ago (2014-11-04 19:54:17 UTC) #18
commit-bot: I haz the power
Committed patchset #5 (id:80001)
6 years, 1 month ago (2014-11-04 21:01:54 UTC) #19
commit-bot: I haz the power
6 years, 1 month ago (2014-11-04 21:02:24 UTC) #20
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/abb035a09b79c2e0b6d9fb87b47e823e2f8e0549
Cr-Commit-Position: refs/heads/master@{#302661}

Powered by Google App Engine
This is Rietveld 408576698