| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_COMMON_PAGE_STATE_SERIALIZATION_H_ | 5 #ifndef CONTENT_COMMON_PAGE_STATE_SERIALIZATION_H_ |
| 6 #define CONTENT_COMMON_PAGE_STATE_SERIALIZATION_H_ | 6 #define CONTENT_COMMON_PAGE_STATE_SERIALIZATION_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/strings/nullable_string16.h" | 10 #include "base/strings/nullable_string16.h" |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 struct CONTENT_EXPORT ExplodedFrameState { | 45 struct CONTENT_EXPORT ExplodedFrameState { |
| 46 base::NullableString16 url_string; | 46 base::NullableString16 url_string; |
| 47 base::NullableString16 referrer; | 47 base::NullableString16 referrer; |
| 48 base::NullableString16 target; | 48 base::NullableString16 target; |
| 49 base::NullableString16 state_object; | 49 base::NullableString16 state_object; |
| 50 std::vector<base::NullableString16> document_state; | 50 std::vector<base::NullableString16> document_state; |
| 51 gfx::PointF pinch_viewport_scroll_offset; | 51 gfx::PointF pinch_viewport_scroll_offset; |
| 52 gfx::Point scroll_offset; | 52 gfx::Point scroll_offset; |
| 53 int64 item_sequence_number; | 53 int64 item_sequence_number; |
| 54 int64 document_sequence_number; | 54 int64 document_sequence_number; |
| 55 int64 frame_sequence_number; |
| 55 double page_scale_factor; | 56 double page_scale_factor; |
| 56 blink::WebReferrerPolicy referrer_policy; | 57 blink::WebReferrerPolicy referrer_policy; |
| 57 ExplodedHttpBody http_body; | 58 ExplodedHttpBody http_body; |
| 58 std::vector<ExplodedFrameState> children; | 59 std::vector<ExplodedFrameState> children; |
| 59 | 60 |
| 60 ExplodedFrameState(); | 61 ExplodedFrameState(); |
| 61 ExplodedFrameState(const ExplodedFrameState& other); | 62 ExplodedFrameState(const ExplodedFrameState& other); |
| 62 ~ExplodedFrameState(); | 63 ~ExplodedFrameState(); |
| 63 void operator=(const ExplodedFrameState& other); | 64 void operator=(const ExplodedFrameState& other); |
| 64 | 65 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 82 #if defined(OS_ANDROID) | 83 #if defined(OS_ANDROID) |
| 83 CONTENT_EXPORT bool DecodePageStateWithDeviceScaleFactorForTesting( | 84 CONTENT_EXPORT bool DecodePageStateWithDeviceScaleFactorForTesting( |
| 84 const std::string& encoded, | 85 const std::string& encoded, |
| 85 float device_scale_factor, | 86 float device_scale_factor, |
| 86 ExplodedPageState* exploded); | 87 ExplodedPageState* exploded); |
| 87 #endif | 88 #endif |
| 88 | 89 |
| 89 } // namespace content | 90 } // namespace content |
| 90 | 91 |
| 91 #endif // CONTENT_COMMON_PAGE_STATE_SERIALIZATION_H_ | 92 #endif // CONTENT_COMMON_PAGE_STATE_SERIALIZATION_H_ |
| OLD | NEW |