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

Side by Side Diff: chrome_frame/com_message_event.h

Issue 6676030: WinDDK ATL and MSVC express compatability (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Address OS_WIN ifdefs in source files; update to 78547 and fix merge conflict Created 9 years, 9 months 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_FRAME_COM_MESSAGE_EVENT_H_ 5 #ifndef CHROME_FRAME_COM_MESSAGE_EVENT_H_
6 #define CHROME_FRAME_COM_MESSAGE_EVENT_H_ 6 #define CHROME_FRAME_COM_MESSAGE_EVENT_H_
7 7
8 #include <atlbase.h> 8 #include <atlbase.h>
9 #include <atlcom.h> 9 #include <atlcom.h>
10 #include <mshtml.h> // IHTMLEventObj 10 #include <mshtml.h> // IHTMLEventObj
11
11 #include "base/basictypes.h" 12 #include "base/basictypes.h"
12 #include "base/scoped_comptr_win.h" 13 #include "base/scoped_comptr_win.h"
14 #include "base/win/atlcheck.h"
13 15
14 // Implements a MessageEvent compliant event object by providing MessageEvent 16 // Implements a MessageEvent compliant event object by providing MessageEvent
15 // specific properties itself and inherited properties from a browser provided 17 // specific properties itself and inherited properties from a browser provided
16 // event implementation. 18 // event implementation.
17 // NOTE: The messagePort and source properties will always be NULL. 19 // NOTE: The messagePort and source properties will always be NULL.
18 // See the HTML 5 spec for further details on a MessageEvent object: 20 // See the HTML 5 spec for further details on a MessageEvent object:
19 // http://www.whatwg.org/specs/web-apps/current-work/multipage/comms.html#messag eevent 21 // http://www.whatwg.org/specs/web-apps/current-work/multipage/comms.html#messag eevent
20 class ComMessageEvent 22 class ComMessageEvent
21 : public CComObjectRootEx<CComSingleThreadModel>, 23 : public CComObjectRootEx<CComSingleThreadModel>,
22 public IDispatch { 24 public IDispatch {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 ScopedComPtr<IHTMLEventObj> basic_event_; 68 ScopedComPtr<IHTMLEventObj> basic_event_;
67 std::string message_; 69 std::string message_;
68 std::string origin_; 70 std::string origin_;
69 std::string type_; 71 std::string type_;
70 72
71 private: 73 private:
72 DISALLOW_COPY_AND_ASSIGN(ComMessageEvent); 74 DISALLOW_COPY_AND_ASSIGN(ComMessageEvent);
73 }; 75 };
74 76
75 #endif // CHROME_FRAME_COM_MESSAGE_EVENT_H_ 77 #endif // CHROME_FRAME_COM_MESSAGE_EVENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698