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 986 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
997 | 997 |
998 // Character encoding. | 998 // Character encoding. |
999 std::string encoding_; | 999 std::string encoding_; |
1000 | 1000 |
1001 // Object that holds any blocked TabContents spawned from this TabContents. | 1001 // Object that holds any blocked TabContents spawned from this TabContents. |
1002 BlockedContentContainer* blocked_contents_; | 1002 BlockedContentContainer* blocked_contents_; |
1003 | 1003 |
1004 // Should we block all child TabContents this attempts to spawn. | 1004 // Should we block all child TabContents this attempts to spawn. |
1005 bool all_contents_blocked_; | 1005 bool all_contents_blocked_; |
1006 | 1006 |
1007 // TODO(pkasting): Hack to try and fix Linux browser tests. | |
1008 bool dont_notify_render_view_; | |
Avi (use Gerrit)
2011/04/18 04:44:11
Have you verified that this is no longer needed?
jam
2011/04/18 04:53:56
it's used to control whether or not to send an IPC
| |
1009 | |
1010 // True if this is a secure page which displayed insecure content. | 1007 // True if this is a secure page which displayed insecure content. |
1011 bool displayed_insecure_content_; | 1008 bool displayed_insecure_content_; |
1012 | 1009 |
1013 // Data for shelves and stuff ------------------------------------------------ | 1010 // Data for shelves and stuff ------------------------------------------------ |
1014 | 1011 |
1015 // Delegates for InfoBars associated with this TabContents. | 1012 // Delegates for InfoBars associated with this TabContents. |
1016 std::vector<InfoBarDelegate*> infobar_delegates_; | 1013 std::vector<InfoBarDelegate*> infobar_delegates_; |
1017 | 1014 |
1018 // Data for misc internal state ---------------------------------------------- | 1015 // Data for misc internal state ---------------------------------------------- |
1019 | 1016 |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1087 ObserverList<TabContentsObserver> observers_; | 1084 ObserverList<TabContentsObserver> observers_; |
1088 | 1085 |
1089 // Content restrictions, used to disable print/copy etc based on content's | 1086 // Content restrictions, used to disable print/copy etc based on content's |
1090 // (full-page plugins for now only) permissions. | 1087 // (full-page plugins for now only) permissions. |
1091 int content_restrictions_; | 1088 int content_restrictions_; |
1092 | 1089 |
1093 DISALLOW_COPY_AND_ASSIGN(TabContents); | 1090 DISALLOW_COPY_AND_ASSIGN(TabContents); |
1094 }; | 1091 }; |
1095 | 1092 |
1096 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 1093 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
OLD | NEW |