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

Side by Side Diff: content/browser/browser_plugin/browser_plugin_embedder.cc

Issue 27408004: <webview>: Resolve relative paths as chrome-extension: URLs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed creis's comments Created 7 years, 1 month 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/browser_plugin/browser_plugin_embedder.h" 5 #include "content/browser/browser_plugin/browser_plugin_embedder.h"
6 6
7 #include "base/values.h" 7 #include "base/values.h"
8 #include "content/browser/browser_plugin/browser_plugin_guest.h" 8 #include "content/browser/browser_plugin/browser_plugin_guest.h"
9 #include "content/browser/browser_plugin/browser_plugin_guest_manager.h" 9 #include "content/browser/browser_plugin/browser_plugin_guest_manager.h"
10 #include "content/browser/browser_plugin/browser_plugin_host_factory.h" 10 #include "content/browser/browser_plugin/browser_plugin_host_factory.h"
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 if (guest) 231 if (guest)
232 render_view_host = guest->GetWebContents()->GetRenderViewHost(); 232 render_view_host = guest->GetWebContents()->GetRenderViewHost();
233 else // No plugin, use embedder's RenderViewHost. 233 else // No plugin, use embedder's RenderViewHost.
234 render_view_host = web_contents()->GetRenderViewHost(); 234 render_view_host = web_contents()->GetRenderViewHost();
235 235
236 callback_iter->second.Run(render_view_host, position.x(), position.y()); 236 callback_iter->second.Run(render_view_host, position.x(), position.y());
237 pending_get_render_view_callbacks_.erase(callback_iter); 237 pending_get_render_view_callbacks_.erase(callback_iter);
238 } 238 }
239 239
240 } // namespace content 240 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698