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

Unified Diff: extensions/browser/guest_view/extension_view/extension_view_guest.h

Issue 913393003: Restrict extensionview to chrome-extension:// (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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_view/extension_view_guest.h
diff --git a/extensions/browser/guest_view/extension_view/extension_view_guest.h b/extensions/browser/guest_view/extension_view/extension_view_guest.h
index 350c20c95c0401be2cac52d0318f4f1629667ee3..055ee22e78d4c0812a04d0892a1e2236ad29f8cd 100644
--- a/extensions/browser/guest_view/extension_view/extension_view_guest.h
+++ b/extensions/browser/guest_view/extension_view/extension_view_guest.h
@@ -38,6 +38,13 @@ class ExtensionViewGuest
int GetTaskPrefix() const override;
// content::WebContentsObserver implementation.
+ void DidCommitProvisionalLoadForFrame(
+ content::RenderFrameHost* render_frame_host,
+ const GURL& url,
+ ui::PageTransition transition_type) override;
+ void DidNavigateMainFrame(
+ const content::LoadCommittedDetails& details,
+ const content::FrameNavigateParams& params) override;
bool OnMessageReceived(const IPC::Message& message) override;
private:
@@ -53,6 +60,7 @@ class ExtensionViewGuest
scoped_ptr<extensions::ExtensionViewGuestDelegate>
extension_view_guest_delegate_;
GURL view_page_;
+ GURL extension_url_;
DISALLOW_COPY_AND_ASSIGN(ExtensionViewGuest);
};

Powered by Google App Engine
This is Rietveld 408576698