Chromium Code Reviews

Side by Side Diff: chrome_frame/chrome_active_document.h

Issue 5698005: Add support for gcf:about:plugins in chrome frame full tab mode. The URL vali... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome_frame/chrome_active_document.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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...)
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...)
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_
OLDNEW
« no previous file with comments | « no previous file | chrome_frame/chrome_active_document.cc » ('j') | no next file with comments »

Powered by Google App Engine