OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 /* | 5 /* |
6 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 6 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. | 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. |
8 * (http://www.torchmobile.com/) | 8 * (http://www.torchmobile.com/) |
9 * | 9 * |
10 * Redistribution and use in source and binary forms, with or without | 10 * Redistribution and use in source and binary forms, with or without |
(...skipping 19 matching lines...) Expand all Loading... |
30 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 30 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
31 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 31 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
32 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 32 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
33 */ | 33 */ |
34 | 34 |
35 #ifndef CONTENT_RENDERER_HISTORY_CONTROLLER_H_ | 35 #ifndef CONTENT_RENDERER_HISTORY_CONTROLLER_H_ |
36 #define CONTENT_RENDERER_HISTORY_CONTROLLER_H_ | 36 #define CONTENT_RENDERER_HISTORY_CONTROLLER_H_ |
37 | 37 |
38 #include "base/containers/hash_tables.h" | 38 #include "base/containers/hash_tables.h" |
39 #include "base/memory/scoped_ptr.h" | 39 #include "base/memory/scoped_ptr.h" |
40 #include "base/memory/scoped_vector.h" | |
41 #include "content/common/content_export.h" | 40 #include "content/common/content_export.h" |
42 #include "content/renderer/history_entry.h" | 41 #include "content/renderer/history_entry.h" |
43 #include "third_party/WebKit/public/platform/WebURLRequest.h" | 42 #include "third_party/WebKit/public/platform/WebURLRequest.h" |
44 #include "third_party/WebKit/public/web/WebHistoryCommitType.h" | 43 #include "third_party/WebKit/public/web/WebHistoryCommitType.h" |
45 #include "third_party/WebKit/public/web/WebHistoryItem.h" | 44 #include "third_party/WebKit/public/web/WebHistoryItem.h" |
46 | 45 |
47 namespace blink { | 46 namespace blink { |
48 class WebFrame; | 47 class WebFrame; |
49 class WebLocalFrame; | 48 class WebLocalFrame; |
50 } | 49 } |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 // passed into frames created after the commit that resulted from the | 154 // passed into frames created after the commit that resulted from the |
156 // navigation in GetItemForNewChildFrame(). | 155 // navigation in GetItemForNewChildFrame(). |
157 scoped_ptr<NavigationParams> navigation_params_; | 156 scoped_ptr<NavigationParams> navigation_params_; |
158 | 157 |
159 DISALLOW_COPY_AND_ASSIGN(HistoryController); | 158 DISALLOW_COPY_AND_ASSIGN(HistoryController); |
160 }; | 159 }; |
161 | 160 |
162 } // namespace content | 161 } // namespace content |
163 | 162 |
164 #endif // CONTENT_RENDERER_HISTORY_CONTROLLER_H_ | 163 #endif // CONTENT_RENDERER_HISTORY_CONTROLLER_H_ |
OLD | NEW |