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 #ifndef COMPONENTS_AUTOFILL_CONTENT_RENDERER_PAGE_CLICK_TRACKER_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CONTENT_RENDERER_PAGE_CLICK_TRACKER_H_ |
6 #define COMPONENTS_AUTOFILL_CONTENT_RENDERER_PAGE_CLICK_TRACKER_H_ | 6 #define COMPONENTS_AUTOFILL_CONTENT_RENDERER_PAGE_CLICK_TRACKER_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "components/autofill/content/renderer/page_click_listener.h" |
11 #include "content/public/renderer/render_view_observer.h" | 12 #include "content/public/renderer/render_view_observer.h" |
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDOMEventListener.h
" | 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDOMEventListener.h
" |
13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNode.h" | 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNode.h" |
14 | 15 |
15 namespace autofill { | 16 namespace autofill { |
16 | 17 |
17 class PageClickListener; | 18 class PageClickListener; |
18 | 19 |
19 // This class is responsible for tracking clicks on elements in web pages and | 20 // This class is responsible for tracking clicks on elements in web pages and |
20 // notifiying the associated listener when a node is clicked. | 21 // notifiying the associated listener when a node is clicked. |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 | 63 |
63 // The listener getting the actual notifications. | 64 // The listener getting the actual notifications. |
64 PageClickListener* listener_; | 65 PageClickListener* listener_; |
65 | 66 |
66 DISALLOW_COPY_AND_ASSIGN(PageClickTracker); | 67 DISALLOW_COPY_AND_ASSIGN(PageClickTracker); |
67 }; | 68 }; |
68 | 69 |
69 } // namespace autofill | 70 } // namespace autofill |
70 | 71 |
71 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_PAGE_CLICK_TRACKER_H_ | 72 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_PAGE_CLICK_TRACKER_H_ |
OLD | NEW |