home *** CD-ROM | disk | FTP | other *** search
/ Freelog 115 / FreelogNo115-MaiJuin2013.iso / Internet / AvantBrowser / asetup.exe / _data / webkit / chrome.dll / 0 / BINDATA / 26554 < prev    next >
Encoding:
Text File  |  2013-04-03  |  1.0 KB  |  41 lines

  1. // Copyright (c) 2012 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4.  
  5. [
  6.   {
  7.     "namespace": "topSites",
  8.     "types": [
  9.       {
  10.         "id": "MostVisitedURL",
  11.         "type": "object",
  12.         "description": "An object encapsulating a most visited URL, such as the URLs on the new tab page.",
  13.         "properties": {
  14.           "url": {"type": "string", "description": "The most visited URL."},
  15.           "title": {"type": "string", "description": "The title of the page"}
  16.         }
  17.       }
  18.     ],
  19.     "functions": [
  20.       {
  21.         "name": "get",
  22.         "type": "function",
  23.         "description": "Gets a list of top sites.",
  24.         "parameters": [
  25.           {
  26.             "type": "function",
  27.             "name": "callback",
  28.             "parameters": [
  29.               {
  30.                 "type": "array",
  31.                 "name": "data",
  32.                 "items": {"$ref": "MostVisitedURL"}
  33.               }
  34.             ]
  35.           }
  36.         ]
  37.       }
  38.     ]
  39.   }
  40. ]
  41.