| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_PUBLIC_RENDERER_DOCUMENT_STATE_H_ | 5 #ifndef CONTENT_PUBLIC_RENDERER_DOCUMENT_STATE_H_ |
| 6 #define CONTENT_PUBLIC_RENDERER_DOCUMENT_STATE_H_ | 6 #define CONTENT_PUBLIC_RENDERER_DOCUMENT_STATE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 const std::string& searchable_form_encoding() const { | 170 const std::string& searchable_form_encoding() const { |
| 171 return searchable_form_encoding_; | 171 return searchable_form_encoding_; |
| 172 } | 172 } |
| 173 void set_searchable_form_encoding(const std::string& encoding) { | 173 void set_searchable_form_encoding(const std::string& encoding) { |
| 174 searchable_form_encoding_ = encoding; | 174 searchable_form_encoding_ = encoding; |
| 175 } | 175 } |
| 176 | 176 |
| 177 webkit::forms::PasswordForm* password_form_data() const { | 177 webkit::forms::PasswordForm* password_form_data() const { |
| 178 return password_form_data_.get(); | 178 return password_form_data_.get(); |
| 179 } | 179 } |
| 180 void set_password_form_data(webkit::forms::PasswordForm* data); | 180 void set_password_form_data(scoped_ptr<webkit::forms::PasswordForm> data); |
| 181 | 181 |
| 182 const std::string& security_info() const { return security_info_; } | 182 const std::string& security_info() const { return security_info_; } |
| 183 void set_security_info(const std::string& security_info) { | 183 void set_security_info(const std::string& security_info) { |
| 184 security_info_ = security_info; | 184 security_info_ = security_info; |
| 185 } | 185 } |
| 186 | 186 |
| 187 // True if an error page should be used, if the http status code also | 187 // True if an error page should be used, if the http status code also |
| 188 // indicates an error. | 188 // indicates an error. |
| 189 bool use_error_page() const { return use_error_page_; } | 189 bool use_error_page() const { return use_error_page_; } |
| 190 void set_use_error_page(bool use_error_page) { | 190 void set_use_error_page(bool use_error_page) { |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 WebKit::WebReferrerPolicy referrer_policy_; | 293 WebKit::WebReferrerPolicy referrer_policy_; |
| 294 | 294 |
| 295 scoped_ptr<webkit_glue::AltErrorPageResourceFetcher> alt_error_page_fetcher_; | 295 scoped_ptr<webkit_glue::AltErrorPageResourceFetcher> alt_error_page_fetcher_; |
| 296 | 296 |
| 297 scoped_ptr<NavigationState> navigation_state_; | 297 scoped_ptr<NavigationState> navigation_state_; |
| 298 }; | 298 }; |
| 299 | 299 |
| 300 #endif // CONTENT_PUBLIC_RENDERER_DOCUMENT_STATE_H_ | 300 #endif // CONTENT_PUBLIC_RENDERER_DOCUMENT_STATE_H_ |
| 301 | 301 |
| 302 } // namespace content | 302 } // namespace content |
| OLD | NEW |