From a1800e8c451736dea5663ae461454ab663d05bc4 Mon Sep 17 00:00:00 2001 From: "amit@chromium.org" Date: Thu, 19 Nov 2009 00:53:23 +0000 Subject: Back/Forward support for url fragments Added support for anchor (url fragments). this involves mainly implementing IPersistHistory. The rest of the stuff is a song and dance to get called in IPersistHistory in the first place and then behave correctly when we do. BUG=23981 TEst=unit tests added and back forward with '#' URLs, sub frames etc. Review URL: http://codereview.chromium.org/371004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32454 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome_frame/chrome_frame_automation.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'chrome_frame/chrome_frame_automation.cc') diff --git a/chrome_frame/chrome_frame_automation.cc b/chrome_frame/chrome_frame_automation.cc index 8dbf795..7f4e218 100644 --- a/chrome_frame/chrome_frame_automation.cc +++ b/chrome_frame/chrome_frame_automation.cc @@ -75,6 +75,7 @@ class ChromeFrameAutomationProxyImpl::CFMsgDispatcher case AutomationMsg_ConnectExternalTab::ID: InvokeCallback >(msg, origin); break; + case AutomationMsg_NavigateExternalTabAtIndex::ID: case AutomationMsg_NavigateInExternalTab::ID: InvokeCallback >(msg, origin); @@ -144,7 +145,6 @@ struct LaunchTimeStats { #endif }; - ProxyFactory::ProxyCacheEntry::ProxyCacheEntry(const std::wstring& profile) : proxy(NULL), profile_name(profile), ref_count(1), launch_result(AutomationLaunchResult(-1)) { @@ -885,7 +885,6 @@ void ChromeFrameAutomationClient::SetParentWindow(HWND parent_window) { } if (!SetParent(parent_window)) { - NOTREACHED(); DLOG(WARNING) << "Failed to set parent window for automation window. " << "Error = " << GetLastError(); -- cgit v1.1