Chromium Code Reviews| Index: ceee/ie/plugin/toolband/tool_band.h |
| =================================================================== |
| --- ceee/ie/plugin/toolband/tool_band.h (revision 71215) |
| +++ ceee/ie/plugin/toolband/tool_band.h (working copy) |
| @@ -55,6 +55,8 @@ |
| ToolBand(); |
| ~ToolBand(); |
| + DECLARE_WND_SUPERCLASS(NULL, TOOLBARCLASSNAME) |
|
Sigurður Ásgeirsson
2011/01/13 14:42:55
Why do we want this class name? Can you add a quic
Vitaly Buka (NO REVIEWS)
2011/01/14 00:06:30
Done.
|
| + |
| DECLARE_REGISTRY_RESOURCEID_EX(IDR_TOOL_BAND) |
| BEGIN_REGISTRY_MAP(ToolBand) |
| REGMAP_UUID("CLSID", CLSID_ToolBand) |
| @@ -179,7 +181,6 @@ |
| // @name Message handlers. |
| // @{ |
| - void OnPaint(CDCHandle dc); |
| void OnSize(UINT type, CSize size); |
| // @} |
| @@ -198,6 +199,12 @@ |
| virtual HRESULT SendSessionIdToBho(IUnknown* bho); |
| private: |
| + class EmptyWindow : public CWindowImpl<EmptyWindow> { |
| + public: |
| + BEGIN_MSG_MAP(EmptyWindow) |
| + END_MSG_MAP() |
| + }; |
| + |
| // Initializes the toolband to the given site. |
| // Called from SetSite. |
| HRESULT Initialize(IUnknown *site); |
| @@ -240,8 +247,10 @@ |
| // Our Chrome frame instance and its window. |
| CComPtr<IChromeFrame> chrome_frame_; |
| - CWindow chrome_frame_window_; |
| + // Hides chrome frame during initialization. |
| + EmptyWindow chrome_frame_container_window_; |
| + |
| // Indicates whether CloseDW() is being called on this tool band. |
| bool is_quitting_; |