diff options
author | pfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-20 10:16:08 +0000 |
---|---|---|
committer | pfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-20 10:16:08 +0000 |
commit | 8498c168e557fe3f6209bd8a4919e106685f44ca (patch) | |
tree | a5ce1e2af185dd32d9785533ac104170accce854 /chrome/browser/debugger/devtools_manager.cc | |
parent | 749380bb2ff3884836ab30eaae87c76a0e75878e (diff) | |
download | chromium_src-8498c168e557fe3f6209bd8a4919e106685f44ca.zip chromium_src-8498c168e557fe3f6209bd8a4919e106685f44ca.tar.gz chromium_src-8498c168e557fe3f6209bd8a4919e106685f44ca.tar.bz2 |
DevTools: Disable dock action on Mac OS since it is not yet implemented.
BUG=15936
Review URL: http://codereview.chromium.org/155765
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21071 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/debugger/devtools_manager.cc')
-rw-r--r-- | chrome/browser/debugger/devtools_manager.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/debugger/devtools_manager.cc b/chrome/browser/debugger/devtools_manager.cc index c68f806..66a6b7a 100644 --- a/chrome/browser/debugger/devtools_manager.cc +++ b/chrome/browser/debugger/devtools_manager.cc @@ -278,8 +278,13 @@ void DevToolsManager::ToggleDevToolsWindow(RenderViewHost* inspected_rvh, bool do_open = force_open; DevToolsClientHost* host = GetDevToolsClientHostFor(inspected_rvh); if (!host) { +#if defined OS_MACOSX + // TODO(pfeldman): Implement dock on Mac OS. + bool docked = false; +#else bool docked = inspected_rvh->process()->profile()->GetPrefs()-> GetBoolean(prefs::kDevToolsOpenDocked); +#endif host = new DevToolsWindow( inspected_rvh->site_instance()->browsing_instance()->profile(), inspected_rvh, |