Test to see if we can reduce some crashes by deferring delegate destruction until WM_NCDESTROY. This involves adding a specific method to allow delegates to destroy themselves to WindowDelegate, and moving all delete this calls into implementations of that method (to allow delegates to still respond to WM_DESTROY which is legit).

Review URL: http://codereview.chromium.org/40192

git-svn-id: svn://svn.chromium.org/chrome/trunk@11132 0039d316-1c4b-4281-b951-d872f2087c98
28 files changed
tree: 7263974f59df1118ecd568d1b34e45cb05ac523e
  1. depot_tools/
  2. deps/
  3. src/
  4. tools/