From 95e23c07d05e60f685051618103b9cbcf77198a3 Mon Sep 17 00:00:00 2001
From: "yurys@google.com"
 <yurys@google.com@0039d316-1c4b-4281-b951-d872f2087c98>
Date: Tue, 10 Mar 2009 09:59:04 +0000
Subject: If the flag is specified developer tools window will be opened
 instead of Console Debugger when user clicks Debug JavaScript. This is a
 temporary solution and we will get rid of this flag as well as of debugger
 console when developer tools implement all their functionality. Review URL:
 http://codereview.chromium.org/39259

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11321 0039d316-1c4b-4281-b951-d872f2087c98
---
 chrome/common/chrome_switches.cc | 4 ++++
 chrome/common/chrome_switches.h  | 2 ++
 2 files changed, 6 insertions(+)

(limited to 'chrome/common')

diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 00757ed..1ea18e8 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -404,4 +404,8 @@ const wchar_t kRendererCmdPrefix[]             = L"renderer-cmd-prefix";
 // can connect to a channel, provided it knows its name. For debugging purposes.
 const wchar_t kIPCUseFIFO[]                    = L"ipc-use-fifo";
 
+// If this flag is set open out of process developer tools window instead of
+// Console Debugger when user clicks "Debug JavaScript".
+const wchar_t kEnableOutOfProcessDevTools[]    = L"enable-oop-devtools";
+
 }  // namespace switches
diff --git a/chrome/common/chrome_switches.h b/chrome/common/chrome_switches.h
index 0c4c2e5..f106dba 100644
--- a/chrome/common/chrome_switches.h
+++ b/chrome/common/chrome_switches.h
@@ -154,6 +154,8 @@ extern const wchar_t kRendererCmdPrefix[];
 
 extern const wchar_t kIPCUseFIFO[];
 
+extern const wchar_t kEnableOutOfProcessDevTools[];
+
 }  // namespace switches
 
 #endif  // CHROME_COMMON_CHROME_SWITCHES_H__
-- 
cgit v1.1