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 #include "content/browser/renderer_host/render_widget_host_view_aura.h" | 5 #include "content/browser/renderer_host/render_widget_host_view_aura.h" |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/auto_reset.h" | 10 #include "base/auto_reset.h" |
11 #include "base/bind.h" | 11 #include "base/bind.h" |
12 #include "base/callback_helpers.h" | 12 #include "base/callback_helpers.h" |
13 #include "base/command_line.h" | 13 #include "base/command_line.h" |
14 #include "base/logging.h" | 14 #include "base/logging.h" |
15 #include "base/macros.h" | 15 #include "base/macros.h" |
| 16 #include "base/memory/ptr_util.h" |
16 #include "base/message_loop/message_loop.h" | 17 #include "base/message_loop/message_loop.h" |
17 #include "base/strings/string_number_conversions.h" | 18 #include "base/strings/string_number_conversions.h" |
18 #include "base/trace_event/trace_event.h" | 19 #include "base/trace_event/trace_event.h" |
19 #include "build/build_config.h" | 20 #include "build/build_config.h" |
20 #include "cc/layers/layer.h" | 21 #include "cc/layers/layer.h" |
21 #include "cc/output/copy_output_request.h" | 22 #include "cc/output/copy_output_request.h" |
22 #include "cc/output/copy_output_result.h" | 23 #include "cc/output/copy_output_result.h" |
23 #include "cc/resources/texture_mailbox.h" | 24 #include "cc/resources/texture_mailbox.h" |
24 #include "cc/trees/layer_tree_settings.h" | 25 #include "cc/trees/layer_tree_settings.h" |
25 #include "components/display_compositor/gl_helper.h" | 26 #include "components/display_compositor/gl_helper.h" |
(...skipping 2356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2382 | 2383 |
2383 void RenderWidgetHostViewAura::SetPopupChild( | 2384 void RenderWidgetHostViewAura::SetPopupChild( |
2384 RenderWidgetHostViewAura* popup_child_host_view) { | 2385 RenderWidgetHostViewAura* popup_child_host_view) { |
2385 popup_child_host_view_ = popup_child_host_view; | 2386 popup_child_host_view_ = popup_child_host_view; |
2386 event_handler_->SetPopupChild( | 2387 event_handler_->SetPopupChild( |
2387 popup_child_host_view, | 2388 popup_child_host_view, |
2388 popup_child_host_view ? popup_child_host_view->event_handler() : nullptr); | 2389 popup_child_host_view ? popup_child_host_view->event_handler() : nullptr); |
2389 } | 2390 } |
2390 | 2391 |
2391 } // namespace content | 2392 } // namespace content |
OLD | NEW |