| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "athena/wm/window_overview_mode.h" | 5 #include "athena/wm/window_overview_mode.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <functional> | 8 #include <functional> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 295 | 295 |
| 296 aura::Window* container_; | 296 aura::Window* container_; |
| 297 WindowOverviewModeDelegate* delegate_; | 297 WindowOverviewModeDelegate* delegate_; |
| 298 scoped_ptr<aura::ScopedWindowTargeter> scoped_targeter_; | 298 scoped_ptr<aura::ScopedWindowTargeter> scoped_targeter_; |
| 299 | 299 |
| 300 DISALLOW_COPY_AND_ASSIGN(WindowOverviewModeImpl); | 300 DISALLOW_COPY_AND_ASSIGN(WindowOverviewModeImpl); |
| 301 }; | 301 }; |
| 302 | 302 |
| 303 } // namespace | 303 } // namespace |
| 304 | 304 |
| 305 // static |
| 305 scoped_ptr<WindowOverviewMode> WindowOverviewMode::Create( | 306 scoped_ptr<WindowOverviewMode> WindowOverviewMode::Create( |
| 306 aura::Window* window, | 307 aura::Window* container, |
| 307 WindowOverviewModeDelegate* delegate) { | 308 WindowOverviewModeDelegate* delegate) { |
| 308 return scoped_ptr<WindowOverviewMode>( | 309 return scoped_ptr<WindowOverviewMode>( |
| 309 new WindowOverviewModeImpl(window, delegate)); | 310 new WindowOverviewModeImpl(container, delegate)); |
| 310 } | 311 } |
| 311 | 312 |
| 312 } // namespace athena | 313 } // namespace athena |
| OLD | NEW |