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

Unified Diff: chrome_frame/utils.h

Issue 5698005: Add support for gcf:about:plugins in chrome frame full tab mode. The URL vali... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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: chrome_frame/utils.h
===================================================================
--- chrome_frame/utils.h (revision 68604)
+++ chrome_frame/utils.h (working copy)
@@ -7,6 +7,7 @@
#include <OAidl.h>
#include <windows.h>
+#include <ExDisp.h>
#include <wininet.h>
#include <string>
@@ -564,12 +565,12 @@
std::string profile_name_;
};
+class NavigationConstraints;
// Returns true if we can navigate to this URL.
-// This function checks if the url scheme is valid for navigation within
-// chrome and whether it is a restricted URL as per IE settings. In either of
-// these cases it returns false.
-bool CanNavigate(const GURL& url, IInternetSecurityManager* security_manager,
- bool is_privileged);
+// These decisions are controlled by the NavigationConstraints object passed
+// in.
+bool CanNavigate(const GURL& url,
+ NavigationConstraints* navigation_constraints);
// Utility function that prevents the current module from ever being unloaded.
// Call if you make irreversible patches.
@@ -611,4 +612,8 @@
bool CheckXUaCompatibleDirective(const std::string& directive,
int ie_major_version);
+// Returns true if the current document in the browser is a chrome frame
+// document.
+bool IsChromeFrameDocument(IWebBrowser2* web_browser);
+
#endif // CHROME_FRAME_UTILS_H_

Powered by Google App Engine
This is Rietveld 408576698