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 WEBKIT_TOOLS_TEST_SHELL_TEST_NAVIGATION_CONTROLLER_H_ | 5 #ifndef WEBKIT_TOOLS_TEST_SHELL_TEST_NAVIGATION_CONTROLLER_H_ |
6 #define WEBKIT_TOOLS_TEST_SHELL_TEST_NAVIGATION_CONTROLLER_H_ | 6 #define WEBKIT_TOOLS_TEST_SHELL_TEST_NAVIGATION_CONTROLLER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/linked_ptr.h" | 12 #include "base/linked_ptr.h" |
13 #include "base/ref_counted.h" | 13 #include "base/ref_counted.h" |
14 #include "googleurl/src/gurl.h" | 14 #include "googleurl/src/gurl.h" |
15 #include "webkit/api/public/WebDataSource.h" | 15 #include "third_party/WebKit/WebKit/chromium/public/WebDataSource.h" |
16 | 16 |
17 class GURL; | 17 class GURL; |
18 class TestShell; | 18 class TestShell; |
19 | 19 |
20 // Associated with browser-initated navigations to hold tracking data. | 20 // Associated with browser-initated navigations to hold tracking data. |
21 class TestShellExtraData : public WebKit::WebDataSource::ExtraData { | 21 class TestShellExtraData : public WebKit::WebDataSource::ExtraData { |
22 public: | 22 public: |
23 TestShellExtraData(int32 pending_page_id) | 23 TestShellExtraData(int32 pending_page_id) |
24 : pending_page_id(pending_page_id), | 24 : pending_page_id(pending_page_id), |
25 request_committed(false) { | 25 request_committed(false) { |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 // new entry (created by LoadURL). | 180 // new entry (created by LoadURL). |
181 int pending_entry_index_; | 181 int pending_entry_index_; |
182 | 182 |
183 TestShell* shell_; | 183 TestShell* shell_; |
184 int max_page_id_; | 184 int max_page_id_; |
185 | 185 |
186 DISALLOW_EVIL_CONSTRUCTORS(TestNavigationController); | 186 DISALLOW_EVIL_CONSTRUCTORS(TestNavigationController); |
187 }; | 187 }; |
188 | 188 |
189 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_NAVIGATION_CONTROLLER_H_ | 189 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_NAVIGATION_CONTROLLER_H_ |
OLD | NEW |