| 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 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 349 | 349 |
| 350 // ChromeFramePlugin overrides. | 350 // ChromeFramePlugin overrides. |
| 351 virtual void OnAutomationServerReady(); | 351 virtual void OnAutomationServerReady(); |
| 352 | 352 |
| 353 // IEnumPrivacyRecords | 353 // IEnumPrivacyRecords |
| 354 STDMETHOD(Reset)(); | 354 STDMETHOD(Reset)(); |
| 355 STDMETHOD(GetSize)(ULONG* size); | 355 STDMETHOD(GetSize)(ULONG* size); |
| 356 STDMETHOD(GetPrivacyImpacted)(BOOL* privacy_impacted); | 356 STDMETHOD(GetPrivacyImpacted)(BOOL* privacy_impacted); |
| 357 STDMETHOD(Next)(BSTR* url, BSTR* policy, LONG* reserved, DWORD* flags); | 357 STDMETHOD(Next)(BSTR* url, BSTR* policy, LONG* reserved, DWORD* flags); |
| 358 | 358 |
| 359 // NavigationConstraints overrides. |
| 360 bool IsSchemeAllowed(const GURL& url); |
| 361 |
| 359 // Accessor for InPlaceMenu. Returns S_OK if set, S_FALSE if NULL. | 362 // Accessor for InPlaceMenu. Returns S_OK if set, S_FALSE if NULL. |
| 360 HRESULT GetInPlaceFrame(IOleInPlaceFrame** in_place_frame); | 363 HRESULT GetInPlaceFrame(IOleInPlaceFrame** in_place_frame); |
| 361 | 364 |
| 362 protected: | 365 protected: |
| 363 // ChromeFrameActivexBase overrides | 366 // ChromeFrameActivexBase overrides |
| 364 virtual void OnOpenURL(int tab_handle, const GURL& url_to_open, | 367 virtual void OnOpenURL(int tab_handle, const GURL& url_to_open, |
| 365 const GURL& referrer, int open_disposition); | 368 const GURL& referrer, int open_disposition); |
| 366 virtual void OnAttachExternalTab(int tab_handle, | 369 virtual void OnAttachExternalTab(int tab_handle, |
| 367 const IPC::AttachExternalTabParams& params); | 370 const IPC::AttachExternalTabParams& params); |
| 368 virtual void OnGoToHistoryEntryOffset(int tab_handle, int offset); | 371 virtual void OnGoToHistoryEntryOffset(int tab_handle, int offset); |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 481 UrlmonUrlRequestManager::PrivacyInfo::PrivacyRecords::iterator | 484 UrlmonUrlRequestManager::PrivacyInfo::PrivacyRecords::iterator |
| 482 next_privacy_record_; | 485 next_privacy_record_; |
| 483 | 486 |
| 484 // Dimensions of the window. Used only when opening popups. | 487 // Dimensions of the window. Used only when opening popups. |
| 485 gfx::Rect dimensions_; | 488 gfx::Rect dimensions_; |
| 486 public: | 489 public: |
| 487 OLEINPLACEFRAMEINFO frame_info_; | 490 OLEINPLACEFRAMEINFO frame_info_; |
| 488 }; | 491 }; |
| 489 | 492 |
| 490 #endif // CHROME_FRAME_CHROME_ACTIVE_DOCUMENT_H_ | 493 #endif // CHROME_FRAME_CHROME_ACTIVE_DOCUMENT_H_ |
| OLD | NEW |