OLD | NEW |
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_CHROME_ACTIVE_DOCUMENT_H_ | 5 #ifndef CHROME_FRAME_CHROME_ACTIVE_DOCUMENT_H_ |
6 #define CHROME_FRAME_CHROME_ACTIVE_DOCUMENT_H_ | 6 #define CHROME_FRAME_CHROME_ACTIVE_DOCUMENT_H_ |
7 | 7 |
8 #include <atlbase.h> | 8 #include <atlbase.h> |
9 #include <atlcom.h> | 9 #include <atlcom.h> |
10 #include <atlctl.h> | 10 #include <atlctl.h> |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 virtual void OnTabbedOut(int tab_handle, bool reverse); | 159 virtual void OnTabbedOut(int tab_handle, bool reverse); |
160 virtual void OnDidNavigate(int tab_handle, | 160 virtual void OnDidNavigate(int tab_handle, |
161 const IPC::NavigationInfo& nav_info); | 161 const IPC::NavigationInfo& nav_info); |
162 // Override DoVerb | 162 // Override DoVerb |
163 STDMETHOD(DoVerb)(LONG verb, | 163 STDMETHOD(DoVerb)(LONG verb, |
164 LPMSG msg, | 164 LPMSG msg, |
165 IOleClientSite* active_site, | 165 IOleClientSite* active_site, |
166 LONG index, | 166 LONG index, |
167 HWND parent_window, | 167 HWND parent_window, |
168 LPCRECT pos); | 168 LPCRECT pos); |
169 STDMETHOD(InPlaceDeactivate)(void); | |
170 | 169 |
171 // Override IOleInPlaceActiveObjectImpl::OnDocWindowActivate | 170 // Override IOleInPlaceActiveObjectImpl::OnDocWindowActivate |
172 STDMETHOD(OnDocWindowActivate)(BOOL activate); | 171 STDMETHOD(OnDocWindowActivate)(BOOL activate); |
173 STDMETHOD(TranslateAccelerator)(MSG* msg); | 172 STDMETHOD(TranslateAccelerator)(MSG* msg); |
174 | 173 |
175 // IPersistMoniker methods | 174 // IPersistMoniker methods |
176 STDMETHOD(GetClassID)(CLSID* class_id); | 175 STDMETHOD(GetClassID)(CLSID* class_id); |
177 STDMETHOD(IsDirty)(); | 176 STDMETHOD(IsDirty)(); |
178 STDMETHOD(GetCurMoniker)(IMoniker** moniker_name); | 177 STDMETHOD(GetCurMoniker)(IMoniker** moniker_name); |
179 STDMETHOD(Load)(BOOL fully_avalable, | 178 STDMETHOD(Load)(BOOL fully_avalable, |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
288 ScopedComPtr<IInternetSecurityManager> security_manager_; | 287 ScopedComPtr<IInternetSecurityManager> security_manager_; |
289 | 288 |
290 public: | 289 public: |
291 ScopedComPtr<IOleInPlaceFrame> in_place_frame_; | 290 ScopedComPtr<IOleInPlaceFrame> in_place_frame_; |
292 OLEINPLACEFRAMEINFO frame_info_; | 291 OLEINPLACEFRAMEINFO frame_info_; |
293 }; | 292 }; |
294 | 293 |
295 OBJECT_ENTRY_AUTO(__uuidof(ChromeActiveDocument), ChromeActiveDocument) | 294 OBJECT_ENTRY_AUTO(__uuidof(ChromeActiveDocument), ChromeActiveDocument) |
296 | 295 |
297 #endif // CHROME_FRAME_CHROME_ACTIVE_DOCUMENT_H_ | 296 #endif // CHROME_FRAME_CHROME_ACTIVE_DOCUMENT_H_ |
OLD | NEW |