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

Unified Diff: content/renderer/render_view_impl.h

Issue 11316160: app.window: Replace linear view search with direct lookup. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: render_view_impl: Changed the FromRoutingID function into static method RenderViewImpl::FromRouting… Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/renderer/render_view.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.h
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index ce73969bdbb9091d2e00114428b8d4c90bfe31f4..512368885a022b85b812dd5723ee8eb53269c6f5 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -225,6 +225,9 @@ class CONTENT_EXPORT RenderViewImpl
// Returns the RenderViewImpl containing the given WebView.
static RenderViewImpl* FromWebView(WebKit::WebView* webview);
+ // Returns the RenderViewImpl for the given routing ID.
+ static RenderViewImpl* FromRoutingID(int routing_id);
+
// May return NULL when the view is closing.
WebKit::WebView* webview() const;
« no previous file with comments | « content/public/renderer/render_view.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698