diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-28 00:11:37 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-28 00:11:37 +0000 |
commit | 48f36d95451f9d0aa38b1bbe981e07a84436cdc3 (patch) | |
tree | 00c8255962c64ae812bc8ca9f2a8fcc9643f66ca /mojo | |
parent | aa207ab3da9a5bc6a2e69be987d8d930c33cd7ff (diff) | |
download | chromium_src-48f36d95451f9d0aa38b1bbe981e07a84436cdc3.zip chromium_src-48f36d95451f9d0aa38b1bbe981e07a84436cdc3.tar.gz chromium_src-48f36d95451f9d0aa38b1bbe981e07a84436cdc3.tar.bz2 |
Add a window parameter to WindowDelegate's OnWindowDestroying/Destroyed methods.
This aligns this aspect of WindowDelegate with WindowObserver, that I hope to replace this part of WD with in the future. It also allows me to clean up a little bit of the DWTH/DNWA interaction (subsequent CL).
BUG=none
R=sky@chromium.org
Review URL: https://codereview.chromium.org/183143006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253983 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'mojo')
-rw-r--r-- | mojo/examples/aura_demo/aura_demo.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mojo/examples/aura_demo/aura_demo.cc b/mojo/examples/aura_demo/aura_demo.cc index 7e2ec77..a9bf880 100644 --- a/mojo/examples/aura_demo/aura_demo.cc +++ b/mojo/examples/aura_demo/aura_demo.cc @@ -72,8 +72,8 @@ class DemoWindowDelegate : public aura::WindowDelegate { canvas->DrawColor(color_, SkXfermode::kSrc_Mode); } virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE {} - virtual void OnWindowDestroying() OVERRIDE {} - virtual void OnWindowDestroyed() OVERRIDE {} + virtual void OnWindowDestroying(aura::Window* window) OVERRIDE {} + virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE {} virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE {} virtual bool HasHitTestMask() const OVERRIDE { return false; } virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE {} |