FireBreath  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
ActiveXAsyncDrawService.h
1 /**********************************************************\
2 Original Author: Gil Gonen
3 
4 Created: Jan 28, 2013
5 License: Dual license model; choose one of two:
6  New BSD License
7  http://www.opensource.org/licenses/bsd-license.php
8  - or -
9  GNU Lesser General Public License, version 2.1
10  http://www.gnu.org/licenses/lgpl-2.1.html
11 
12 Copyright 2013 Gil Gonen and the Firebreath development team
13 \**********************************************************/
14 
15 #pragma once
16 #ifndef H_ACTIVEXASYNCDRAWSERVICE
17 #define H_ACTIVEXASYNCDRAWSERVICE
18 
19 #include <atlbase.h>
20 #include <mshtml.h>
21 #include "APITypes.h"
22 #include "AsyncDrawService.h"
23 #include "Win\D3d10AsyncDrawService.h"
24 
25 namespace FB {
26  namespace ActiveX {
27 
28  FB_FORWARD_PTR(ActiveXAsyncDrawService);
29 
35  class ActiveXAsyncDrawService : public D3d10AsyncDrawService
36  {
37  public:
38  ActiveXAsyncDrawService(FB::BrowserHostPtr host, IViewObjectPresentSite*);
39 
40  private:
41  void present(bool init);
42 
43  CComPtr<IViewObjectPresentSite> m_pViewObjectPresentSite;
44  CComPtr<ISurfacePresenter> m_pSurfacePresenter;
45  };
46  }
47 }
48 #endif
Provides a D3d10AsyncDrawService implementation for ActiveX.
boost::shared_ptr< FB::BrowserHost > BrowserHostPtr
Defines an alias representing a BrowserHost shared_ptr (you should never use a BrowserHost* directly)...
Definition: APITypes.h:117