OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 "components/autofill/content/renderer/page_click_tracker.h" | 5 #include "components/autofill/content/renderer/page_click_tracker.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "components/autofill/content/renderer/form_autofill_util.h" | 8 #include "components/autofill/content/renderer/form_autofill_util.h" |
9 #include "components/autofill/content/renderer/page_click_listener.h" | 9 #include "components/autofill/content/renderer/page_click_listener.h" |
10 #include "components/autofill/core/common/autofill_util.h" | 10 #include "components/autofill/core/common/autofill_util.h" |
11 #include "content/public/renderer/render_frame.h" | 11 #include "content/public/renderer/render_frame.h" |
12 #include "content/public/renderer/render_view.h" | 12 #include "content/public/renderer/render_view.h" |
| 13 #include "third_party/WebKit/public/platform/WebInputEvent.h" |
13 #include "third_party/WebKit/public/platform/WebPoint.h" | 14 #include "third_party/WebKit/public/platform/WebPoint.h" |
14 #include "third_party/WebKit/public/platform/WebSize.h" | 15 #include "third_party/WebKit/public/platform/WebSize.h" |
15 #include "third_party/WebKit/public/web/WebDocument.h" | 16 #include "third_party/WebKit/public/web/WebDocument.h" |
16 #include "third_party/WebKit/public/web/WebFormControlElement.h" | 17 #include "third_party/WebKit/public/web/WebFormControlElement.h" |
17 #include "third_party/WebKit/public/web/WebHitTestResult.h" | 18 #include "third_party/WebKit/public/web/WebHitTestResult.h" |
18 #include "third_party/WebKit/public/web/WebInputElement.h" | 19 #include "third_party/WebKit/public/web/WebInputElement.h" |
19 #include "third_party/WebKit/public/web/WebInputEvent.h" | |
20 #include "third_party/WebKit/public/web/WebLocalFrame.h" | 20 #include "third_party/WebKit/public/web/WebLocalFrame.h" |
21 #include "third_party/WebKit/public/web/WebUserGestureIndicator.h" | 21 #include "third_party/WebKit/public/web/WebUserGestureIndicator.h" |
22 #include "third_party/WebKit/public/web/WebView.h" | 22 #include "third_party/WebKit/public/web/WebView.h" |
23 | 23 |
24 using blink::WebElement; | 24 using blink::WebElement; |
25 using blink::WebFormControlElement; | 25 using blink::WebFormControlElement; |
26 using blink::WebGestureEvent; | 26 using blink::WebGestureEvent; |
27 using blink::WebInputElement; | 27 using blink::WebInputElement; |
28 using blink::WebInputEvent; | 28 using blink::WebInputEvent; |
29 using blink::WebMouseEvent; | 29 using blink::WebMouseEvent; |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 | 120 |
121 void PageClickTracker::Legacy::OnMouseDown(const WebNode& mouse_down_node) { | 121 void PageClickTracker::Legacy::OnMouseDown(const WebNode& mouse_down_node) { |
122 tracker_->OnMouseDown(mouse_down_node); | 122 tracker_->OnMouseDown(mouse_down_node); |
123 } | 123 } |
124 | 124 |
125 void PageClickTracker::Legacy::FocusChangeComplete() { | 125 void PageClickTracker::Legacy::FocusChangeComplete() { |
126 tracker_->FocusChangeComplete(); | 126 tracker_->FocusChangeComplete(); |
127 } | 127 } |
128 | 128 |
129 } // namespace autofill | 129 } // namespace autofill |
OLD | NEW |