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

Issue 488083005: Remove code duplication in PageManager (Closed)

Created:
6 years, 4 months ago by michaelpg
Modified:
6 years, 3 months ago
Reviewers:
Dan Beam
CC:
chromium-reviews, oshima+watch_chromium.org, stevenjb
Project:
chromium
Visibility:
Public.

Description

Remove code duplication in PageManager BUG=313244 R=dbeam@chromium.org Committed: https://crrev.com/c1b047635dd175317ec54702a9a03e1af823a9b7 Cr-Commit-Position: refs/heads/master@{#291577}

Patch Set 1 : #

Total comments: 5

Patch Set 2 : #

Total comments: 5

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -29 lines) Patch
M ui/webui/resources/js/cr/ui/page_manager/page_manager.js View 1 2 3 chunks +28 lines, -29 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
michaelpg
PTAL. No rush.
6 years, 4 months ago (2014-08-20 22:37:05 UTC) #1
Dan Beam
+30 lines, -29 lines, +1 method and loss of context while reading code => :( ...
6 years, 4 months ago (2014-08-20 23:54:03 UTC) #2
michaelpg
(I accidentally the patch set, so I re-uploaded it and added your comments with my ...
6 years, 4 months ago (2014-08-21 00:29:18 UTC) #3
Dan Beam
lgtm https://codereview.chromium.org/488083005/diff/140001/ui/webui/resources/js/cr/ui/page_manager/page_manager.js File ui/webui/resources/js/cr/ui/page_manager/page_manager.js (right): https://codereview.chromium.org/488083005/diff/140001/ui/webui/resources/js/cr/ui/page_manager/page_manager.js#newcode181 ui/webui/resources/js/cr/ui/page_manager/page_manager.js:181: var isRootPageLocked = nit: isRootPageLocked could be created ...
6 years, 4 months ago (2014-08-21 18:53:51 UTC) #4
michaelpg
On 2014/08/20 23:54:03, Dan Beam wrote: > +30 lines, -29 lines, +1 method and loss ...
6 years, 4 months ago (2014-08-22 00:25:21 UTC) #5
Dan Beam
On 2014/08/22 00:25:21, michaelpg wrote: > On 2014/08/20 23:54:03, Dan Beam wrote: > > +30 ...
6 years, 4 months ago (2014-08-22 00:39:25 UTC) #6
michaelpg
Understood, but seems hard to avoid when the function makes sense as a private member ...
6 years, 4 months ago (2014-08-22 04:33:27 UTC) #7
michaelpg
Thanks. https://codereview.chromium.org/488083005/diff/140001/ui/webui/resources/js/cr/ui/page_manager/page_manager.js File ui/webui/resources/js/cr/ui/page_manager/page_manager.js (right): https://codereview.chromium.org/488083005/diff/140001/ui/webui/resources/js/cr/ui/page_manager/page_manager.js#newcode181 ui/webui/resources/js/cr/ui/page_manager/page_manager.js:181: var isRootPageLocked = On 2014/08/21 18:53:51, Dan Beam ...
6 years, 4 months ago (2014-08-22 22:37:33 UTC) #8
michaelpg
The CQ bit was checked by michaelpg@chromium.org
6 years, 4 months ago (2014-08-22 22:37:39 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaelpg@chromium.org/488083005/180001
6 years, 4 months ago (2014-08-22 22:38:04 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (180001) as 50bf523b2b43c932f9824b200f411960e54ea12a
6 years, 4 months ago (2014-08-23 21:18:53 UTC) #11
michaelpg
Patchset #4 (id:200001) has been deleted
6 years, 3 months ago (2014-08-27 00:37:21 UTC) #12
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 02:30:48 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/c1b047635dd175317ec54702a9a03e1af823a9b7
Cr-Commit-Position: refs/heads/master@{#291577}

Powered by Google App Engine
This is Rietveld 408576698