Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/shared/MsHTMLUtils.h

Issue 6505394822184960: Issue 1109 - Support notifications (Closed)
Patch Set: rebase, fix nullptrs, use COM InternetExplorer and close NotificationWindow when link is clicked Created June 25, 2015, 1:14 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/shared/MsHTMLUtils.h
diff --git a/src/shared/MsHTMLUtils.h b/src/shared/MsHTMLUtils.h
new file mode 100644
index 0000000000000000000000000000000000000000..81cd6ffca82542fe2337855ca87ed774978b2d93
--- /dev/null
+++ b/src/shared/MsHTMLUtils.h
@@ -0,0 +1,16 @@
+#pragma once
+#include <string>
+#include <MsHTML.h>
+#include <atlbase.h>
+
+struct GetHtmlElementAttributeResult
+{
+ GetHtmlElementAttributeResult() : isAttributeFound(false)
+ {
+ }
+ std::wstring attributeValue;
+ bool isAttributeFound;
+};
+
+GetHtmlElementAttributeResult GetHtmlElementAttribute(IHTMLElement& htmlElement,
+ const ATL::CComBSTR& attributeName);

Powered by Google App Engine
This is Rietveld