| OLD | NEW |
| 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 533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 544 void OnDidRedirectProvisionalLoad(int32 page_id, | 544 void OnDidRedirectProvisionalLoad(int32 page_id, |
| 545 bool has_opener_set, | 545 bool has_opener_set, |
| 546 const GURL& source_url, | 546 const GURL& source_url, |
| 547 const GURL& target_url); | 547 const GURL& target_url); |
| 548 void OnDidFailProvisionalLoadWithError(int64 frame_id, | 548 void OnDidFailProvisionalLoadWithError(int64 frame_id, |
| 549 bool main_frame, | 549 bool main_frame, |
| 550 int error_code, | 550 int error_code, |
| 551 const GURL& url, | 551 const GURL& url, |
| 552 bool showing_repost_interstitial); | 552 bool showing_repost_interstitial); |
| 553 void OnDidLoadResourceFromMemoryCache(const GURL& url, | 553 void OnDidLoadResourceFromMemoryCache(const GURL& url, |
| 554 const std::string& security_info); | 554 const std::string& security_info, |
| 555 const std::string& http_request); |
| 555 void OnDidDisplayInsecureContent(); | 556 void OnDidDisplayInsecureContent(); |
| 556 void OnDidRunInsecureContent(const std::string& security_origin, | 557 void OnDidRunInsecureContent(const std::string& security_origin, |
| 557 const GURL& target_url); | 558 const GURL& target_url); |
| 558 void OnDocumentLoadedInFrame(int64 frame_id); | 559 void OnDocumentLoadedInFrame(int64 frame_id); |
| 559 void OnDidFinishLoad(int64 frame_id); | 560 void OnDidFinishLoad(int64 frame_id); |
| 560 void OnUpdateContentRestrictions(int restrictions); | 561 void OnUpdateContentRestrictions(int restrictions); |
| 561 void OnGoToEntryAtOffset(int offset); | 562 void OnGoToEntryAtOffset(int offset); |
| 562 void OnUpdateZoomLimits(int minimum_percent, | 563 void OnUpdateZoomLimits(int minimum_percent, |
| 563 int maximum_percent, | 564 int maximum_percent, |
| 564 bool remember); | 565 bool remember); |
| (...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 852 ObserverList<TabContentsObserver> observers_; | 853 ObserverList<TabContentsObserver> observers_; |
| 853 | 854 |
| 854 // Content restrictions, used to disable print/copy etc based on content's | 855 // Content restrictions, used to disable print/copy etc based on content's |
| 855 // (full-page plugins for now only) permissions. | 856 // (full-page plugins for now only) permissions. |
| 856 int content_restrictions_; | 857 int content_restrictions_; |
| 857 | 858 |
| 858 DISALLOW_COPY_AND_ASSIGN(TabContents); | 859 DISALLOW_COPY_AND_ASSIGN(TabContents); |
| 859 }; | 860 }; |
| 860 | 861 |
| 861 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 862 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| OLD | NEW |