Title: [132481] trunk/Source/WebCore
- Revision
- 132481
- Author
- [email protected]
- Date
- 2012-10-25 07:17:39 -0700 (Thu, 25 Oct 2012)
Log Message
Web Inspector: [Overrides] Add latitude and longitude labels for the geolocation fields
https://bugs.webkit.org/show_bug.cgi?id=100375
Reviewed by Yury Semikhatsky.
No new tests, a UI change.
* English.lproj/localizedStrings.js:
* inspector/front-end/SettingsScreen.js:
(WebInspector.UserAgentSettingsTab.prototype._createGeolocationOverrideElement):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (132480 => 132481)
--- trunk/Source/WebCore/ChangeLog 2012-10-25 14:03:59 UTC (rev 132480)
+++ trunk/Source/WebCore/ChangeLog 2012-10-25 14:17:39 UTC (rev 132481)
@@ -1,3 +1,16 @@
+2012-10-25 Alexander Pavlov <[email protected]>
+
+ Web Inspector: [Overrides] Add latitude and longitude labels for the geolocation fields
+ https://bugs.webkit.org/show_bug.cgi?id=100375
+
+ Reviewed by Yury Semikhatsky.
+
+ No new tests, a UI change.
+
+ * English.lproj/localizedStrings.js:
+ * inspector/front-end/SettingsScreen.js:
+ (WebInspector.UserAgentSettingsTab.prototype._createGeolocationOverrideElement):
+
2012-10-25 Mikhail Pozdnyakov <[email protected]>
Add setMediaTypeOverride to window.internals.settings
Modified: trunk/Source/WebCore/English.lproj/localizedStrings.js (132480 => 132481)
--- trunk/Source/WebCore/English.lproj/localizedStrings.js 2012-10-25 14:03:59 UTC (rev 132480)
+++ trunk/Source/WebCore/English.lproj/localizedStrings.js 2012-10-25 14:17:39 UTC (rev 132481)
@@ -376,7 +376,9 @@
localizedStrings["Size"] = "Size";
localizedStrings["Snapshot %d"] = "Snapshot %d";
localizedStrings["End Time"] = "End Time";
+localizedStrings["Lat = "] = "Lat = ";
localizedStrings["Latency"] = "Latency";
+localizedStrings["Lon = "] = "Lon = ";
localizedStrings["Response Time"] = "Response Time";
localizedStrings["Start"] = "Start";
localizedStrings["Start CPU profiling."] = "Start CPU profiling.";
Modified: trunk/Source/WebCore/inspector/front-end/SettingsScreen.js (132480 => 132481)
--- trunk/Source/WebCore/inspector/front-end/SettingsScreen.js 2012-10-25 14:03:59 UTC (rev 132480)
+++ trunk/Source/WebCore/inspector/front-end/SettingsScreen.js 2012-10-25 14:17:39 UTC (rev 132481)
@@ -792,11 +792,14 @@
var cellElement = rowElement.createChild("td");
cellElement.appendChild(document.createTextNode(WebInspector.UIString("Geolocation Position") + ":"));
cellElement = rowElement.createChild("td");
+ cellElement.appendChild(document.createTextNode(WebInspector.UIString("Lat = ")));
this._latitudeElement = this._createInput(cellElement, "geolocation-override-latitude", String(geolocation.latitude), this._applyGeolocationUserInput.bind(this));
cellElement.appendChild(document.createTextNode(" , "));
+ cellElement.appendChild(document.createTextNode(WebInspector.UIString("Lon = ")));
this._longitudeElement = this._createInput(cellElement, "geolocation-override-longitude", String(geolocation.longitude), this._applyGeolocationUserInput.bind(this));
rowElement = tableElement.createChild("tr");
cellElement = rowElement.createChild("td");
+ cellElement.colSpan = 2;
var geolocationErrorLabelElement = document.createElement("label");
var geolocationErrorCheckboxElement = geolocationErrorLabelElement.createChild("input");
geolocationErrorCheckboxElement.id = "geolocation-error";
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes