OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_RENDERER_NAVIGATION_STATE_H_ | 5 #ifndef CHROME_RENDERER_NAVIGATION_STATE_H_ |
6 #define CHROME_RENDERER_NAVIGATION_STATE_H_ | 6 #define CHROME_RENDERER_NAVIGATION_STATE_H_ |
7 | 7 |
8 #include "base/scoped_ptr.h" | 8 #include "base/scoped_ptr.h" |
9 #include "base/time.h" | 9 #include "base/time.h" |
10 #include "chrome/common/page_transition_types.h" | 10 #include "chrome/common/page_transition_types.h" |
11 #include "chrome/renderer/user_script_idle_scheduler.h" | 11 #include "chrome/renderer/user_script_idle_scheduler.h" |
12 #include "webkit/api/public/WebDataSource.h" | 12 #include "third_party/WebKit/WebKit/chromium/public/WebDataSource.h" |
13 #include "webkit/api/public/WebURLRequest.h" | 13 #include "third_party/WebKit/WebKit/chromium/public/WebURLRequest.h" |
14 #include "webkit/glue/alt_error_page_resource_fetcher.h" | 14 #include "webkit/glue/alt_error_page_resource_fetcher.h" |
15 #include "webkit/glue/password_form.h" | 15 #include "webkit/glue/password_form.h" |
16 | 16 |
17 // The RenderView stores an instance of this class in the "extra data" of each | 17 // The RenderView stores an instance of this class in the "extra data" of each |
18 // WebDataSource (see RenderView::DidCreateDataSource). | 18 // WebDataSource (see RenderView::DidCreateDataSource). |
19 class NavigationState : public WebKit::WebDataSource::ExtraData { | 19 class NavigationState : public WebKit::WebDataSource::ExtraData { |
20 public: | 20 public: |
21 static NavigationState* CreateBrowserInitiated( | 21 static NavigationState* CreateBrowserInitiated( |
22 int32 pending_page_id, | 22 int32 pending_page_id, |
23 PageTransition::Type transition_type, | 23 PageTransition::Type transition_type, |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 | 229 |
230 bool cache_policy_override_set_; | 230 bool cache_policy_override_set_; |
231 WebKit::WebURLRequest::CachePolicy cache_policy_override_; | 231 WebKit::WebURLRequest::CachePolicy cache_policy_override_; |
232 | 232 |
233 scoped_ptr<UserScriptIdleScheduler> user_script_idle_scheduler_; | 233 scoped_ptr<UserScriptIdleScheduler> user_script_idle_scheduler_; |
234 | 234 |
235 DISALLOW_COPY_AND_ASSIGN(NavigationState); | 235 DISALLOW_COPY_AND_ASSIGN(NavigationState); |
236 }; | 236 }; |
237 | 237 |
238 #endif // CHROME_RENDERER_NAVIGATION_STATE_H_ | 238 #endif // CHROME_RENDERER_NAVIGATION_STATE_H_ |
OLD | NEW |