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

Unified Diff: content/browser/browser_plugin/browser_plugin_guest.cc

Issue 261363002: Rename BrowserPluginGuestManagerDelegate to BrowserPluginGuestManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@guestview_manager_cleanupguestmanager
Patch Set: Fixed Android Build (Hopefully) Created 6 years, 7 months 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
Index: content/browser/browser_plugin/browser_plugin_guest.cc
diff --git a/content/browser/browser_plugin/browser_plugin_guest.cc b/content/browser/browser_plugin/browser_plugin_guest.cc
index 20a69cb54f0606d4ffa196983b82b015cbf08f38..b1ca054488c5db69d3f66f25cf398be5dcdb4779 100644
--- a/content/browser/browser_plugin/browser_plugin_guest.cc
+++ b/content/browser/browser_plugin/browser_plugin_guest.cc
@@ -29,7 +29,7 @@
#include "content/common/input_messages.h"
#include "content/common/view_messages.h"
#include "content/public/browser/browser_context.h"
-#include "content/public/browser/browser_plugin_guest_manager_delegate.h"
+#include "content/public/browser/browser_plugin_guest_manager.h"
#include "content/public/browser/content_browser_client.h"
#include "content/public/browser/navigation_controller.h"
#include "content/public/browser/render_widget_host_view.h"
@@ -310,7 +310,7 @@ void BrowserPluginGuest::RequestPermission(
BrowserPluginGuest* BrowserPluginGuest::CreateNewGuestWindow(
const OpenURLParams& params) {
- BrowserPluginGuestManagerDelegate* guest_manager =
+ BrowserPluginGuestManager* guest_manager =
GetBrowserPluginGuestManager();
// Allocate a new instance ID for the new guest.
@@ -582,9 +582,9 @@ void BrowserPluginGuest::CopyFromCompositingSurface(
copy_request_id_, src_subrect, dst_size));
}
-BrowserPluginGuestManagerDelegate*
+BrowserPluginGuestManager*
BrowserPluginGuest::GetBrowserPluginGuestManager() const {
- return GetWebContents()->GetBrowserContext()->GetGuestManagerDelegate();
+ return GetWebContents()->GetBrowserContext()->GetGuestManager();
}
// screen.

Powered by Google App Engine
This is Rietveld 408576698