Home | History | Annotate | Download | only in glue

Lines Matching refs:pickle

8 #include "base/pickle.h"
73 bool WebCursor::Deserialize(const Pickle* pickle, void** iter) {
79 if (!pickle->ReadInt(iter, &type) ||
80 !pickle->ReadInt(iter, &hotspot_x) ||
81 !pickle->ReadInt(iter, &hotspot_y) ||
82 !pickle->ReadLength(iter, &size_x) ||
83 !pickle->ReadLength(iter, &size_y) ||
84 !pickle->ReadData(iter, &data, &data_len))
114 return DeserializePlatformData(pickle, iter);
117 bool WebCursor::Serialize(Pickle* pickle) const {
118 if (!pickle->WriteInt(type_) ||
119 !pickle->WriteInt(hotspot_.x()) ||
120 !pickle->WriteInt(hotspot_.y()) ||
121 !pickle->WriteInt(custom_size_.width()) ||
122 !pickle->WriteInt(custom_size_.height()))
128 if (!pickle->WriteData(data, custom_data_.size()))
131 return SerializePlatformData(pickle);