OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 // IHTMLPrivateWindow methods | 337 // IHTMLPrivateWindow methods |
338 STDMETHOD(GetAddressBarUrl)(BSTR* url); | 338 STDMETHOD(GetAddressBarUrl)(BSTR* url); |
339 | 339 |
340 // ChromeFrameActivexBase overrides | 340 // ChromeFrameActivexBase overrides |
341 HRESULT IOleObject_SetClientSite(IOleClientSite* client_site); | 341 HRESULT IOleObject_SetClientSite(IOleClientSite* client_site); |
342 | 342 |
343 HRESULT ActiveXDocActivate(LONG verb); | 343 HRESULT ActiveXDocActivate(LONG verb); |
344 | 344 |
345 // Callbacks from ChromeFramePlugin<T> | 345 // Callbacks from ChromeFramePlugin<T> |
346 bool PreProcessContextMenu(HMENU menu); | 346 bool PreProcessContextMenu(HMENU menu); |
347 bool HandleContextMenuCommand(UINT cmd, const IPC::ContextMenuParams& params); | 347 bool HandleContextMenuCommand(UINT cmd, |
| 348 const IPC::MiniContextMenuParams& params); |
348 | 349 |
349 // ChromeFramePlugin overrides. | 350 // ChromeFramePlugin overrides. |
350 virtual void OnAutomationServerReady(); | 351 virtual void OnAutomationServerReady(); |
351 | 352 |
352 // IEnumPrivacyRecords | 353 // IEnumPrivacyRecords |
353 STDMETHOD(Reset)(); | 354 STDMETHOD(Reset)(); |
354 STDMETHOD(GetSize)(ULONG* size); | 355 STDMETHOD(GetSize)(ULONG* size); |
355 STDMETHOD(GetPrivacyImpacted)(BOOL* privacy_impacted); | 356 STDMETHOD(GetPrivacyImpacted)(BOOL* privacy_impacted); |
356 STDMETHOD(Next)(BSTR* url, BSTR* policy, LONG* reserved, DWORD* flags); | 357 STDMETHOD(Next)(BSTR* url, BSTR* policy, LONG* reserved, DWORD* flags); |
357 | 358 |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
480 UrlmonUrlRequestManager::PrivacyInfo::PrivacyRecords::iterator | 481 UrlmonUrlRequestManager::PrivacyInfo::PrivacyRecords::iterator |
481 next_privacy_record_; | 482 next_privacy_record_; |
482 | 483 |
483 // Dimensions of the window. Used only when opening popups. | 484 // Dimensions of the window. Used only when opening popups. |
484 gfx::Rect dimensions_; | 485 gfx::Rect dimensions_; |
485 public: | 486 public: |
486 OLEINPLACEFRAMEINFO frame_info_; | 487 OLEINPLACEFRAMEINFO frame_info_; |
487 }; | 488 }; |
488 | 489 |
489 #endif // CHROME_FRAME_CHROME_ACTIVE_DOCUMENT_H_ | 490 #endif // CHROME_FRAME_CHROME_ACTIVE_DOCUMENT_H_ |
OLD | NEW |