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

Unified Diff: components/guest_view/browser/guest_view_manager.h

Issue 1102173002: Move GuestView layer in browser to components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed John's comments Created 5 years, 8 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: components/guest_view/browser/guest_view_manager.h
diff --git a/extensions/browser/guest_view/guest_view_manager.h b/components/guest_view/browser/guest_view_manager.h
similarity index 93%
rename from extensions/browser/guest_view/guest_view_manager.h
rename to components/guest_view/browser/guest_view_manager.h
index e1fb334c184151abfb0f4a9a1ec04f21693a28b7..f51d0a6d21eac4d236d68584dc3c1143c131805f 100644
--- a/extensions/browser/guest_view/guest_view_manager.h
+++ b/components/guest_view/browser/guest_view_manager.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 EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_MANAGER_H_
-#define EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_MANAGER_H_
+#ifndef COMPONENTS_GUEST_VIEW_BROWSER_GUEST_VIEW_MANAGER_H_
+#define COMPONENTS_GUEST_VIEW_BROWSER_GUEST_VIEW_MANAGER_H_
#include <map>
@@ -22,26 +22,24 @@ class BrowserContext;
class WebContents;
} // namespace content
-namespace guestview {
-class GuestViewManagerDelegate;
-} // namespace guestview
+namespace guest_view {
-namespace extensions{
class GuestViewBase;
+class GuestViewManagerDelegate;
class GuestViewManagerFactory;
class GuestViewManager : public content::BrowserPluginGuestManager,
public base::SupportsUserData::Data {
public:
GuestViewManager(content::BrowserContext* context,
- scoped_ptr<guestview::GuestViewManagerDelegate> delegate);
+ scoped_ptr<GuestViewManagerDelegate> delegate);
~GuestViewManager() override;
// Returns the GuestViewManager associated with |context|. If one isn't
// available, then it is created and returned.
static GuestViewManager* CreateWithDelegate(
content::BrowserContext* context,
- scoped_ptr<guestview::GuestViewManagerDelegate> delegate);
+ scoped_ptr<GuestViewManagerDelegate> delegate);
// Returns the GuestViewManager associated with |context|. If one isn't
// available, then nullptr is returned.
@@ -204,11 +202,11 @@ class GuestViewManager : public content::BrowserPluginGuestManager,
content::BrowserContext* context_;
- scoped_ptr<guestview::GuestViewManagerDelegate> delegate_;
+ scoped_ptr<GuestViewManagerDelegate> delegate_;
DISALLOW_COPY_AND_ASSIGN(GuestViewManager);
};
-} // namespace extensions
+} // namespace guest_view
-#endif // EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_MANAGER_H_
+#endif // COMPONETS_GUEST_VIEW_BROWSER_GUEST_VIEW_MANAGER_H_
« no previous file with comments | « components/guest_view/browser/guest_view_event.cc ('k') | components/guest_view/browser/guest_view_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698