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

Issue 959413003: Implement <webview>.addContentScript/removeContentScript API [1] (Closed)

Created:
5 years, 9 months ago by Xi Han
Modified:
5 years, 8 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement <webview>.addContentScript/removeContentScript API [1]. This patch includes the changes that enables <webview>.addContentScript/removeContentScript API work on extensions. This is the first patch in a series of patches: 1) Implement <webview>.addContentScript/removeContentScript API [1] (https://codereview.chromium.org/959413003) 2) Implement <webview>.addContentScript/removeContentScript API [2] (https://codereview.chromium.org/1056533002) 3) Implement <webview>.addContentScript/removeContentScript API [3] (https://codereview.chromium.org/1058113002) TBR=asvitkine@chromium.org BUG=461052 Committed: https://crrev.com/05a02505462f29d067288ec9e5143c2daad5be78 Cr-Commit-Position: refs/heads/master@{#325492}

Patch Set 1 : Can compile and no crash on extensions. #

Total comments: 12

Patch Set 2 : Fady's comments. #

Patch Set 3 : API works on extensions. #

Patch Set 4 : Add a test. #

Total comments: 9

Patch Set 5 : Make the API work before the first navigation of guest. #

Total comments: 22

Patch Set 6 : Revert changes in ExtensionSystems and update WebViewContentScriptManager. #

Total comments: 2

Patch Set 7 : Make the sync_IPC handled in IO thread. #

Total comments: 42

Patch Set 8 : Plumb in IsIsolatedGuest status to render, some refactoring and rebase. #

Patch Set 9 : Fix a bug and add a test. #

Patch Set 10 : Rebase. #

Patch Set 11 : Add comments. #

Total comments: 5

Patch Set 12 : Remove plumbing of isolated guest status to renderer. #

Patch Set 13 : Rebase. #

Total comments: 29

Patch Set 14 : Devlin's comments and fix the incognito mode issue. #

Total comments: 9

Patch Set 15 : Add WebContentObserver for embedder's webcontents. #

Total comments: 7

Patch Set 16 : nits #

Patch Set 17 : Add a test for the lifetime of content scripts. #

Total comments: 102

Patch Set 18 : Delvin's comments. #

Total comments: 29

Patch Set 19 : Another round of comments. #

Total comments: 2

Patch Set 20 : nits. #

Patch Set 21 : Update allowed_everywhere for webUI. #

Total comments: 2

Patch Set 22 : Clean up in web_view_internal_api.cc. #

Total comments: 6

Patch Set 23 : Update comments #

Total comments: 12

Patch Set 24 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1427 lines, -78 lines) Patch
M chrome/browser/apps/guest_view/web_view_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +47 lines, -0 lines 0 comments Download
A + chrome/test/data/extensions/platform_apps/web_view/shim/guest_from_opener.html View 1 2 3 4 5 6 7 2 chunks +2 lines, -3 lines 0 comments Download
A + chrome/test/data/extensions/platform_apps/web_view/shim/inject_comm_channel_2.js View 1 2 3 4 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/test/data/extensions/platform_apps/web_view/shim/main.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 4 chunks +418 lines, -0 lines 0 comments Download
A + chrome/test/data/extensions/platform_apps/web_view/shim/simple_script.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +1 line, -2 lines 0 comments Download
M extensions/browser/api/guest_view/web_view/web_view_internal_api.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +34 lines, -0 lines 0 comments Download
M extensions/browser/api/guest_view/web_view/web_view_internal_api.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 5 chunks +247 lines, -0 lines 0 comments Download
M extensions/browser/declarative_user_script_master.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +8 lines, -0 lines 0 comments Download
M extensions/browser/declarative_user_script_master.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +10 lines, -0 lines 0 comments Download
M extensions/browser/extension_function_histogram_value.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +2 lines, -0 lines 1 comment Download
M extensions/browser/guest_view/guest_view_message_filter.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +4 lines, -0 lines 0 comments Download
M extensions/browser/guest_view/guest_view_message_filter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +17 lines, -0 lines 0 comments Download
M extensions/browser/guest_view/web_view/web_view_constants.h View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M extensions/browser/guest_view/web_view/web_view_constants.cc View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
A extensions/browser/guest_view/web_view/web_view_content_script_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +85 lines, -0 lines 0 comments Download
A extensions/browser/guest_view/web_view/web_view_content_script_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +269 lines, -0 lines 0 comments Download
M extensions/browser/guest_view/web_view/web_view_guest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +8 lines, -0 lines 0 comments Download
M extensions/browser/guest_view/web_view/web_view_renderer_state.h View 1 2 3 4 5 6 7 3 chunks +12 lines, -0 lines 0 comments Download
M extensions/browser/guest_view/web_view/web_view_renderer_state.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +40 lines, -0 lines 0 comments Download
M extensions/browser/user_script_loader.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +6 lines, -21 lines 0 comments Download
M extensions/common/api/web_view_internal.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +127 lines, -0 lines 0 comments Download
M extensions/common/guest_view/guest_view_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +5 lines, -0 lines 0 comments Download
M extensions/common/user_script.h View 1 2 3 4 5 chunks +0 lines, -26 lines 0 comments Download
M extensions/common/user_script.cc View 1 2 3 4 4 chunks +0 lines, -15 lines 0 comments Download
M extensions/extensions.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +2 lines, -0 lines 0 comments Download
M extensions/renderer/resources/guest_view/web_view/web_view_api_methods.js View 1 2 3 4 5 6 7 4 chunks +16 lines, -0 lines 0 comments Download
M extensions/renderer/user_script_injector.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 3 chunks +54 lines, -5 lines 0 comments Download
M extensions/renderer/user_script_set_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 80 (27 generated)
Xi Han
Hi Fady: I would like you to take a look this patch first. This would ...
5 years, 9 months ago (2015-03-03 20:18:33 UTC) #5
Fady Samuel
https://codereview.chromium.org/959413003/diff/60001/extensions/browser/api/web_view/web_view_internal_api.cc File extensions/browser/api/web_view/web_view_internal_api.cc (right): https://codereview.chromium.org/959413003/diff/60001/extensions/browser/api/web_view/web_view_internal_api.cc#newcode94 extensions/browser/api/web_view/web_view_internal_api.cc:94: true /* canExecuteScriptEverywhere*/)); Use unix_hacker style. https://codereview.chromium.org/959413003/diff/60001/extensions/browser/api/web_view/web_view_internal_api.cc#newcode162 extensions/browser/api/web_view/web_view_internal_api.cc:162: // ...
5 years, 9 months ago (2015-03-04 02:02:10 UTC) #6
Xi Han
Hi Fady, this patch worked on extension webview. Haven't added tests yet, but I would ...
5 years, 9 months ago (2015-03-06 17:29:08 UTC) #8
Xi Han
A test is added for extension webview. Please take a look, thanks!
5 years, 9 months ago (2015-03-06 20:33:57 UTC) #10
Fady Samuel
https://codereview.chromium.org/959413003/diff/160001/extensions/browser/api/web_view/web_view_internal_api.cc File extensions/browser/api/web_view/web_view_internal_api.cc (right): https://codereview.chromium.org/959413003/diff/160001/extensions/browser/api/web_view/web_view_internal_api.cc#newcode71 extensions/browser/api/web_view/web_view_internal_api.cc:71: void InitUserScript(UserScript* script, extensions::WebViewGuest* guest) { This is a ...
5 years, 9 months ago (2015-03-11 11:43:17 UTC) #11
Fady Samuel
https://codereview.chromium.org/959413003/diff/160001/extensions/browser/user_script_loader.cc File extensions/browser/user_script_loader.cc (left): https://codereview.chromium.org/959413003/diff/160001/extensions/browser/user_script_loader.cc#oldcode479 extensions/browser/user_script_loader.cc:479: if (process->IsIsolatedGuest()) Are we sure this doesn't break things ...
5 years, 9 months ago (2015-03-11 11:50:19 UTC) #12
Xi Han
Hi Fady, I didn't reply each of your last comments since the code changes a ...
5 years, 9 months ago (2015-03-25 19:52:40 UTC) #16
Fady Samuel
https://codereview.chromium.org/959413003/diff/260001/chrome/browser/extensions/extension_system_impl.cc File chrome/browser/extensions/extension_system_impl.cc (right): https://codereview.chromium.org/959413003/diff/260001/chrome/browser/extensions/extension_system_impl.cc#newcode312 chrome/browser/extensions/extension_system_impl.cc:312: web_view_content_script_manager_.reset( Let's not modify extensionsystem https://codereview.chromium.org/959413003/diff/260001/extensions/browser/guest_view/guest_view_message_filter.cc File extensions/browser/guest_view/guest_view_message_filter.cc (right): ...
5 years, 9 months ago (2015-03-27 20:25:37 UTC) #18
Xi Han
Hi Fady: PTAL, thanks:) https://codereview.chromium.org/959413003/diff/260001/chrome/browser/extensions/extension_system_impl.cc File chrome/browser/extensions/extension_system_impl.cc (right): https://codereview.chromium.org/959413003/diff/260001/chrome/browser/extensions/extension_system_impl.cc#newcode312 chrome/browser/extensions/extension_system_impl.cc:312: web_view_content_script_manager_.reset( On 2015/03/27 20:25:36, Fady ...
5 years, 8 months ago (2015-03-30 17:50:50 UTC) #21
Xi Han
Hi Fady: I update the IPC as discussed offline, PTAL, thanks!
5 years, 8 months ago (2015-03-31 19:49:39 UTC) #23
Fady Samuel
This is AMAZING! I've been playing with this locally and it works beautifully. At this ...
5 years, 8 months ago (2015-03-31 23:40:12 UTC) #24
Fady Samuel
https://codereview.chromium.org/959413003/diff/360001/chrome/browser/apps/guest_view/web_view_browsertest.cc File chrome/browser/apps/guest_view/web_view_browsertest.cc (right): https://codereview.chromium.org/959413003/diff/360001/chrome/browser/apps/guest_view/web_view_browsertest.cc#newcode1111 chrome/browser/apps/guest_view/web_view_browsertest.cc:1111: IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestAddAndRemoveContentScripts) { A NewWindow API test would be ...
5 years, 8 months ago (2015-03-31 23:41:12 UTC) #25
Fady Samuel
https://codereview.chromium.org/959413003/diff/360001/extensions/browser/user_script_loader.cc File extensions/browser/user_script_loader.cc (right): https://codereview.chromium.org/959413003/diff/360001/extensions/browser/user_script_loader.cc#newcode450 extensions/browser/user_script_loader.cc:450: SendUpdate(i.GetCurrentValue(), shared_memory_.get(), changed_hosts_); SendUpdate should contain a flag indicating ...
5 years, 8 months ago (2015-04-01 00:00:32 UTC) #26
Xi Han
PTAL, thanks! https://codereview.chromium.org/959413003/diff/320001/extensions/browser/guest_view/web_view/web_view_content_script_manager.cc File extensions/browser/guest_view/web_view/web_view_content_script_manager.cc (right): https://codereview.chromium.org/959413003/diff/320001/extensions/browser/guest_view/web_view/web_view_content_script_manager.cc#newcode17 extensions/browser/guest_view/web_view/web_view_content_script_manager.cc:17: using GuestContentScriptMap = std::map<GuestMapKey, ContentScriptMap>; On 2015/03/31 ...
5 years, 8 months ago (2015-04-01 22:14:42 UTC) #28
Xi Han
Hi Fady: I fixed a bug in my previous patch and add more tests to ...
5 years, 8 months ago (2015-04-02 15:44:49 UTC) #32
Fady Samuel
The more I think about it the more I believe a guest should not know ...
5 years, 8 months ago (2015-04-02 21:46:09 UTC) #33
Xi Han
Hi Devlin: This is the first part of this API, and it following patch is: ...
5 years, 8 months ago (2015-04-07 17:51:18 UTC) #35
Devlin
A few high-level comments first. https://codereview.chromium.org/959413003/diff/560001/extensions/browser/api/guest_view/web_view/web_view_internal_api.cc File extensions/browser/api/guest_view/web_view/web_view_internal_api.cc (right): https://codereview.chromium.org/959413003/diff/560001/extensions/browser/api/guest_view/web_view/web_view_internal_api.cc#newcode68 extensions/browser/api/guest_view/web_view/web_view_internal_api.cc:68: HostID GenerateHostID(const extensions::Extension* extension, ...
5 years, 8 months ago (2015-04-08 17:50:56 UTC) #36
Xi Han
Devlin:PTAL,thanks. https://codereview.chromium.org/959413003/diff/560001/extensions/browser/api/guest_view/web_view/web_view_internal_api.cc File extensions/browser/api/guest_view/web_view/web_view_internal_api.cc (right): https://codereview.chromium.org/959413003/diff/560001/extensions/browser/api/guest_view/web_view/web_view_internal_api.cc#newcode68 extensions/browser/api/guest_view/web_view/web_view_internal_api.cc:68: HostID GenerateHostID(const extensions::Extension* extension, On 2015/04/08 17:50:56, Devlin ...
5 years, 8 months ago (2015-04-08 22:10:37 UTC) #38
Fady Samuel
I just realized we need to do some lifetime management of content scripts here. See ...
5 years, 8 months ago (2015-04-08 22:40:04 UTC) #39
Xi Han
Hi Fady, I add the web contents observer for embedder, so we can clean up ...
5 years, 8 months ago (2015-04-09 19:16:43 UTC) #41
Devlin
https://codereview.chromium.org/959413003/diff/560001/extensions/browser/api/guest_view/web_view/web_view_internal_api.cc File extensions/browser/api/guest_view/web_view/web_view_internal_api.cc (right): https://codereview.chromium.org/959413003/diff/560001/extensions/browser/api/guest_view/web_view/web_view_internal_api.cc#newcode81 extensions/browser/api/guest_view/web_view/web_view_internal_api.cc:81: bool Parse(const ContentScriptDetails& script_value, On 2015/04/08 22:10:36, Xi Han ...
5 years, 8 months ago (2015-04-10 16:04:32 UTC) #42
Fady Samuel
Thanks for fixing the lifetime management issue. This still lgtm. I do see Devlin's comment ...
5 years, 8 months ago (2015-04-10 16:16:04 UTC) #43
Fady Samuel
https://codereview.chromium.org/959413003/diff/560001/extensions/browser/guest_view/web_view/web_view_content_script_manager.h File extensions/browser/guest_view/web_view/web_view_content_script_manager.h (right): https://codereview.chromium.org/959413003/diff/560001/extensions/browser/guest_view/web_view/web_view_content_script_manager.h#newcode26 extensions/browser/guest_view/web_view/web_view_content_script_manager.h:26: class WebViewContentScriptManager : public base::SupportsUserData::Data { On 2015/04/10 16:04:31, ...
5 years, 8 months ago (2015-04-10 16:44:28 UTC) #44
Devlin
https://codereview.chromium.org/959413003/diff/560001/extensions/browser/guest_view/web_view/web_view_content_script_manager.h File extensions/browser/guest_view/web_view/web_view_content_script_manager.h (right): https://codereview.chromium.org/959413003/diff/560001/extensions/browser/guest_view/web_view/web_view_content_script_manager.h#newcode26 extensions/browser/guest_view/web_view/web_view_content_script_manager.h:26: class WebViewContentScriptManager : public base::SupportsUserData::Data { On 2015/04/10 16:44:28, ...
5 years, 8 months ago (2015-04-10 17:38:57 UTC) #45
Xi Han
There isn't much code changes, but try my best to answer all the questions. https://codereview.chromium.org/959413003/diff/560001/extensions/browser/api/guest_view/web_view/web_view_internal_api.cc ...
5 years, 8 months ago (2015-04-10 18:27:07 UTC) #46
Devlin
https://codereview.chromium.org/959413003/diff/560001/extensions/browser/guest_view/web_view/web_view_content_script_manager.h File extensions/browser/guest_view/web_view/web_view_content_script_manager.h (right): https://codereview.chromium.org/959413003/diff/560001/extensions/browser/guest_view/web_view/web_view_content_script_manager.h#newcode26 extensions/browser/guest_view/web_view/web_view_content_script_manager.h:26: class WebViewContentScriptManager : public base::SupportsUserData::Data { On 2015/04/10 18:27:06, ...
5 years, 8 months ago (2015-04-10 18:31:36 UTC) #47
Xi Han
On 2015/04/10 18:31:36, Devlin wrote: > https://codereview.chromium.org/959413003/diff/560001/extensions/browser/guest_view/web_view/web_view_content_script_manager.h > File extensions/browser/guest_view/web_view/web_view_content_script_manager.h > (right): > > https://codereview.chromium.org/959413003/diff/560001/extensions/browser/guest_view/web_view/web_view_content_script_manager.h#newcode26 ...
5 years, 8 months ago (2015-04-10 18:38:26 UTC) #48
Xi Han
In the web_view_render_state.h(cc) we use a map to store the WebViewInfo, the key of this ...
5 years, 8 months ago (2015-04-10 18:40:00 UTC) #49
Devlin
https://codereview.chromium.org/959413003/diff/680001/chrome/test/data/extensions/platform_apps/web_view/shim/main.js File chrome/test/data/extensions/platform_apps/web_view/shim/main.js (right): https://codereview.chromium.org/959413003/diff/680001/chrome/test/data/extensions/platform_apps/web_view/shim/main.js#newcode754 chrome/test/data/extensions/platform_apps/web_view/shim/main.js:754: function testAddContentScript() { Describe what the test does in ...
5 years, 8 months ago (2015-04-13 19:21:49 UTC) #50
Xi Han
PTAL, thanks! https://codereview.chromium.org/959413003/diff/680001/chrome/test/data/extensions/platform_apps/web_view/shim/main.js File chrome/test/data/extensions/platform_apps/web_view/shim/main.js (right): https://codereview.chromium.org/959413003/diff/680001/chrome/test/data/extensions/platform_apps/web_view/shim/main.js#newcode754 chrome/test/data/extensions/platform_apps/web_view/shim/main.js:754: function testAddContentScript() { On 2015/04/13 19:21:46, Devlin ...
5 years, 8 months ago (2015-04-14 19:05:52 UTC) #52
Devlin
https://codereview.chromium.org/959413003/diff/680001/chrome/test/data/extensions/platform_apps/web_view/shim/main.js File chrome/test/data/extensions/platform_apps/web_view/shim/main.js (right): https://codereview.chromium.org/959413003/diff/680001/chrome/test/data/extensions/platform_apps/web_view/shim/main.js#newcode884 chrome/test/data/extensions/platform_apps/web_view/shim/main.js:884: }, 1000); On 2015/04/14 19:05:50, Xi Han wrote: > ...
5 years, 8 months ago (2015-04-14 23:04:58 UTC) #53
Xi Han
Hi Devlin, PTAL, thanks! https://codereview.chromium.org/959413003/diff/680001/chrome/test/data/extensions/platform_apps/web_view/shim/main.js File chrome/test/data/extensions/platform_apps/web_view/shim/main.js (right): https://codereview.chromium.org/959413003/diff/680001/chrome/test/data/extensions/platform_apps/web_view/shim/main.js#newcode884 chrome/test/data/extensions/platform_apps/web_view/shim/main.js:884: }, 1000); On 2015/04/14 23:04:57, ...
5 years, 8 months ago (2015-04-15 19:43:56 UTC) #54
Fady Samuel
https://codereview.chromium.org/959413003/diff/740001/extensions/browser/api/guest_view/web_view/web_view_internal_api.cc File extensions/browser/api/guest_view/web_view/web_view_internal_api.cc (right): https://codereview.chromium.org/959413003/diff/740001/extensions/browser/api/guest_view/web_view/web_view_internal_api.cc#newcode96 extensions/browser/api/guest_view/web_view/web_view_internal_api.cc:96: bool allowd_everywhere = false; nit: allowed_everywhere
5 years, 8 months ago (2015-04-15 19:48:39 UTC) #55
Xi Han
https://codereview.chromium.org/959413003/diff/740001/extensions/browser/api/guest_view/web_view/web_view_internal_api.cc File extensions/browser/api/guest_view/web_view/web_view_internal_api.cc (right): https://codereview.chromium.org/959413003/diff/740001/extensions/browser/api/guest_view/web_view/web_view_internal_api.cc#newcode96 extensions/browser/api/guest_view/web_view/web_view_internal_api.cc:96: bool allowd_everywhere = false; On 2015/04/15 19:48:39, Fady Samuel ...
5 years, 8 months ago (2015-04-15 19:53:10 UTC) #56
xiyuan
https://codereview.chromium.org/959413003/diff/680001/extensions/browser/api/guest_view/web_view/web_view_internal_api.cc File extensions/browser/api/guest_view/web_view/web_view_internal_api.cc (right): https://codereview.chromium.org/959413003/diff/680001/extensions/browser/api/guest_view/web_view/web_view_internal_api.cc#newcode95 extensions/browser/api/guest_view/web_view/web_view_internal_api.cc:95: true /* canExecuteScriptEverywhere */)); On 2015/04/15 19:43:55, Xi Han ...
5 years, 8 months ago (2015-04-15 19:56:10 UTC) #58
Xi Han
https://codereview.chromium.org/959413003/diff/680001/extensions/browser/api/guest_view/web_view/web_view_internal_api.cc File extensions/browser/api/guest_view/web_view/web_view_internal_api.cc (right): https://codereview.chromium.org/959413003/diff/680001/extensions/browser/api/guest_view/web_view/web_view_internal_api.cc#newcode95 extensions/browser/api/guest_view/web_view/web_view_internal_api.cc:95: true /* canExecuteScriptEverywhere */)); On 2015/04/15 19:56:10, xiyuan wrote: ...
5 years, 8 months ago (2015-04-15 20:13:49 UTC) #59
xiyuan
On 2015/04/15 20:13:49, Xi Han wrote: > https://codereview.chromium.org/959413003/diff/680001/extensions/browser/api/guest_view/web_view/web_view_internal_api.cc > File extensions/browser/api/guest_view/web_view/web_view_internal_api.cc > (right): > > ...
5 years, 8 months ago (2015-04-15 20:28:24 UTC) #60
Devlin
https://codereview.chromium.org/959413003/diff/680001/extensions/common/api/web_view_internal.json File extensions/common/api/web_view_internal.json (right): https://codereview.chromium.org/959413003/diff/680001/extensions/common/api/web_view_internal.json#newcode98 extensions/common/api/web_view_internal.json:98: "id": "RunLocation", On 2015/04/15 19:43:55, Xi Han wrote: > ...
5 years, 8 months ago (2015-04-15 20:58:06 UTC) #61
Xi Han
PTAL, thanks:) https://codereview.chromium.org/959413003/diff/680001/extensions/common/api/web_view_internal.json File extensions/common/api/web_view_internal.json (right): https://codereview.chromium.org/959413003/diff/680001/extensions/common/api/web_view_internal.json#newcode98 extensions/common/api/web_view_internal.json:98: "id": "RunLocation", On 2015/04/15 20:58:05, Devlin wrote: ...
5 years, 8 months ago (2015-04-16 15:12:22 UTC) #63
Fady Samuel
https://codereview.chromium.org/959413003/diff/820001/extensions/browser/api/guest_view/web_view/web_view_internal_api.cc File extensions/browser/api/guest_view/web_view/web_view_internal_api.cc (right): https://codereview.chromium.org/959413003/diff/820001/extensions/browser/api/guest_view/web_view/web_view_internal_api.cc#newcode95 extensions/browser/api/guest_view/web_view/web_view_internal_api.cc:95: // The defaul for WebUI is not having special ...
5 years, 8 months ago (2015-04-16 15:24:55 UTC) #64
Fady Samuel
https://codereview.chromium.org/959413003/diff/820001/extensions/browser/guest_view/web_view/web_view_content_script_manager.cc File extensions/browser/guest_view/web_view/web_view_content_script_manager.cc (right): https://codereview.chromium.org/959413003/diff/820001/extensions/browser/guest_view/web_view/web_view_content_script_manager.cc#newcode51 extensions/browser/guest_view/web_view/web_view_content_script_manager.cc:51: // If the embedder navigates to a different page ...
5 years, 8 months ago (2015-04-16 15:29:05 UTC) #65
Xi Han
https://codereview.chromium.org/959413003/diff/820001/extensions/browser/api/guest_view/web_view/web_view_internal_api.cc File extensions/browser/api/guest_view/web_view/web_view_internal_api.cc (right): https://codereview.chromium.org/959413003/diff/820001/extensions/browser/api/guest_view/web_view/web_view_internal_api.cc#newcode95 extensions/browser/api/guest_view/web_view/web_view_internal_api.cc:95: // The defaul for WebUI is not having special ...
5 years, 8 months ago (2015-04-16 15:38:12 UTC) #66
Devlin
LGTM https://codereview.chromium.org/959413003/diff/840001/extensions/browser/api/guest_view/web_view/web_view_internal_api.cc File extensions/browser/api/guest_view/web_view/web_view_internal_api.cc (right): https://codereview.chromium.org/959413003/diff/840001/extensions/browser/api/guest_view/web_view/web_view_internal_api.cc#newcode91 extensions/browser/api/guest_view/web_view/web_view_internal_api.cc:91: const std::vector<std::string>& matches = script_value.matches; nit: inline matches ...
5 years, 8 months ago (2015-04-16 16:17:39 UTC) #67
Xi Han
kenrb@chromium.org: Please review changes in -extensions/common/guest_view/guest_view_messages.h Thanks! https://codereview.chromium.org/959413003/diff/840001/extensions/browser/api/guest_view/web_view/web_view_internal_api.cc File extensions/browser/api/guest_view/web_view/web_view_internal_api.cc (right): https://codereview.chromium.org/959413003/diff/840001/extensions/browser/api/guest_view/web_view/web_view_internal_api.cc#newcode91 extensions/browser/api/guest_view/web_view/web_view_internal_api.cc:91: const std::vector<std::string>& ...
5 years, 8 months ago (2015-04-16 17:18:07 UTC) #69
kenrb
ipc lgtm
5 years, 8 months ago (2015-04-16 18:39:58 UTC) #70
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/959413003/860001
5 years, 8 months ago (2015-04-16 19:09:40 UTC) #73
commit-bot: I haz the power
Committed patchset #24 (id:860001)
5 years, 8 months ago (2015-04-16 19:15:59 UTC) #74
commit-bot: I haz the power
Patchset 24 (id:??) landed as https://crrev.com/05a02505462f29d067288ec9e5143c2daad5be78 Cr-Commit-Position: refs/heads/master@{#325492}
5 years, 8 months ago (2015-04-16 19:16:56 UTC) #75
Devlin
https://codereview.chromium.org/959413003/diff/860001/extensions/browser/extension_function_histogram_value.h File extensions/browser/extension_function_histogram_value.h (right): https://codereview.chromium.org/959413003/diff/860001/extensions/browser/extension_function_histogram_value.h#newcode1068 extensions/browser/extension_function_histogram_value.h:1068: // tools/metrics/histograms/histograms.xml. For future reference, this ^^. You need ...
5 years, 8 months ago (2015-04-17 00:29:23 UTC) #76
Xi Han
On 2015/04/17 00:29:23, Devlin wrote: > https://codereview.chromium.org/959413003/diff/860001/extensions/browser/extension_function_histogram_value.h > File extensions/browser/extension_function_histogram_value.h (right): > > https://codereview.chromium.org/959413003/diff/860001/extensions/browser/extension_function_histogram_value.h#newcode1068 > ...
5 years, 8 months ago (2015-04-17 12:50:32 UTC) #77
Devlin
On 2015/04/17 12:50:32, Xi Han wrote: > Thank you Devlin, I would update histograms.xml if ...
5 years, 8 months ago (2015-04-17 15:48:11 UTC) #78
Xi Han
5 years, 8 months ago (2015-04-17 17:08:51 UTC) #80
Message was sent while issue was closed.
On 2015/04/17 15:48:11, Devlin wrote:
> On 2015/04/17 12:50:32, Xi Han wrote:
> > Thank you Devlin, I would update histograms.xml if I knew that I need to
> change
> > histograms.xml. I didn't get any warning since I TBR the owner of
> > extension_function_histogram_value.h. Thanks for letting me know again:)
> 
> Ah, missed the TBR.  That explains it.
> 
> In the future, please use TBR judiciously.  It's meant for minor/mechanical
> changes.  Also, the reason extension_function_histogram_values.h has a
different
> set of OWNERS than extensions/ is because almost any change to the metrics
file
> is significant enough to warrant a real review by a metrics OWNER.
> 
> Also, usually TBR etiquette is to still add the TBR'ed reviewer to the list of
> reviewers, so that they can still see the patch (TBR means To Be Reviewed, so
it
> should still be seen by them at some point).

Got it, added the asvitkine@ as a reviewer, and will send my future patch to a
real reviewer if I make changes in extension_function_histogram_values.h.

Powered by Google App Engine
This is Rietveld 408576698