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, | 347 bool HandleContextMenuCommand(UINT cmd, const IPC::ContextMenuParams& params); |
348 const IPC::MiniContextMenuParams& params); | |
349 | 348 |
350 // ChromeFramePlugin overrides. | 349 // ChromeFramePlugin overrides. |
351 virtual void OnAutomationServerReady(); | 350 virtual void OnAutomationServerReady(); |
352 | 351 |
353 // IEnumPrivacyRecords | 352 // IEnumPrivacyRecords |
354 STDMETHOD(Reset)(); | 353 STDMETHOD(Reset)(); |
355 STDMETHOD(GetSize)(ULONG* size); | 354 STDMETHOD(GetSize)(ULONG* size); |
356 STDMETHOD(GetPrivacyImpacted)(BOOL* privacy_impacted); | 355 STDMETHOD(GetPrivacyImpacted)(BOOL* privacy_impacted); |
357 STDMETHOD(Next)(BSTR* url, BSTR* policy, LONG* reserved, DWORD* flags); | 356 STDMETHOD(Next)(BSTR* url, BSTR* policy, LONG* reserved, DWORD* flags); |
358 | 357 |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
481 UrlmonUrlRequestManager::PrivacyInfo::PrivacyRecords::iterator | 480 UrlmonUrlRequestManager::PrivacyInfo::PrivacyRecords::iterator |
482 next_privacy_record_; | 481 next_privacy_record_; |
483 | 482 |
484 // Dimensions of the window. Used only when opening popups. | 483 // Dimensions of the window. Used only when opening popups. |
485 gfx::Rect dimensions_; | 484 gfx::Rect dimensions_; |
486 public: | 485 public: |
487 OLEINPLACEFRAMEINFO frame_info_; | 486 OLEINPLACEFRAMEINFO frame_info_; |
488 }; | 487 }; |
489 | 488 |
490 #endif // CHROME_FRAME_CHROME_ACTIVE_DOCUMENT_H_ | 489 #endif // CHROME_FRAME_CHROME_ACTIVE_DOCUMENT_H_ |
OLD | NEW |