Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(402)

Unified Diff: content/common/page_state_serialization.h

Issue 266673014: Added pinch viewport offset to page state. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed unit test Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/common/page_state_serialization.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/page_state_serialization.h
diff --git a/content/common/page_state_serialization.h b/content/common/page_state_serialization.h
index 43efb53da447335b90f1e3b4a7aefaf137e20a7f..d3d3b02973915fd80115a376005d318504746d17 100644
--- a/content/common/page_state_serialization.h
+++ b/content/common/page_state_serialization.h
@@ -12,6 +12,7 @@
#include "third_party/WebKit/public/platform/WebHTTPBody.h"
#include "third_party/WebKit/public/platform/WebReferrerPolicy.h"
#include "ui/gfx/point.h"
+#include "ui/gfx/point_f.h"
#include "url/gurl.h"
namespace content {
@@ -47,6 +48,7 @@ struct CONTENT_EXPORT ExplodedFrameState {
base::NullableString16 target;
base::NullableString16 state_object;
std::vector<base::NullableString16> document_state;
+ gfx::PointF pinch_viewport_scroll_offset;
gfx::Point scroll_offset;
int64 item_sequence_number;
int64 document_sequence_number;
« no previous file with comments | « no previous file | content/common/page_state_serialization.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698