summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-03 16:14:16 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-03 16:14:16 +0000
commit74ed092bdb8856b20352d2275d4aa0913b0a4cac (patch)
treeb5c814598f15bd2fcac0426349bd7478609fd281 /chrome/common
parent9848c7e23c49fcb4736ed4453b6ae59bd5c810e6 (diff)
downloadchromium_src-74ed092bdb8856b20352d2275d4aa0913b0a4cac.zip
chromium_src-74ed092bdb8856b20352d2275d4aa0913b0a4cac.tar.gz
chromium_src-74ed092bdb8856b20352d2275d4aa0913b0a4cac.tar.bz2
Save/restore position for the preferences window based on prefs,
BUG=34644 TEST=Try moving the preferences window and confirm it works. Patch from Mingmin Xie <melvinxie@gmail.com> Review URL: http://codereview.chromium.org/2592001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48834 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 aa47bc49..5500fa6 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -644,6 +644,10 @@ const wchar_t kPageInfoWindowPlacement[] = L"page_info.window_placement";
const wchar_t kKeywordEditorWindowPlacement[] =
L"keyword_editor.window_placement";
+// A collection of position, size, and other data relating to the preferences
+// window to restore on startup.
+const wchar_t kPreferencesWindowPlacement[] = L"preferences.window_placement";
+
// An integer specifying the total number of bytes to be used by the
// renderer's in-memory cache of objects.
const wchar_t kMemoryCacheSize[] = L"renderer.memory_cache.size";
diff --git a/chrome/common/pref_names.h b/chrome/common/pref_names.h
index ec33553..fad9b53 100644
--- a/chrome/common/pref_names.h
+++ b/chrome/common/pref_names.h
@@ -229,6 +229,7 @@ extern const wchar_t kBrowserWindowPlacement[];
extern const wchar_t kTaskManagerWindowPlacement[];
extern const wchar_t kPageInfoWindowPlacement[];
extern const wchar_t kKeywordEditorWindowPlacement[];
+extern const wchar_t kPreferencesWindowPlacement[];
extern const wchar_t kMemoryCacheSize[];
extern const wchar_t kDownloadDefaultDirectory[];