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

Unified Diff: chrome_frame/chrome_frame_automation.cc

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome_frame/chrome_frame_automation.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/chrome_frame_automation.cc
===================================================================
--- chrome_frame/chrome_frame_automation.cc (revision 96788)
+++ chrome_frame/chrome_frame_automation.cc (working copy)
@@ -1163,34 +1163,6 @@
tab_->PrintAsync();
}
-bool ChromeFrameAutomationClient::Reinitialize(
- ChromeFrameDelegate* delegate,
- PluginUrlRequestManager* url_fetcher) {
- if (url_fetcher_) {
- // Clean up any outstanding requests
- url_fetcher_->StopAllRequests();
- url_fetcher_ = NULL;
- }
-
- if (!tab_.get() || !::IsWindow(chrome_window_)) {
- NOTREACHED();
- DLOG(WARNING) << "ChromeFrameAutomationClient instance reused "
- << "with invalid tab";
- return false;
- }
-
- if (!delegate) {
- NOTREACHED();
- return false;
- }
-
- chrome_frame_delegate_ = delegate;
- DeleteAllPendingTasks();
- SetUrlFetcher(url_fetcher);
- SetParentWindow(NULL);
- return true;
-}
-
void ChromeFrameAutomationClient::AttachExternalTab(
uint64 external_tab_cookie) {
DCHECK_EQ(static_cast<TabProxy*>(NULL), tab_.get());
« no previous file with comments | « chrome_frame/chrome_frame_automation.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698