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

Issue 865723002: Improve comments on WebContentsObserver RenderFrame* methods and rename. (Closed)

Created:
5 years, 11 months ago by nasko
Modified:
5 years, 11 months ago
Reviewers:
Charlie Reis
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Improve comments on WebContentsObserver RenderFrame* methods and rename. This CL is the first step in a series of CLs to improve the WebContentsObserver interface and make it more consistent for RenderFrame(Host) notifications. It renames FrameDetached to FrameDeleted, to make it more generic and improved comments to reflect what objects the notification is about. BUG=450799 Committed: https://crrev.com/0052825251b5523c2d422c04651c376d97888dac Cr-Commit-Position: refs/heads/master@{#312534}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Fixes based on Charlie's review. #

Total comments: 1

Patch Set 3 : Fixing a nit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -36 lines) Patch
M content/browser/web_contents/web_contents_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/public/browser/web_contents.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M content/public/browser/web_contents_observer.h View 1 2 7 chunks +41 lines, -29 lines 0 comments Download
M content/public/test/web_contents_observer_sanity_checker.h View 2 chunks +1 line, -1 line 0 comments Download
M content/public/test/web_contents_observer_sanity_checker.cc View 2 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
nasko
Hey Charlie, Can you review this CL for me? It doesn't contain any code changes, ...
5 years, 11 months ago (2015-01-21 23:06:14 UTC) #2
Charlie Reis
Great. I'm glad to see this getting saner and more precise. https://codereview.chromium.org/865723002/diff/1/content/public/browser/web_contents.h File content/public/browser/web_contents.h (right): ...
5 years, 11 months ago (2015-01-22 00:17:16 UTC) #3
nasko
https://codereview.chromium.org/865723002/diff/1/content/public/browser/web_contents.h File content/public/browser/web_contents.h (right): https://codereview.chromium.org/865723002/diff/1/content/public/browser/web_contents.h#newcode197 content/public/browser/web_contents.h:197: // IsRenderFrameLive, as sending IPC messages to it will ...
5 years, 11 months ago (2015-01-22 00:27:23 UTC) #4
Charlie Reis
Thanks! LGTM. https://codereview.chromium.org/865723002/diff/20001/content/public/browser/web_contents_observer.h File content/public/browser/web_contents_observer.h (right): https://codereview.chromium.org/865723002/diff/20001/content/public/browser/web_contents_observer.h#newcode76 content/public/browser/web_contents_observer.h:76: // Use |RenderFrameHostChanged| to listen for when ...
5 years, 11 months ago (2015-01-22 00:50:34 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/865723002/40001
5 years, 11 months ago (2015-01-22 00:53:32 UTC) #7
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 11 months ago (2015-01-22 02:30:32 UTC) #8
commit-bot: I haz the power
5 years, 11 months ago (2015-01-22 02:31:18 UTC) #9
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/0052825251b5523c2d422c04651c376d97888dac
Cr-Commit-Position: refs/heads/master@{#312534}

Powered by Google App Engine
This is Rietveld 408576698