OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 textAutosizing = splitMetrics[3] == 1; | 114 textAutosizing = splitMetrics[3] == 1; |
115 } | 115 } |
116 } | 116 } |
117 return new WebInspector.OverridesSupport.DeviceMetrics(width, height, device
ScaleFactor, textAutosizing); | 117 return new WebInspector.OverridesSupport.DeviceMetrics(width, height, device
ScaleFactor, textAutosizing); |
118 } | 118 } |
119 | 119 |
120 /** | 120 /** |
121 * @constructor | 121 * @constructor |
122 * @param {number} latitude | 122 * @param {number} latitude |
123 * @param {number} longitude | 123 * @param {number} longitude |
| 124 * @param {string} error |
124 */ | 125 */ |
125 WebInspector.OverridesSupport.GeolocationPosition = function(latitude, longitude
, error) | 126 WebInspector.OverridesSupport.GeolocationPosition = function(latitude, longitude
, error) |
126 { | 127 { |
127 this.latitude = latitude; | 128 this.latitude = latitude; |
128 this.longitude = longitude; | 129 this.longitude = longitude; |
129 this.error = error; | 130 this.error = error; |
130 } | 131 } |
131 | 132 |
132 WebInspector.OverridesSupport.GeolocationPosition.prototype = { | 133 WebInspector.OverridesSupport.GeolocationPosition.prototype = { |
133 /** | 134 /** |
(...skipping 797 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
931 }, | 932 }, |
932 | 933 |
933 __proto__: WebInspector.Object.prototype | 934 __proto__: WebInspector.Object.prototype |
934 } | 935 } |
935 | 936 |
936 | 937 |
937 /** | 938 /** |
938 * @type {!WebInspector.OverridesSupport} | 939 * @type {!WebInspector.OverridesSupport} |
939 */ | 940 */ |
940 WebInspector.overridesSupport; | 941 WebInspector.overridesSupport; |
OLD | NEW |