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 678 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
689 bool showing_repost_interstitial); | 689 bool showing_repost_interstitial); |
690 void OnDidLoadResourceFromMemoryCache(const GURL& url, | 690 void OnDidLoadResourceFromMemoryCache(const GURL& url, |
691 const std::string& security_info); | 691 const std::string& security_info); |
692 void OnDidDisplayInsecureContent(); | 692 void OnDidDisplayInsecureContent(); |
693 void OnDidRunInsecureContent(const std::string& security_origin, | 693 void OnDidRunInsecureContent(const std::string& security_origin, |
694 const GURL& target_url); | 694 const GURL& target_url); |
695 void OnDocumentLoadedInFrame(int64 frame_id); | 695 void OnDocumentLoadedInFrame(int64 frame_id); |
696 void OnDidFinishLoad(int64 frame_id); | 696 void OnDidFinishLoad(int64 frame_id); |
697 void OnUpdateContentRestrictions(int restrictions); | 697 void OnUpdateContentRestrictions(int restrictions); |
698 void OnPDFHasUnsupportedFeature(); | 698 void OnPDFHasUnsupportedFeature(); |
| 699 void OnSaveAs(); |
699 | 700 |
700 void OnGoToEntryAtOffset(int offset); | 701 void OnGoToEntryAtOffset(int offset); |
701 void OnPageContents(const GURL& url, | 702 void OnPageContents(const GURL& url, |
702 int32 page_id, | 703 int32 page_id, |
703 const string16& contents, | 704 const string16& contents, |
704 const std::string& language, | 705 const std::string& language, |
705 bool page_translatable); | 706 bool page_translatable); |
706 void OnPageTranslated(int32 page_id, | 707 void OnPageTranslated(int32 page_id, |
707 const std::string& original_lang, | 708 const std::string& original_lang, |
708 const std::string& translated_lang, | 709 const std::string& translated_lang, |
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1105 ObserverList<TabContentsObserver> observers_; | 1106 ObserverList<TabContentsObserver> observers_; |
1106 | 1107 |
1107 // Content restrictions, used to disable print/copy etc based on content's | 1108 // Content restrictions, used to disable print/copy etc based on content's |
1108 // (full-page plugins for now only) permissions. | 1109 // (full-page plugins for now only) permissions. |
1109 int content_restrictions_; | 1110 int content_restrictions_; |
1110 | 1111 |
1111 DISALLOW_COPY_AND_ASSIGN(TabContents); | 1112 DISALLOW_COPY_AND_ASSIGN(TabContents); |
1112 }; | 1113 }; |
1113 | 1114 |
1114 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 1115 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
OLD | NEW |