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_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_NAVIGATION_CONTROLLER_H_ |
6 #define CHROME_BROWSER_TAB_CONTENTS_NAVIGATION_CONTROLLER_H_ | 6 #define CHROME_BROWSER_TAB_CONTENTS_NAVIGATION_CONTROLLER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "base/linked_ptr.h" | 10 #include "base/linked_ptr.h" |
11 #include "base/ref_counted.h" | 11 #include "base/ref_counted.h" |
12 #include "chrome/browser/sessions/session_id.h" | 12 #include "chrome/browser/sessions/session_id.h" |
13 #include "chrome/browser/ssl/ssl_manager.h" | 13 #include "chrome/browser/ssl/ssl_manager.h" |
14 #include "chrome/browser/tab_contents/tab_contents_type.h" | 14 #include "chrome/browser/tab_contents/tab_contents_type.h" |
15 #include "chrome/common/navigation_types.h" | 15 #include "chrome/common/navigation_types.h" |
| 16 #include "chrome/common/page_transition_types.h" |
16 | 17 |
17 class GURL; | 18 class GURL; |
18 class Profile; | 19 class Profile; |
19 class TabContents; | 20 class TabContents; |
20 class SiteInstance; | 21 class SiteInstance; |
| 22 class SkBitmap; |
21 class WebContents; | 23 class WebContents; |
22 class TabContentsCollector; | 24 class TabContentsCollector; |
23 class TabNavigation; | 25 class TabNavigation; |
24 struct ViewHostMsg_FrameNavigate_Params; | 26 struct ViewHostMsg_FrameNavigate_Params; |
25 | 27 |
26 // A NavigationController maintains the back-forward list for a single tab and | 28 // A NavigationController maintains the back-forward list for a single tab and |
27 // manages all navigation within that list. | 29 // manages all navigation within that list. |
28 // | 30 // |
29 // The NavigationController also owns all TabContents for the tab. This is to | 31 // The NavigationController also owns all TabContents for the tab. This is to |
30 // make sure that we have at most one TabContents instance per type. | 32 // make sure that we have at most one TabContents instance per type. |
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
541 // when testing. | 543 // when testing. |
542 static bool check_for_repost_; | 544 static bool check_for_repost_; |
543 | 545 |
544 // The maximum number of entries that a navigation controller can store. | 546 // The maximum number of entries that a navigation controller can store. |
545 static size_t max_entry_count_; | 547 static size_t max_entry_count_; |
546 | 548 |
547 DISALLOW_COPY_AND_ASSIGN(NavigationController); | 549 DISALLOW_COPY_AND_ASSIGN(NavigationController); |
548 }; | 550 }; |
549 | 551 |
550 #endif // CHROME_BROWSER_TAB_CONTENTS_NAVIGATION_CONTROLLER_H_ | 552 #endif // CHROME_BROWSER_TAB_CONTENTS_NAVIGATION_CONTROLLER_H_ |
OLD | NEW |