| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 CHROME_BROWSER_TAB_CONTENTS_NAVIGATION_ENTRY_H_ | 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_NAVIGATION_ENTRY_H_ |
| 6 #define CHROME_BROWSER_TAB_CONTENTS_NAVIGATION_ENTRY_H_ | 6 #define CHROME_BROWSER_TAB_CONTENTS_NAVIGATION_ENTRY_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/scoped_ptr.h" | 9 #include "base/scoped_ptr.h" |
| 10 #include "base/string_util.h" | 10 #include "base/string_util.h" |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 int security_bits_; | 116 int security_bits_; |
| 117 int content_status_; | 117 int content_status_; |
| 118 | 118 |
| 119 // Copy and assignment is explicitly allowed for this class. | 119 // Copy and assignment is explicitly allowed for this class. |
| 120 }; | 120 }; |
| 121 | 121 |
| 122 // The type of the page an entry corresponds to. Used by tests. | 122 // The type of the page an entry corresponds to. Used by tests. |
| 123 enum PageType { | 123 enum PageType { |
| 124 NORMAL_PAGE = 0, | 124 NORMAL_PAGE = 0, |
| 125 ERROR_PAGE, | 125 ERROR_PAGE, |
| 126 INTERSTITIAL_PAGE | 126 INTERSTITIAL_PAGE, |
| 127 DOWNLOAD_PAGE, |
| 127 }; | 128 }; |
| 128 | 129 |
| 129 // Favicon ------------------------------------------------------------------- | 130 // Favicon ------------------------------------------------------------------- |
| 130 | 131 |
| 131 // Collects the favicon related information for a NavigationEntry. | 132 // Collects the favicon related information for a NavigationEntry. |
| 132 class FaviconStatus { | 133 class FaviconStatus { |
| 133 public: | 134 public: |
| 134 FaviconStatus(); | 135 FaviconStatus(); |
| 135 | 136 |
| 136 // Indicates whether we've gotten an official favicon for the page, or are | 137 // Indicates whether we've gotten an official favicon for the page, or are |
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 399 // This is a cached version of the result of GetTitleForDisplay. It prevents | 400 // This is a cached version of the result of GetTitleForDisplay. It prevents |
| 400 // us from having to do URL formatting on the URL evey time the title is | 401 // us from having to do URL formatting on the URL evey time the title is |
| 401 // displayed. When the URL, display URL, or title is set, this should be | 402 // displayed. When the URL, display URL, or title is set, this should be |
| 402 // cleared to force a refresh. | 403 // cleared to force a refresh. |
| 403 string16 cached_display_title_; | 404 string16 cached_display_title_; |
| 404 | 405 |
| 405 // Copy and assignment is explicitly allowed for this class. | 406 // Copy and assignment is explicitly allowed for this class. |
| 406 }; | 407 }; |
| 407 | 408 |
| 408 #endif // CHROME_BROWSER_TAB_CONTENTS_NAVIGATION_ENTRY_H_ | 409 #endif // CHROME_BROWSER_TAB_CONTENTS_NAVIGATION_ENTRY_H_ |
| OLD | NEW |