• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright 2013 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
5cr.define('options', function() {
6  var OptionsPage = options.OptionsPage;
7
8  /**
9   * GeolocationOptions class
10   * Handles initialization of the geolocation options.
11   * @constructor
12   * @class
13   */
14  function GeolocationOptions() {
15    OptionsPage.call(this,
16                     'geolocationOptions',
17                     loadTimeData.getString('geolocationOptionsPageTabTitle'),
18                     'geolocationCheckbox');
19  };
20
21  cr.addSingletonGetter(GeolocationOptions);
22
23  GeolocationOptions.prototype = {
24    __proto__: OptionsPage.prototype
25  };
26
27  // TODO(robliao): Determine if a full unroll is necessary
28  // (http://crbug.com/306613).
29  GeolocationOptions.showGeolocationOption = function() {};
30
31  return {
32    GeolocationOptions: GeolocationOptions
33  };
34});
35