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" |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 #include "content/common/text_input_state.h" | 49 #include "content/common/text_input_state.h" |
50 #include "content/common/view_messages.h" | 50 #include "content/common/view_messages.h" |
51 #include "content/public/browser/content_browser_client.h" | 51 #include "content/public/browser/content_browser_client.h" |
52 #include "content/public/browser/overscroll_configuration.h" | 52 #include "content/public/browser/overscroll_configuration.h" |
53 #include "content/public/browser/render_view_host.h" | 53 #include "content/public/browser/render_view_host.h" |
54 #include "content/public/browser/render_widget_host_view_frame_subscriber.h" | 54 #include "content/public/browser/render_widget_host_view_frame_subscriber.h" |
55 #include "content/public/browser/user_metrics.h" | 55 #include "content/public/browser/user_metrics.h" |
56 #include "content/public/common/child_process_host.h" | 56 #include "content/public/common/child_process_host.h" |
57 #include "content/public/common/content_switches.h" | 57 #include "content/public/common/content_switches.h" |
58 #include "gpu/ipc/common/gpu_messages.h" | 58 #include "gpu/ipc/common/gpu_messages.h" |
| 59 #include "third_party/WebKit/public/platform/WebInputEvent.h" |
59 #include "third_party/WebKit/public/web/WebCompositionUnderline.h" | 60 #include "third_party/WebKit/public/web/WebCompositionUnderline.h" |
60 #include "third_party/WebKit/public/web/WebInputEvent.h" | |
61 #include "ui/aura/client/aura_constants.h" | 61 #include "ui/aura/client/aura_constants.h" |
62 #include "ui/aura/client/cursor_client.h" | 62 #include "ui/aura/client/cursor_client.h" |
63 #include "ui/aura/client/cursor_client_observer.h" | 63 #include "ui/aura/client/cursor_client_observer.h" |
64 #include "ui/aura/client/focus_client.h" | 64 #include "ui/aura/client/focus_client.h" |
65 #include "ui/aura/client/screen_position_client.h" | 65 #include "ui/aura/client/screen_position_client.h" |
66 #include "ui/aura/client/transient_window_client.h" | 66 #include "ui/aura/client/transient_window_client.h" |
67 #include "ui/aura/client/window_parenting_client.h" | 67 #include "ui/aura/client/window_parenting_client.h" |
68 #include "ui/aura/env.h" | 68 #include "ui/aura/env.h" |
69 #include "ui/aura/window.h" | 69 #include "ui/aura/window.h" |
70 #include "ui/aura/window_event_dispatcher.h" | 70 #include "ui/aura/window_event_dispatcher.h" |
(...skipping 2316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2387 | 2387 |
2388 void RenderWidgetHostViewAura::SetPopupChild( | 2388 void RenderWidgetHostViewAura::SetPopupChild( |
2389 RenderWidgetHostViewAura* popup_child_host_view) { | 2389 RenderWidgetHostViewAura* popup_child_host_view) { |
2390 popup_child_host_view_ = popup_child_host_view; | 2390 popup_child_host_view_ = popup_child_host_view; |
2391 event_handler_->SetPopupChild( | 2391 event_handler_->SetPopupChild( |
2392 popup_child_host_view, | 2392 popup_child_host_view, |
2393 popup_child_host_view ? popup_child_host_view->event_handler() : nullptr); | 2393 popup_child_host_view ? popup_child_host_view->event_handler() : nullptr); |
2394 } | 2394 } |
2395 | 2395 |
2396 } // namespace content | 2396 } // namespace content |
OLD | NEW |