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

Unified Diff: chrome_frame/html_utils.h

Issue 5708007: Have Chrome Frame "support" IE conditional comment tags (of the downlevel-hid... (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
« no previous file with comments | « no previous file | chrome_frame/html_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/html_utils.h
===================================================================
--- chrome_frame/html_utils.h (revision 68996)
+++ chrome_frame/html_utils.h (working copy)
@@ -107,8 +107,15 @@
// string described by html_string, false otherwise.
// For example with html_string describing <!-- foo> -->, pos must refer to
// the last > for this method to return true.
- bool IsHTMLCommentClose(StringRange* html_string, StrPos pos);
+ bool IsHTMLCommentClose(const StringRange* html_string, StrPos pos);
+ // Returns true if pos refers to the last character in the terminator of the
+ // opening tag of a downlevel-hidden conditional comment in IE as per
+ // http://msdn.microsoft.com/en-us/library/ms537512(VS.85).aspx#syntax
+ // For example with html_string describing <![if booga >wooga]>, pos must
+ // refer to the last > for this method to return true.
+ bool IsIEConditionalCommentClose(const StringRange* html_string, StrPos pos);
+
// We store a (CollapsedWhitespace'd) copy of the html data.
const std::wstring html_string_;
« no previous file with comments | « no previous file | chrome_frame/html_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698