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

Issue 2942583004: Move *GetWebApplicationInfo IPCs from "view" to "frame". (Closed)

Created:
3 years, 6 months ago by Łukasz Anforowicz
Modified:
3 years, 6 months ago
CC:
agrieve+watch_chromium.org, chromium-apps-reviews_chromium.org, chromium-reviews, darin-cc_chromium.org, dominickn+watch_chromium.org, extensions-reviews_chromium.org, jam, Matt Giuca, pkotwicz+watch_chromium.org, tapted, zpeng+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Move *GetWebApplicationInfo IPCs from "view" to "frame". This CL addresses a TODO from chrome/renderer/chrome_render_view_observer.cc to associate ChromeViewMsg_GetWebApplicationInfo and ChromeViewHostMsg_DidGetWebApplicationInfo IPCs with frame, rather than view. This CL helps ensure that ChromeRenderFrameObserver::OnGetWebApplicationInfo (formerly a method of ChromeRender*View*Observer) always operates on a local frame (and therefore this CL helps with moving GetDocument method from WebFrame to WebLocalFrame in a follow-up CL - https://crrev.com/2928033002). BUG=416660 Review-Url: https://codereview.chromium.org/2942583004 Cr-Commit-Position: refs/heads/master@{#481026} Committed: https://chromium.googlesource.com/chromium/src/+/53fe8fd80924fbc0e06f92ec85d5a7207d65ce77

Patch Set 1 #

Patch Set 2 : . #

Total comments: 3

Patch Set 3 : Rebasing... #

Total comments: 2

Patch Set 4 : s/page/frame/ in a comment in render_messages.h #

Patch Set 5 : Rebasing... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -79 lines) Patch
M chrome/browser/android/webapps/add_to_homescreen_data_fetcher.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc View 1 2 3 3 chunks +7 lines, -3 lines 0 comments Download
M chrome/browser/extensions/bookmark_app_helper_browsertest.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/extensions/tab_helper.h View 3 chunks +7 lines, -3 lines 0 comments Download
M chrome/browser/extensions/tab_helper.cc View 3 chunks +9 lines, -14 lines 0 comments Download
M chrome/browser/web_applications/web_app_unittest.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/common/render_messages.h View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/renderer/chrome_render_frame_observer.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/chrome_render_frame_observer.cc View 1 2 4 chunks +45 lines, -0 lines 0 comments Download
M chrome/renderer/chrome_render_view_observer.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/renderer/chrome_render_view_observer.cc View 3 chunks +0 lines, -48 lines 0 comments Download
M content/public/test/test_renderer_host.h View 1 chunk +5 lines, -0 lines 0 comments Download
M content/public/test/test_renderer_host.cc View 1 chunk +6 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 40 (28 generated)
Łukasz Anforowicz
mlamouri@, I wonder if you could PTAL? (I understand that you might not own most ...
3 years, 6 months ago (2017-06-15 04:05:40 UTC) #10
mlamouri (slow - plz ping)
lgtm Thanks for doing this! :)
3 years, 6 months ago (2017-06-15 13:44:27 UTC) #11
Łukasz Anforowicz
jochen@, could you PTAL? (you are an OWNER for 12/13 files in this CL :-)
3 years, 6 months ago (2017-06-15 15:07:39 UTC) #13
jochen (gone - plz use gerrit)
can you help me understand why you had to change the OnMessageReceived method to take ...
3 years, 6 months ago (2017-06-19 13:04:32 UTC) #18
Łukasz Anforowicz
On 2017/06/19 13:04:32, jochen wrote: > can you help me understand why you had to ...
3 years, 6 months ago (2017-06-19 14:18:47 UTC) #19
jochen (gone - plz use gerrit)
lgtm
3 years, 6 months ago (2017-06-20 06:46:19 UTC) #20
Łukasz Anforowicz
dcheng@, could you PTAL do an IPC security review of @ chrome/common/render_messages.h?
3 years, 6 months ago (2017-06-20 15:08:07 UTC) #23
Łukasz Anforowicz
Actually adding dcheng@ this time... (PTAL @ chrome/common/render_messages.h).
3 years, 6 months ago (2017-06-20 19:39:49 UTC) #27
dcheng
ipc lgtm (Btw, is this another example of a main-frame only IPC? seems like it?)
3 years, 6 months ago (2017-06-20 23:29:43 UTC) #33
Łukasz Anforowicz
On 2017/06/20 23:29:43, dcheng wrote: > ipc lgtm Thanks. > (Btw, is this another example ...
3 years, 6 months ago (2017-06-20 23:33:13 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2942583004/80001
3 years, 6 months ago (2017-06-20 23:33:36 UTC) #37
commit-bot: I haz the power
3 years, 6 months ago (2017-06-20 23:38:55 UTC) #40
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/53fe8fd80924fbc0e06f92ec85d5...

Powered by Google App Engine
This is Rietveld 408576698