summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authortc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-04 20:10:31 +0000
committertc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-04 20:10:31 +0000
commite116a526fce847f7d19a0576d30b3e8de812d923 (patch)
tree37b3c5b865128a09bd761c58079183060c411643 /chrome/common
parente296bed56a43c1aac9204e86976fcfc91c8e9631 (diff)
downloadchromium_src-e116a526fce847f7d19a0576d30b3e8de812d923.zip
chromium_src-e116a526fce847f7d19a0576d30b3e8de812d923.tar.gz
chromium_src-e116a526fce847f7d19a0576d30b3e8de812d923.tar.bz2
On linux, add a context menu item in the tab strip for disabling
window decorations. This is mostly just an experiment. The window currently looks bad because of no rounded corners. It's also not possible to resize in this state and if you have too many tabs, you can't move. Review URL: http://codereview.chromium.org/114075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17655 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/pref_names.cc4
-rw-r--r--chrome/common/pref_names.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
index 63bab2b..e46bb9c 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -262,6 +262,10 @@ const wchar_t kCurrentThemeDisplayProperties[] =
// on start-up.
const wchar_t kCheckDefaultBrowser[] = L"browser.check_default_browser";
+// Boolean that is false if we should show window manager decorations. If
+// true, we draw a custom chrome frame (thicker title bar and blue border).
+const wchar_t kUseCustomChromeFrame[] = L"browser.custom_chrome_frame";
+
// *************** LOCAL STATE ***************
// These are attached to the machine/installation
diff --git a/chrome/common/pref_names.h b/chrome/common/pref_names.h
index a592f41..8b17f9d 100644
--- a/chrome/common/pref_names.h
+++ b/chrome/common/pref_names.h
@@ -96,6 +96,7 @@ extern const wchar_t kCurrentThemeColors[];
extern const wchar_t kCurrentThemeTints[];
extern const wchar_t kCurrentThemeDisplayProperties[];
extern const wchar_t kCheckDefaultBrowser[];
+extern const wchar_t kUseCustomChromeFrame[];
// Local state
extern const wchar_t kAvailableProfiles[];