summaryrefslogtreecommitdiffstats
path: root/chrome_frame/external_tab.h
diff options
context:
space:
mode:
authorananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-14 04:34:43 +0000
committerananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-14 04:34:43 +0000
commit354bcbaf8603cb5800737f86a84ee465166b2b4e (patch)
tree863753d52b8f9dfb54e676bbf3d1b38a968df061 /chrome_frame/external_tab.h
parent0e097f90d5bba038b5826ebac2870aadde28d2ca (diff)
downloadchromium_src-354bcbaf8603cb5800737f86a84ee465166b2b4e.zip
chromium_src-354bcbaf8603cb5800737f86a84ee465166b2b4e.tar.gz
chromium_src-354bcbaf8603cb5800737f86a84ee465166b2b4e.tar.bz2
Add support for gcf:about:plugins in chrome frame full tab mode. The URL validation code path
in ChromeFrame now takes in an interface NavigationConstraints which allows the delegateslike the ActiveX, ActiveDocument and the NPAPI plugins to control the navigation decisions. We no longer refer to the InternetSecurityManager interface which is IE only for performing zone decisions in the ChromeFrame NPAPI plugin. Fixes bug http://code.google.com/p/chromium/issues/detail?id=66118 BUG=66118 TEST=Covered by additional CanNavigate unit tests. Review URL: http://codereview.chromium.org/5698005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69101 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/external_tab.h')
-rw-r--r--chrome_frame/external_tab.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome_frame/external_tab.h b/chrome_frame/external_tab.h
index 8affbc1..469d2d7 100644
--- a/chrome_frame/external_tab.h
+++ b/chrome_frame/external_tab.h
@@ -63,6 +63,8 @@ struct CreateTabParams {
GURL referrer;
};
+class NavigationConstraints;
+
/////////////////////////////////////////////////////////////////////////
// ExternalTabProxy is a mediator between ChromeProxy (which runs mostly in
// background IPC-channel thread and the UI object (ActiveX, NPAPI,
@@ -92,7 +94,7 @@ class ExternalTabProxy : public CWindowImpl<ExternalTabProxy>,
virtual void CreateTab(const CreateTabParams& create_params,
UIDelegate* delegate);
virtual void Navigate(const std::string& url, const std::string& referrer,
- bool is_privileged);
+ NavigationConstraints* navigation_constraints);
virtual void NavigateToIndex(int index);
virtual void ForwardMessageFromExternalHost(const std::string& message,
const std::string& origin, const std::string& target);
@@ -218,8 +220,6 @@ class ExternalTabProxy : public CWindowImpl<ExternalTabProxy>,
referrer = ref;
}
} pending_navigation_;
-
- ScopedComPtr<IInternetSecurityManager> security_manager_;
};
#endif // CHROME_FRAME_EXTERNAL_TAB_H_