No longer register app window placement preference keys on
commite30f8f0957be8ffa94a70dc9e8e6f61c9b2990c5
authordgrogan <dgrogan@chromium.org>
Tue, 16 Sep 2014 22:41:08 +0000 (16 15:41 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 16 Sep 2014 22:41:26 +0000 (16 22:41 +0000)
treeca5b28a46aab8e22e23337b81d139e1fba5c9c41
parent165c0f17fe5760a3f346940d4fb2574d62cfe53b
No longer register app window placement preference keys on
the fly.

Instead register a new Dictionary,
browser.app_window_placement, at startup and put apps'
placement/size info in sub dictionaries.

Also migrate values from the old dynamically-registered
preferences to their new statically-registered home.

BUG=167256

Review URL: https://codereview.chromium.org/511393003

Cr-Commit-Position: refs/heads/master@{#295163}
19 files changed:
chrome/browser/devtools/devtools_window.cc
chrome/browser/devtools/devtools_window.h
chrome/browser/prefs/browser_ui_prefs_migrator.cc [new file with mode: 0644]
chrome/browser/prefs/browser_ui_prefs_migrator.h [new file with mode: 0644]
chrome/browser/prefs/browser_ui_prefs_migrator_unittest.cc [new file with mode: 0644]
chrome/browser/prefs/chrome_pref_service_factory.cc
chrome/browser/ui/browser.cc
chrome/browser/ui/browser_ui_prefs.cc
chrome/browser/ui/browser_ui_prefs.h
chrome/browser/ui/browser_window_state.cc
chrome/browser/ui/browser_window_state.h
chrome/browser/ui/cocoa/browser_window_controller_private.mm
chrome/browser/ui/views/chrome_views_delegate.cc
chrome/browser/ui/views/frame/browser_view.cc
chrome/browser/ui/window_sizer/window_sizer.cc
chrome/chrome_browser.gypi
chrome/chrome_tests_unit.gypi
chrome/common/pref_names.cc
chrome/common/pref_names.h