summaryrefslogtreecommitdiffstats
path: root/chrome_frame/utils.h
diff options
context:
space:
mode:
authortommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-16 14:44:32 +0000
committertommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-16 14:44:32 +0000
commit00aebd7077fba59430dc4d2bada1aa8b56b548f9 (patch)
tree367727f4a8af89d9b9b43e3013279ad7fa5d7211 /chrome_frame/utils.h
parentf274a1c114c24dadddfbbeb51049a655cb075d90 (diff)
downloadchromium_src-00aebd7077fba59430dc4d2bada1aa8b56b548f9.zip
chromium_src-00aebd7077fba59430dc4d2bada1aa8b56b548f9.tar.gz
chromium_src-00aebd7077fba59430dc4d2bada1aa8b56b548f9.tar.bz2
Not firing DocumentComplete in the presence of buggy BHOs.
TEST=should be no functional change except if there are buggy BHOs that we know of loaded in IE. BUG=44463 Review URL: http://codereview.chromium.org/2906011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52668 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/utils.h')
-rw-r--r--chrome_frame/utils.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome_frame/utils.h b/chrome_frame/utils.h
index 11b050d..5561331 100644
--- a/chrome_frame/utils.h
+++ b/chrome_frame/utils.h
@@ -189,6 +189,13 @@ FilePath GetIETemporaryFilesFolder();
// @returns true if the version info was successfully retrieved.
bool GetModuleVersion(HMODULE module, uint32* high, uint32* low);
+// Parses a version string and returns the major, minor versions or 0 if not
+// present in the string. The rest of the version string is ignored.
+bool ParseVersion(const std::wstring& version, uint32* high, uint32* low);
+
+// @returns the module handle to which an address belongs.
+HMODULE GetModuleFromAddress(void* address);
+
// Return if the IEXPLORE is in private mode. The IEIsInPrivateBrowsing() checks
// whether current process is IEXPLORE.
bool IsIEInPrivate();