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 18 matching lines...) Expand all Loading... |
29 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | 29 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
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/macros.h" |
39 #include "base/memory/scoped_ptr.h" | 40 #include "base/memory/scoped_ptr.h" |
40 #include "content/common/content_export.h" | 41 #include "content/common/content_export.h" |
41 #include "content/renderer/history_entry.h" | 42 #include "content/renderer/history_entry.h" |
42 #include "third_party/WebKit/public/platform/WebURLRequest.h" | 43 #include "third_party/WebKit/public/platform/WebURLRequest.h" |
43 #include "third_party/WebKit/public/web/WebHistoryCommitType.h" | 44 #include "third_party/WebKit/public/web/WebHistoryCommitType.h" |
44 #include "third_party/WebKit/public/web/WebHistoryItem.h" | 45 #include "third_party/WebKit/public/web/WebHistoryItem.h" |
45 | 46 |
46 namespace blink { | 47 namespace blink { |
47 class WebFrame; | 48 class WebFrame; |
48 class WebLocalFrame; | 49 class WebLocalFrame; |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 // passed into frames created after the commit that resulted from the | 155 // passed into frames created after the commit that resulted from the |
155 // navigation in GetItemForNewChildFrame(). | 156 // navigation in GetItemForNewChildFrame(). |
156 scoped_ptr<NavigationParams> navigation_params_; | 157 scoped_ptr<NavigationParams> navigation_params_; |
157 | 158 |
158 DISALLOW_COPY_AND_ASSIGN(HistoryController); | 159 DISALLOW_COPY_AND_ASSIGN(HistoryController); |
159 }; | 160 }; |
160 | 161 |
161 } // namespace content | 162 } // namespace content |
162 | 163 |
163 #endif // CONTENT_RENDERER_HISTORY_CONTROLLER_H_ | 164 #endif // CONTENT_RENDERER_HISTORY_CONTROLLER_H_ |
OLD | NEW |