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

Side by Side Diff: content/browser/tab_contents/tab_contents.h

Issue 6915019: Changes to not use the prerendered contents when window.opener needs to be set. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Addressing Sreeram's comments. Created 9 years, 7 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
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 CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 5 #ifndef CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 592 matching lines...) Expand 10 before | Expand all | Expand 10 after
603 603
604 // Used to access the CreateHistoryAddPageArgs member function. 604 // Used to access the CreateHistoryAddPageArgs member function.
605 friend class ExternalTabContainer; 605 friend class ExternalTabContainer;
606 606
607 // Add all the TabContentObservers. 607 // Add all the TabContentObservers.
608 void AddObservers(); 608 void AddObservers();
609 609
610 // Message handlers. 610 // Message handlers.
611 void OnDidStartProvisionalLoadForFrame(int64 frame_id, 611 void OnDidStartProvisionalLoadForFrame(int64 frame_id,
612 bool main_frame, 612 bool main_frame,
613 bool has_opener_set,
613 const GURL& url); 614 const GURL& url);
614 void OnDidRedirectProvisionalLoad(int32 page_id, 615 void OnDidRedirectProvisionalLoad(int32 page_id,
616 bool has_opener_set,
615 const GURL& source_url, 617 const GURL& source_url,
616 const GURL& target_url); 618 const GURL& target_url);
617 void OnDidFailProvisionalLoadWithError(int64 frame_id, 619 void OnDidFailProvisionalLoadWithError(int64 frame_id,
618 bool main_frame, 620 bool main_frame,
619 int error_code, 621 int error_code,
620 const GURL& url, 622 const GURL& url,
621 bool showing_repost_interstitial); 623 bool showing_repost_interstitial);
622 void OnDidLoadResourceFromMemoryCache(const GURL& url, 624 void OnDidLoadResourceFromMemoryCache(const GURL& url,
623 const std::string& security_info); 625 const std::string& security_info);
624 void OnDidDisplayInsecureContent(); 626 void OnDidDisplayInsecureContent();
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
983 ObserverList<TabContentsObserver> observers_; 985 ObserverList<TabContentsObserver> observers_;
984 986
985 // Content restrictions, used to disable print/copy etc based on content's 987 // Content restrictions, used to disable print/copy etc based on content's
986 // (full-page plugins for now only) permissions. 988 // (full-page plugins for now only) permissions.
987 int content_restrictions_; 989 int content_restrictions_;
988 990
989 DISALLOW_COPY_AND_ASSIGN(TabContents); 991 DISALLOW_COPY_AND_ASSIGN(TabContents);
990 }; 992 };
991 993
992 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 994 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698