Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(130)

Unified Diff: Source/WebCore/inspector/front-end/inspector.js

Issue 10963058: Merge 129348 - Web Inspector: [REGRESSION] Cmd-Shift-C doesn't enable element inspection mode when … (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1271/
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/WebCore/inspector/front-end/InspectorFrontendAPI.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/inspector/front-end/inspector.js
===================================================================
--- Source/WebCore/inspector/front-end/inspector.js (revision 129361)
+++ Source/WebCore/inspector/front-end/inspector.js (working copy)
@@ -86,7 +86,7 @@
if (!WebInspector.WorkerManager.isWorkerFrontend()) {
this._nodeSearchButton = new WebInspector.StatusBarButton(WebInspector.UIString("Select an element in the page to inspect it."), "node-search-status-bar-item");
- this._nodeSearchButton.addEventListener("click", this._toggleSearchingForNode, this);
+ this._nodeSearchButton.addEventListener("click", this.toggleSearchingForNode, this);
mainStatusBar.insertBefore(this._nodeSearchButton.element, bottomStatusBarContainer);
}
@@ -356,7 +356,7 @@
InspectorFrontendHost.setZoomFactor(Math.pow(1.2, this._zoomLevel));
},
- _toggleSearchingForNode: function()
+ toggleSearchingForNode: function()
{
var enabled = !this._nodeSearchButton.toggled;
/**
@@ -862,7 +862,7 @@
var isNodeSearchKey = event.ctrlKey && !event.metaKey && !event.altKey && event.shiftKey;
if (isNodeSearchKey) {
- this._toggleSearchingForNode();
+ this.toggleSearchingForNode();
event.consume(true);
return;
}
« no previous file with comments | « Source/WebCore/inspector/front-end/InspectorFrontendAPI.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698