Lines Matching defs:node
108 base::DictionaryValue* node = new base::DictionaryValue();
111 return node;
125 node->SetDouble(kPageWidth, width);
126 node->SetDouble(kPageHeight, height);
127 node->Set(kPageTextBox, text); // Takes ownership of |text|
129 return node;
165 base::DictionaryValue* node = new base::DictionaryValue();
166 node->SetDouble(kTextBoxLeft, left);
167 node->SetDouble(kTextBoxTop, page_height - top);
168 node->SetDouble(kTextBoxWidth, right - left);
169 node->SetDouble(kTextBoxHeight, top - bottom);
170 node->SetDouble(kTextBoxFontSize, font_size);
224 node->Set(kTextBoxNodes, text_nodes); // Takes ownership of |text_nodes|.
225 return node;
229 base::DictionaryValue* node = new base::DictionaryValue();
230 node->SetString(kTextNodeType, kTextNodeTypeText);
231 node->SetString(kTextNodeText, text);
232 return node;
236 base::DictionaryValue* node = new base::DictionaryValue();
237 node->SetString(kTextNodeType, kTextNodeTypeURL);
238 node->SetString(kTextNodeText, text);
239 node->SetString(kTextNodeURL, url);
240 return node;