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: Created May 11, 2015, 10:01 a.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..2c9971483f60319087b82dc5baf258f75e298848
--- /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