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

Unified Diff: extensions/browser/guest_view/app_view/app_view_guest.h

Issue 486903002: Moving app_view to extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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/browser/guest_view/app_view/app_view_guest.h
diff --git a/chrome/browser/guest_view/app_view/app_view_guest.h b/extensions/browser/guest_view/app_view/app_view_guest.h
similarity index 87%
rename from chrome/browser/guest_view/app_view/app_view_guest.h
rename to extensions/browser/guest_view/app_view/app_view_guest.h
index ef490814e8f4ff5b03402f6acfefa055eed27a04..290c0c382119397b1b03e675caa514d39d0a4390 100644
--- a/chrome/browser/guest_view/app_view/app_view_guest.h
+++ b/extensions/browser/guest_view/app_view/app_view_guest.h
@@ -2,11 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_GUEST_VIEW_APP_VIEW_APP_VIEW_GUEST_H_
-#define CHROME_BROWSER_GUEST_VIEW_APP_VIEW_APP_VIEW_GUEST_H_
+#ifndef EXTENSIONS_BROWSER_GUEST_VIEW_APP_VIEW_APP_VIEW_GUEST_H_
+#define EXTENSIONS_BROWSER_GUEST_VIEW_APP_VIEW_APP_VIEW_GUEST_H_
#include "base/id_map.h"
#include "extensions/browser/extension_function_dispatcher.h"
+#include "extensions/browser/guest_view/app_view/app_view_guest_delegate.h"
#include "extensions/browser/guest_view/guest_view.h"
namespace extensions {
@@ -55,8 +56,7 @@ class AppViewGuest : public GuestView<AppViewGuest>,
virtual void DidInitialize() OVERRIDE;
private:
- AppViewGuest(content::BrowserContext* browser_context,
- int guest_instance_id);
+ AppViewGuest(content::BrowserContext* browser_context, int guest_instance_id);
virtual ~AppViewGuest();
@@ -73,6 +73,7 @@ class AppViewGuest : public GuestView<AppViewGuest>,
GURL url_;
std::string guest_extension_id_;
scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_;
+ scoped_ptr<AppViewGuestDelegate> app_view_guest_delegate_;
// This is used to ensure pending tasks will not fire after this object is
// destroyed.
@@ -83,4 +84,4 @@ class AppViewGuest : public GuestView<AppViewGuest>,
} // namespace extensions
-#endif // CHROME_BROWSER_GUEST_VIEW_APP_VIEW_APP_VIEW_GUEST_H_
+#endif // EXTENSIONS_BROWSER_GUEST_VIEW_APP_VIEW_APP_VIEW_GUEST_H_
« no previous file with comments | « extensions/browser/guest_view/app_view/app_view_constants.cc ('k') | extensions/browser/guest_view/app_view/app_view_guest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698