diff options
author | mnaganov@chromium.org <mnaganov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-09 08:04:46 +0000 |
---|---|---|
committer | mnaganov@chromium.org <mnaganov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-09 08:04:46 +0000 |
commit | 4b83512027d8423a697485e736a2f734638d46c3 (patch) | |
tree | 0cabe04c1f1d4a87b786c5965801301052c26bd9 /webkit | |
parent | 28062949a94a61dbe4d2b17969446b36894be156 (diff) | |
download | chromium_src-4b83512027d8423a697485e736a2f734638d46c3.zip chromium_src-4b83512027d8423a697485e736a2f734638d46c3.tar.gz chromium_src-4b83512027d8423a697485e736a2f734638d46c3.tar.bz2 |
DevTools: A quick fix to enable interactive_ui_tests.
Need to figure out why settings are inavailable through InspectorController.
For now, just stub them.
BUG=http://crbug.com/21277
TEST=none
Review URL: http://codereview.chromium.org/196060
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25711 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/glue/devtools/js/inspector_controller.js | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/webkit/glue/devtools/js/inspector_controller.js b/webkit/glue/devtools/js/inspector_controller.js index 5cca4a2..383cba4 100644 --- a/webkit/glue/devtools/js/inspector_controller.js +++ b/webkit/glue/devtools/js/inspector_controller.js @@ -51,6 +51,11 @@ devtools.InspectorController = function() { * @type {boolean} */ this.timelineEnabled_ = false; + + /** + * @type {Object} + */ + this.settings_ = {}; }; @@ -479,4 +484,23 @@ devtools.InspectorController.prototype.stepOverStatementInDebugger = function() { }; + +/** + * Sets a setting value in backend. + */ +devtools.InspectorController.prototype.setSetting = + function(setting, value) { + this.settings_[setting] = value; +}; + + +/** + * Retrieves a setting value stored in backend. + */ +devtools.InspectorController.prototype.setting = + function(setting) { + return this.settings_[setting]; +}; + + var InspectorController = new devtools.InspectorController(); |