Home
last modified time | relevance | path

Searched refs:page_value (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/chrome/browser/ui/webui/ntp/
Dsuggestions_source_top_sites.cc98 base::DictionaryValue* page_value = new base::DictionaryValue(); in OnSuggestionsUrlsAvailable() local
99 NewTabUI::SetUrlTitleAndDirection(page_value, in OnSuggestionsUrlsAvailable()
102 page_value->SetDouble("score", suggested_url.score); in OnSuggestionsUrlsAvailable()
105 page_value->SetInteger("extended_info.total visits", in OnSuggestionsUrlsAvailable()
109 page_value->SetInteger("extended_info.visits", in OnSuggestionsUrlsAvailable()
113 page_value->SetInteger("extended_info.duration opened", in OnSuggestionsUrlsAvailable()
119 page_value->SetInteger("extended_info.seconds since last visit", in OnSuggestionsUrlsAvailable()
123 items_.push_back(page_value); in OnSuggestionsUrlsAvailable()
Dsuggestions_combiner.cc120 base::DictionaryValue* page_value; in FillPageValues() local
121 if (page_values_->GetDictionary(i, &page_value)) in FillPageValues()
122 AddExtendedInformation(page_value); in FillPageValues()
127 base::DictionaryValue* page_value) { in AddExtendedInformation() argument
130 if (page_value->GetString("url", &url_string)) { in AddExtendedInformation()
132 page_value->SetBoolean("already_open", IsUrlAlreadyOpen(url)); in AddExtendedInformation()
Dmost_visited_handler.cc220 base::DictionaryValue* page_value = new base::DictionaryValue(); in SetPagesValueFromTopSites() local
222 page_value->SetBoolean("filler", true); in SetPagesValueFromTopSites()
223 pages_value_->Append(page_value); in SetPagesValueFromTopSites()
227 NewTabUI::SetUrlTitleAndDirection(page_value, in SetPagesValueFromTopSites()
230 pages_value_->Append(page_value); in SetPagesValueFromTopSites()
Dsuggestions_combiner.h73 void AddExtendedInformation(base::DictionaryValue* page_value);
/external/chromium_org/chrome/browser/extensions/api/top_sites/
Dtop_sites_api.cc37 base::DictionaryValue* page_value = new base::DictionaryValue(); in OnMostVisitedURLsAvailable() local
38 page_value->SetString("url", url.url.spec()); in OnMostVisitedURLsAvailable()
40 page_value->SetString("title", url.url.spec()); in OnMostVisitedURLsAvailable()
42 page_value->SetString("title", url.title); in OnMostVisitedURLsAvailable()
43 pages_value->Append(page_value); in OnMostVisitedURLsAvailable()
/external/chromium_org/pdf/
Dinstance.cc2390 int page_value = -1; local
2391 if (base::StringToInt(value, &page_value) && page_value > 0)
2392 page = page_value - 1;
2397 int page_value = engine_->GetNamedDestinationPage(value); local
2398 if (page_value >= 0)
2399 page = page_value;