| OLD | NEW | 
|    1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |    1 // Copyright (c) 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 "ash/display/mirror_window_controller.h" |    5 #include "ash/display/mirror_window_controller.h" | 
|    6  |    6  | 
|    7 #include <utility> |    7 #include <utility> | 
|    8  |    8  | 
|    9 #if defined(USE_X11) |    9 #if defined(USE_X11) | 
|   10 #include <X11/extensions/XInput2.h> |   10 #include <X11/extensions/XInput2.h> | 
| (...skipping 14 matching lines...) Expand all  Loading... | 
|   25 #include "ash/shell.h" |   25 #include "ash/shell.h" | 
|   26 #include "base/strings/stringprintf.h" |   26 #include "base/strings/stringprintf.h" | 
|   27 #include "base/threading/thread_task_runner_handle.h" |   27 #include "base/threading/thread_task_runner_handle.h" | 
|   28 #include "ui/aura/client/capture_client.h" |   28 #include "ui/aura/client/capture_client.h" | 
|   29 #include "ui/aura/env.h" |   29 #include "ui/aura/env.h" | 
|   30 #include "ui/aura/window_delegate.h" |   30 #include "ui/aura/window_delegate.h" | 
|   31 #include "ui/aura/window_event_dispatcher.h" |   31 #include "ui/aura/window_event_dispatcher.h" | 
|   32 #include "ui/aura/window_tree_host.h" |   32 #include "ui/aura/window_tree_host.h" | 
|   33 #include "ui/base/layout.h" |   33 #include "ui/base/layout.h" | 
|   34 #include "ui/compositor/reflector.h" |   34 #include "ui/compositor/reflector.h" | 
|   35 #include "ui/display/manager/display_layout.h" |   35 #include "ui/display/display_layout.h" | 
|   36 #include "ui/display/manager/display_manager.h" |   36 #include "ui/display/manager/display_manager.h" | 
|   37 #include "ui/display/manager/managed_display_info.h" |   37 #include "ui/display/manager/managed_display_info.h" | 
|   38 #include "ui/display/screen.h" |   38 #include "ui/display/screen.h" | 
|   39 #include "ui/gfx/canvas.h" |   39 #include "ui/gfx/canvas.h" | 
|   40 #include "ui/gfx/native_widget_types.h" |   40 #include "ui/gfx/native_widget_types.h" | 
|   41  |   41  | 
|   42 #if defined(USE_X11) |   42 #if defined(USE_X11) | 
|   43 #include "ui/aura/window_tree_host_x11.h" |   43 #include "ui/aura/window_tree_host_x11.h" | 
|   44 #include "ui/gfx/x/x11_types.h"  // nogncheck |   44 #include "ui/gfx/x/x11_types.h"  // nogncheck | 
|   45 #endif |   45 #endif | 
| (...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  371   // EventProcessor may be accessed after this call if the mirroring window |  371   // EventProcessor may be accessed after this call if the mirroring window | 
|  372   // was deleted as a result of input event (e.g. shortcut), so don't delete |  372   // was deleted as a result of input event (e.g. shortcut), so don't delete | 
|  373   // now. |  373   // now. | 
|  374   if (delay_host_deletion) |  374   if (delay_host_deletion) | 
|  375     base::ThreadTaskRunnerHandle::Get()->DeleteSoon(FROM_HERE, host_info); |  375     base::ThreadTaskRunnerHandle::Get()->DeleteSoon(FROM_HERE, host_info); | 
|  376   else |  376   else | 
|  377     delete host_info; |  377     delete host_info; | 
|  378 } |  378 } | 
|  379  |  379  | 
|  380 }  // namespace ash |  380 }  // namespace ash | 
| OLD | NEW |