| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef ASH_WM_TOPLEVEL_WINDOW_EVENT_HANDLER_H_ | 5 #ifndef ASH_WM_TOPLEVEL_WINDOW_EVENT_HANDLER_H_ |
| 6 #define ASH_WM_TOPLEVEL_WINDOW_EVENT_HANDLER_H_ | 6 #define ASH_WM_TOPLEVEL_WINDOW_EVENT_HANDLER_H_ |
| 7 | 7 |
| 8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 #include "ash/wm/wm_toplevel_window_event_handler.h" | 9 #include "ash/wm/wm_toplevel_window_event_handler.h" |
| 10 #include "ash/wm/wm_types.h" | 10 #include "ash/wm/wm_types.h" |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 | 46 |
| 47 private: | 47 private: |
| 48 // Callback from WmToplevelWindowEventHandler once the drag completes. | 48 // Callback from WmToplevelWindowEventHandler once the drag completes. |
| 49 void OnDragCompleted( | 49 void OnDragCompleted( |
| 50 wm::WmToplevelWindowEventHandler::DragResult* result_return_value, | 50 wm::WmToplevelWindowEventHandler::DragResult* result_return_value, |
| 51 base::RunLoop* run_loop, | 51 base::RunLoop* run_loop, |
| 52 wm::WmToplevelWindowEventHandler::DragResult result); | 52 wm::WmToplevelWindowEventHandler::DragResult result); |
| 53 | 53 |
| 54 wm::WmToplevelWindowEventHandler wm_toplevel_window_event_handler_; | 54 wm::WmToplevelWindowEventHandler wm_toplevel_window_event_handler_; |
| 55 | 55 |
| 56 // Are we running a nested message loop from RunMoveLoop(). | 56 // Are we running a nested run loop from RunMoveLoop(). |
| 57 bool in_move_loop_ = false; | 57 bool in_move_loop_ = false; |
| 58 | 58 |
| 59 base::WeakPtrFactory<ToplevelWindowEventHandler> weak_factory_; | 59 base::WeakPtrFactory<ToplevelWindowEventHandler> weak_factory_; |
| 60 | 60 |
| 61 DISALLOW_COPY_AND_ASSIGN(ToplevelWindowEventHandler); | 61 DISALLOW_COPY_AND_ASSIGN(ToplevelWindowEventHandler); |
| 62 }; | 62 }; |
| 63 | 63 |
| 64 } // namespace ash | 64 } // namespace ash |
| 65 | 65 |
| 66 #endif // ASH_WM_TOPLEVEL_WINDOW_EVENT_HANDLER_H_ | 66 #endif // ASH_WM_TOPLEVEL_WINDOW_EVENT_HANDLER_H_ |
| OLD | NEW |