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

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: Addresing Chris'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 593 matching lines...) Expand 10 before | Expand all | Expand 10 after
604 604
605 // Used to access the CreateHistoryAddPageArgs member function. 605 // Used to access the CreateHistoryAddPageArgs member function.
606 friend class ExternalTabContainer; 606 friend class ExternalTabContainer;
607 607
608 // Add all the TabContentObservers. 608 // Add all the TabContentObservers.
609 void AddObservers(); 609 void AddObservers();
610 610
611 // Message handlers. 611 // Message handlers.
612 void OnDidStartProvisionalLoadForFrame(int64 frame_id, 612 void OnDidStartProvisionalLoadForFrame(int64 frame_id,
613 bool main_frame, 613 bool main_frame,
614 bool has_opener_set,
614 const GURL& url); 615 const GURL& url);
615 void OnDidRedirectProvisionalLoad(int32 page_id, 616 void OnDidRedirectProvisionalLoad(int32 page_id,
617 bool has_opener_set,
616 const GURL& source_url, 618 const GURL& source_url,
617 const GURL& target_url); 619 const GURL& target_url);
618 void OnDidFailProvisionalLoadWithError(int64 frame_id, 620 void OnDidFailProvisionalLoadWithError(int64 frame_id,
619 bool main_frame, 621 bool main_frame,
620 int error_code, 622 int error_code,
621 const GURL& url, 623 const GURL& url,
622 bool showing_repost_interstitial); 624 bool showing_repost_interstitial);
623 void OnDidLoadResourceFromMemoryCache(const GURL& url, 625 void OnDidLoadResourceFromMemoryCache(const GURL& url,
624 const std::string& security_info); 626 const std::string& security_info);
625 void OnDidDisplayInsecureContent(); 627 void OnDidDisplayInsecureContent();
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
984 ObserverList<TabContentsObserver> observers_; 986 ObserverList<TabContentsObserver> observers_;
985 987
986 // Content restrictions, used to disable print/copy etc based on content's 988 // Content restrictions, used to disable print/copy etc based on content's
987 // (full-page plugins for now only) permissions. 989 // (full-page plugins for now only) permissions.
988 int content_restrictions_; 990 int content_restrictions_;
989 991
990 DISALLOW_COPY_AND_ASSIGN(TabContents); 992 DISALLOW_COPY_AND_ASSIGN(TabContents);
991 }; 993 };
992 994
993 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 995 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698