Add ENABLE_MEDIA_ROUTER define to builds other than Android and iOS.
[chromium-blink-merge.git] / chrome / browser / resources / options / geolocation_options.js
blobb15ee3999b456918104d14377abf17bfc3b863d6
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.
5 cr.define('options', function() {
6 var Page = cr.ui.pageManager.Page;
8 /**
9 * GeolocationOptions class
10 * Handles initialization of the geolocation options.
11 * @constructor
12 * @extends {cr.ui.pageManager.Page}
14 function GeolocationOptions() {
15 Page.call(this, 'geolocationOptions',
16 loadTimeData.getString('geolocationOptionsPageTabTitle'),
17 'geolocationCheckbox');
20 cr.addSingletonGetter(GeolocationOptions);
22 GeolocationOptions.prototype = {
23 __proto__: Page.prototype
26 // TODO(robliao): Determine if a full unroll is necessary
27 // (http://crbug.com/306613).
28 GeolocationOptions.showGeolocationOption = function() {};
30 return {
31 GeolocationOptions: GeolocationOptions
33 });