summaryrefslogtreecommitdiffstats
path: root/webkit/glue/devtools
diff options
context:
space:
mode:
authoryurys@google.com <yurys@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-25 09:37:40 +0000
committeryurys@google.com <yurys@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-25 09:37:40 +0000
commit74087aeb2cbaded50b108cea74ffc2a89f4e00c3 (patch)
treecda89b97523fe1ad590adfde54081757dc4f3b67 /webkit/glue/devtools
parent9cd8a4c993d3076e4814d9c7406018304ddd40b7 (diff)
downloadchromium_src-74087aeb2cbaded50b108cea74ffc2a89f4e00c3.zip
chromium_src-74087aeb2cbaded50b108cea74ffc2a89f4e00c3.tar.gz
chromium_src-74087aeb2cbaded50b108cea74ffc2a89f4e00c3.tar.bz2
DevTools: disable console autocompletion until we come up with some good solution for asynchronouse completion.
BUG=12435 Review URL: http://codereview.chromium.org/115753 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16853 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/devtools')
-rw-r--r--webkit/glue/devtools/js/devtools.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/webkit/glue/devtools/js/devtools.js b/webkit/glue/devtools/js/devtools.js
index 36e4410..3b2a6e1 100644
--- a/webkit/glue/devtools/js/devtools.js
+++ b/webkit/glue/devtools/js/devtools.js
@@ -288,6 +288,17 @@ WebInspector.Console.prototype._evalInInspectedWindow = function(expr) {
/**
+ * Disable autocompletion in the console.
+ * TODO(yurys): change WebKit implementation to allow asynchronous completion.
+ * @override
+ */
+WebInspector.Console.prototype.completions = function(
+ wordRange, bestMatchOnly) {
+ return null;
+};
+
+
+/**
* @override
*/
WebInspector.ElementsPanel.prototype.updateStyles = function(forceUpdate) {