summaryrefslogtreecommitdiffstats
path: root/base/mac_util.h
diff options
context:
space:
mode:
authorviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-12 07:28:17 +0000
committerviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-12 07:28:17 +0000
commit8050f2a8f3d1d98bc80ab4ccd5266c5bc6d0678f (patch)
tree8b3eecb5432b1df8582c7154bd65b6037e542916 /base/mac_util.h
parent01dc650e2499dd966e4025a6022cdc6d82087c39 (diff)
downloadchromium_src-8050f2a8f3d1d98bc80ab4ccd5266c5bc6d0678f.zip
chromium_src-8050f2a8f3d1d98bc80ab4ccd5266c5bc6d0678f.tar.gz
chromium_src-8050f2a8f3d1d98bc80ab4ccd5266c5bc6d0678f.tar.bz2
Mac: move should-double-click-to-minimize code into mac_util.
Also make the fullscreen code do the right thing in theory, even though it doesn't work and I'll probably shortly remove it. BUG=none TEST=Double-clicking on the tab strip should or should not minimize the window according to the system prefs setting; click in the area beside the tabs. Review URL: http://codereview.chromium.org/859004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41413 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/mac_util.h')
-rw-r--r--base/mac_util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/base/mac_util.h b/base/mac_util.h
index 4c3f6ba..2c59a87 100644
--- a/base/mac_util.h
+++ b/base/mac_util.h
@@ -110,6 +110,9 @@ void SwitchFullScreenModes(FullScreenMode from_mode, FullScreenMode to_mode);
// Set the visibility of the cursor.
void SetCursorVisibility(bool visible);
+// Should windows miniaturize on a double-click (on the title bar)?
+bool ShouldWindowsMiniaturizeOnDoubleClick();
+
// Activates the process with the given PID.
void ActivateProcess(pid_t);