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

Unified Diff: extensions/browser/guest_view/extension_options/extension_options_guest.h

Issue 556563003: Move ExtensionOptionsGuest code from chrome to extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix gn 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/browser/guest_view/extension_options/extension_options_guest.h
diff --git a/chrome/browser/guest_view/extension_options/extension_options_guest.h b/extensions/browser/guest_view/extension_options/extension_options_guest.h
similarity index 83%
rename from chrome/browser/guest_view/extension_options/extension_options_guest.h
rename to extensions/browser/guest_view/extension_options/extension_options_guest.h
index 5602364944b217cb07d93ff1b1fcfd3e0e5b00e3..855ae9d0d8284fcbc3101f7fab42ac9738eabd33 100644
--- a/chrome/browser/guest_view/extension_options/extension_options_guest.h
+++ b/extensions/browser/guest_view/extension_options/extension_options_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_EXTENSION_OPTIONS_EXTENSION_OPTIONS_GUEST_H_
-#define CHROME_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_EXTENSION_OPTIONS_GUEST_H_
+#ifndef EXTENSIONS_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_EXTENSION_OPTIONS_GUEST_H_
+#define EXTENSIONS_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_EXTENSION_OPTIONS_GUEST_H_
#include "base/macros.h"
#include "extensions/browser/extension_function_dispatcher.h"
+#include "extensions/browser/guest_view/extension_options/extension_options_guest_delegate.h"
#include "extensions/browser/guest_view/guest_view.h"
#include "url/gurl.h"
@@ -20,7 +21,8 @@ class ExtensionOptionsGuest
public:
static const char Type[];
static extensions::GuestViewBase* Create(
- content::BrowserContext* browser_context, int guest_instance_id);
+ content::BrowserContext* browser_context,
+ int guest_instance_id);
// GuestViewBase implementation.
virtual void CreateWebContents(
@@ -69,9 +71,11 @@ class ExtensionOptionsGuest
scoped_ptr<extensions::ExtensionFunctionDispatcher>
extension_function_dispatcher_;
+ scoped_ptr<extensions::ExtensionOptionsGuestDelegate>
+ extension_options_guest_delegate_;
GURL options_page_;
DISALLOW_COPY_AND_ASSIGN(ExtensionOptionsGuest);
};
-#endif // CHROME_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_EXTENSION_OPTIONS_GUEST_H_
+#endif // EXTENSIONS_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_EXTENSION_OPTIONS_GUEST_H_

Powered by Google App Engine
This is Rietveld 408576698