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

Delta Between Two Patch Sets: src/shared/MsHTMLUtils.h

Issue 6505394822184960: Issue 1109 - Support notifications (Closed)
Left Patch Set: improve ReplaceMulti and change loading of html template Created June 29, 2015, 11:09 a.m.
Right Patch Set: fix obtaining of DPI value of content (NotificationWindow) of NotificationBorderWindow Created Aug. 18, 2015, 9:43 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
LEFTRIGHT
1 #pragma once 1 /*
2 * This file is part of Adblock Plus <https://adblockplus.org/>,
3 * Copyright (C) 2006-2015 Eyeo GmbH
4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation.
8 *
9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18 #ifndef MS_HTML_UTILS_H
19 #define MS_HTML_UTILS_H
20
2 #include <string> 21 #include <string>
3 #include <MsHTML.h> 22 #include <MsHTML.h>
4 #include <atlbase.h> 23 #include <atlbase.h>
Eric 2015/08/20 17:57:46 This statement breaks the build in Visual Studio E
5 24
6 struct GetHtmlElementAttributeResult 25 struct GetHtmlElementAttributeResult
7 { 26 {
8 GetHtmlElementAttributeResult() : isAttributeFound(false) 27 GetHtmlElementAttributeResult() : isAttributeFound(false)
9 { 28 {
10 } 29 }
11 std::wstring attributeValue; 30 std::wstring attributeValue;
12 bool isAttributeFound; 31 bool isAttributeFound;
13 }; 32 };
14 33
15 GetHtmlElementAttributeResult GetHtmlElementAttribute(IHTMLElement& htmlElement, 34 GetHtmlElementAttributeResult GetHtmlElementAttribute(IHTMLElement& htmlElement,
16 const ATL::CComBSTR& attributeName); 35 const ATL::CComBSTR& attributeName);
36
37 #endif
LEFTRIGHT

Powered by Google App Engine
This is Rietveld