| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "ui/aura/input_state_lookup.h" | 5 #include "ui/aura/window_observer.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "ui/aura/window.h" |
| 8 | 8 |
| 9 namespace aura { | 9 namespace aura { |
| 10 | 10 |
| 11 // static | 11 void WindowObserver::OnWindowDestroyed(Window* window) { |
| 12 scoped_ptr<InputStateLookup> InputStateLookup::Create() { | 12 window->RemoveObserver(this); |
| 13 return scoped_ptr<InputStateLookup>(); | |
| 14 } | 13 } |
| 15 | 14 |
| 16 } // namespace aura | 15 } // namespace aura |
| OLD | NEW |