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

Unified Diff: extensions/renderer/guest_view/guest_view_container.h

Issue 577453002: Rename ChromeBrowserPluginDelegate to GuestViewContainer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments Created 6 years, 3 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: extensions/renderer/guest_view/guest_view_container.h
diff --git a/chrome/renderer/browser_plugin/chrome_browser_plugin_delegate.h b/extensions/renderer/guest_view/guest_view_container.h
similarity index 55%
rename from chrome/renderer/browser_plugin/chrome_browser_plugin_delegate.h
rename to extensions/renderer/guest_view/guest_view_container.h
index fa08dbd6e9bafb7534817121afca17eb4c5dbe5a..63cc79fd63187385225d368a67dc3e9552898f3c 100644
--- a/chrome/renderer/browser_plugin/chrome_browser_plugin_delegate.h
+++ b/extensions/renderer/guest_view/guest_view_container.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_RENDERER_BROWSER_PLUGIN_CHROME_BROWSER_PLUGIN_DELEGATE_H_
-#define CHROME_RENDERER_BROWSER_PLUGIN_CHROME_BROWSER_PLUGIN_DELEGATE_H_
+#ifndef CHROME_RENDERER_GUEST_VIEW_GUEST_VIEW_CONTAINER_H_
+#define CHROME_RENDERER_GUEST_VIEW_GUEST_VIEW_CONTAINER_H_
#include "content/public/renderer/browser_plugin_delegate.h"
@@ -11,12 +11,12 @@
#include "ipc/ipc_listener.h"
// TODO(lazyboy): This should live under /extensions.
-class ChromeBrowserPluginDelegate : public content::BrowserPluginDelegate,
- public content::RenderFrameObserver {
+class GuestViewContainer : public content::BrowserPluginDelegate,
+ public content::RenderFrameObserver {
public:
- ChromeBrowserPluginDelegate(content::RenderFrame* render_frame,
- const std::string& mime_type);
- virtual ~ChromeBrowserPluginDelegate();
+ GuestViewContainer(content::RenderFrame* render_frame,
+ const std::string& mime_type);
+ virtual ~GuestViewContainer();
// BrowserPluginDelegate implementation.
virtual void SetElementInstanceID(int element_instance_id) OVERRIDE;
@@ -27,13 +27,13 @@ class ChromeBrowserPluginDelegate : public content::BrowserPluginDelegate,
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
private:
- void OnCreateMimeHandlerViewGuestACK(int browser_plugin_delegate);
+ void OnCreateMimeHandlerViewGuestACK(int element_instance_id);
const std::string mime_type_;
int element_instance_id_;
std::string html_string_;
- DISALLOW_COPY_AND_ASSIGN(ChromeBrowserPluginDelegate);
+ DISALLOW_COPY_AND_ASSIGN(GuestViewContainer);
};
-#endif // CHROME_RENDERER_BROWSER_PLUGIN_CHROME_BROWSER_PLUGIN_DELEGATE_H_
+#endif // CHROME_RENDERER_GUEST_VIEW_GUEST_VIEW_CONTAINER_H_

Powered by Google App Engine
This is Rietveld 408576698