| 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" |
| 11 #include "chrome/browser/tab_contents/security_style.h" | 11 #include "chrome/browser/tab_contents/security_style.h" |
| 12 #include "chrome/browser/tab_contents/site_instance.h" | 12 #include "chrome/browser/tab_contents/site_instance.h" |
| 13 #include "chrome/common/page_transition_types.h" | 13 #include "chrome/common/page_transition_types.h" |
| 14 #include "googleurl/src/gurl.h" | 14 #include "googleurl/src/gurl.h" |
| 15 #include "grit/theme_resources.h" | 15 #include "grit/theme_resources.h" |
| 16 #include "skia/include/SkBitmap.h" | 16 #include "third_party/skia/include/core/SkBitmap.h" |
| 17 | 17 |
| 18 class NavigationController; | 18 class NavigationController; |
| 19 | 19 |
| 20 //////////////////////////////////////////////////////////////////////////////// | 20 //////////////////////////////////////////////////////////////////////////////// |
| 21 // | 21 // |
| 22 // NavigationEntry class | 22 // NavigationEntry class |
| 23 // | 23 // |
| 24 // A NavigationEntry is a data structure that captures all the information | 24 // A NavigationEntry is a data structure that captures all the information |
| 25 // required to recreate a browsing state. This includes some opaque binary | 25 // required to recreate a browsing state. This includes some opaque binary |
| 26 // state as provided by the TabContents as well as some clear text title and | 26 // state as provided by the TabContents as well as some clear text title and |
| (...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 399 // This is a cached version of the result of GetTitleForDisplay. It prevents | 399 // 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 | 400 // 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 | 401 // displayed. When the URL, display URL, or title is set, this should be |
| 402 // cleared to force a refresh. | 402 // cleared to force a refresh. |
| 403 string16 cached_display_title_; | 403 string16 cached_display_title_; |
| 404 | 404 |
| 405 // Copy and assignment is explicitly allowed for this class. | 405 // Copy and assignment is explicitly allowed for this class. |
| 406 }; | 406 }; |
| 407 | 407 |
| 408 #endif // CHROME_BROWSER_TAB_CONTENTS_NAVIGATION_ENTRY_H_ | 408 #endif // CHROME_BROWSER_TAB_CONTENTS_NAVIGATION_ENTRY_H_ |
| OLD | NEW |