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

Issue 11316160: app.window: Replace linear view search with direct lookup. (Closed)

Created:
8 years ago by Matt Giuca
Modified:
8 years ago
Reviewers:
jeremya, Charlie Reis
CC:
chromium-reviews, joi+watch-content_chromium.org, Aaron Boodman, jam, darin-cc_chromium.org, chromium-apps-reviews_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

app.window: Replace linear view search with direct lookup. Added method RenderView::FromRoutingID to expose internal lookup function. BUG=155398 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=171117

Patch Set 1 #

Total comments: 3

Patch Set 2 : render_view_impl: Changed the FromRoutingID function into static method RenderViewImpl::FromRouting… #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -38 lines) Patch
M chrome/renderer/extensions/app_window_custom_bindings.cc View 3 chunks +2 lines, -32 lines 0 comments Download
M content/public/renderer/render_view.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 chunks +12 lines, -6 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
Matt Giuca
Hi Jeremy, I found a method that does the routing-ID lookup just as you described ...
8 years ago (2012-11-26 05:05:30 UTC) #1
jeremya
+creis, who wrote the FromRoutingID function and has a much better general understanding of this ...
8 years ago (2012-11-26 06:30:41 UTC) #2
Matt Giuca
On 2012/11/26 06:30:41, jeremya wrote: > It looks from comments on the codereview for that ...
8 years ago (2012-11-26 06:50:41 UTC) #3
Charlie Reis
On 2012/11/26 06:50:41, Matt Giuca wrote: > On 2012/11/26 06:30:41, jeremya wrote: > > It ...
8 years ago (2012-11-27 00:32:13 UTC) #4
benwells
On 2012/11/27 00:32:13, creis wrote: > On 2012/11/26 06:50:41, Matt Giuca wrote: > > On ...
8 years ago (2012-11-27 01:35:59 UTC) #5
Matt Giuca
On 2012/11/27 00:32:13, creis wrote: > I don't have great alternatives to suggest at the ...
8 years ago (2012-11-27 01:51:08 UTC) #6
Matt Giuca
Here is a CL to fix the issue with FromRoutingID: https://codereview.chromium.org/11316209 I'll wait until that ...
8 years ago (2012-11-28 01:55:01 UTC) #7
Matt Giuca
That CL is now committed (revision 170708), so please take another look at this (jeremya). ...
8 years ago (2012-12-03 07:33:37 UTC) #8
Charlie Reis
https://codereview.chromium.org/11316160/diff/1/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/11316160/diff/1/content/renderer/render_view_impl.cc#newcode773 content/renderer/render_view_impl.cc:773: RenderView* RenderView::FromRoutingID(int routing_id) { Why do we need two ...
8 years ago (2012-12-03 19:29:39 UTC) #9
Matt Giuca
https://codereview.chromium.org/11316160/diff/1/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/11316160/diff/1/content/renderer/render_view_impl.cc#newcode773 content/renderer/render_view_impl.cc:773: RenderView* RenderView::FromRoutingID(int routing_id) { On 2012/12/03 19:29:39, creis wrote: ...
8 years ago (2012-12-03 23:22:22 UTC) #10
Charlie Reis
https://codereview.chromium.org/11316160/diff/1/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/11316160/diff/1/content/renderer/render_view_impl.cc#newcode773 content/renderer/render_view_impl.cc:773: RenderView* RenderView::FromRoutingID(int routing_id) { On 2012/12/03 23:22:22, Matt Giuca ...
8 years ago (2012-12-03 23:45:58 UTC) #11
Matt Giuca
On 2012/12/03 23:45:58, creis wrote: > Perhaps we should mimic FromWebView to stay consistent within ...
8 years ago (2012-12-03 23:50:47 UTC) #12
Matt Giuca
Made those changes. Please take another look, and re-run the trybots.
8 years ago (2012-12-04 07:52:56 UTC) #13
Charlie Reis
Thanks! LGTM.
8 years ago (2012-12-04 17:55:10 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mgiuca@chromium.org/11316160/9001
8 years ago (2012-12-04 23:20:42 UTC) #15
commit-bot: I haz the power
Presubmit check for 11316160-9001 failed and returned exit status 1. Running presubmit commit checks ...
8 years ago (2012-12-04 23:20:47 UTC) #16
Matt Giuca
Hey jeremya, can I get your LGTM (since you are an OWNER). Thanks.
8 years ago (2012-12-04 23:24:26 UTC) #17
jeremya
chrome/browser/extensions LGTM :)
8 years ago (2012-12-04 23:57:34 UTC) #18
jeremya
chrome/renderer/extensions even :p
8 years ago (2012-12-04 23:57:48 UTC) #19
Matt Giuca
On 2012/12/04 23:57:48, jeremya wrote: > chrome/renderer/extensions even :p Cheers!
8 years ago (2012-12-04 23:58:56 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mgiuca@chromium.org/11316160/9001
8 years ago (2012-12-04 23:59:57 UTC) #21
commit-bot: I haz the power
8 years ago (2012-12-05 01:36:08 UTC) #22
Message was sent while issue was closed.
Change committed as 171117

Powered by Google App Engine
This is Rietveld 408576698