Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(782)

Side by Side Diff: chrome_frame/chrome_active_document.h

Issue 7627005: Fix a back forward bug in ChromeFrame reported on the field. The bug occurs when multiple (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 STDMETHOD(Next)(BSTR* url, BSTR* policy, LONG* reserved, DWORD* flags); 354 STDMETHOD(Next)(BSTR* url, BSTR* policy, LONG* reserved, DWORD* flags);
355 355
356 // NavigationConstraints overrides. 356 // NavigationConstraints overrides.
357 bool IsSchemeAllowed(const GURL& url); 357 bool IsSchemeAllowed(const GURL& url);
358 358
359 // Accessor for InPlaceMenu. Returns S_OK if set, S_FALSE if NULL. 359 // Accessor for InPlaceMenu. Returns S_OK if set, S_FALSE if NULL.
360 HRESULT GetInPlaceFrame(IOleInPlaceFrame** in_place_frame); 360 HRESULT GetInPlaceFrame(IOleInPlaceFrame** in_place_frame);
361 361
362 protected: 362 protected:
363 // ChromeFrameActivexBase overrides 363 // ChromeFrameActivexBase overrides
364 virtual void OnOpenURL(
365 const GURL& url_to_open, const GURL& referrer, int open_disposition);
366 virtual void OnAttachExternalTab(const AttachExternalTabParams& params); 364 virtual void OnAttachExternalTab(const AttachExternalTabParams& params);
367 virtual void OnGoToHistoryEntryOffset(int offset); 365 virtual void OnGoToHistoryEntryOffset(int offset);
368 virtual void OnMoveWindow(const gfx::Rect& dimensions); 366 virtual void OnMoveWindow(const gfx::Rect& dimensions);
369 367
370 // A helper method that updates our internal navigation state 368 // A helper method that updates our internal navigation state
371 // as well as IE's navigation state (viz Title and current URL). 369 // as well as IE's navigation state (viz Title and current URL).
372 // The navigation_flags is a TabContents::InvalidateTypes enum 370 // The navigation_flags is a TabContents::InvalidateTypes enum
373 void UpdateNavigationState(const NavigationInfo& nav_info, int flags); 371 void UpdateNavigationState(const NavigationInfo& nav_info, int flags);
374 372
375 TabProxy* GetTabProxy() const { 373 TabProxy* GetTabProxy() const {
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
476 // command. 474 // command.
477 UrlmonUrlRequestManager::PrivacyInfo privacy_info_; 475 UrlmonUrlRequestManager::PrivacyInfo privacy_info_;
478 UrlmonUrlRequestManager::PrivacyInfo::PrivacyRecords::iterator 476 UrlmonUrlRequestManager::PrivacyInfo::PrivacyRecords::iterator
479 next_privacy_record_; 477 next_privacy_record_;
480 478
481 public: 479 public:
482 OLEINPLACEFRAMEINFO frame_info_; 480 OLEINPLACEFRAMEINFO frame_info_;
483 }; 481 };
484 482
485 #endif // CHROME_FRAME_CHROME_ACTIVE_DOCUMENT_H_ 483 #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
This is Rietveld 408576698