| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CHROME_RENDERER_PAGE_CLICK_TRACKER_H_ | 5 #ifndef COMPONENTS_AUTOFILL_RENDERER_PAGE_CLICK_TRACKER_H_ |
| 6 #define CHROME_RENDERER_PAGE_CLICK_TRACKER_H_ | 6 #define COMPONENTS_AUTOFILL_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 "base/observer_list.h" | 11 #include "base/observer_list.h" |
| 12 #include "content/public/renderer/render_view_observer.h" | 12 #include "content/public/renderer/render_view_observer.h" |
| 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDOMEventListener.h
" | 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDOMEventListener.h
" |
| 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNode.h" | 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNode.h" |
| 15 | 15 |
| 16 class PageClickListener; | 16 class PageClickListener; |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 // The frames we are listening to for mouse events. | 64 // The frames we are listening to for mouse events. |
| 65 typedef std::vector<WebKit::WebFrame*> FrameList; | 65 typedef std::vector<WebKit::WebFrame*> FrameList; |
| 66 FrameList tracked_frames_; | 66 FrameList tracked_frames_; |
| 67 | 67 |
| 68 // The listener getting the actual notifications. | 68 // The listener getting the actual notifications. |
| 69 ObserverList<PageClickListener> listeners_; | 69 ObserverList<PageClickListener> listeners_; |
| 70 | 70 |
| 71 DISALLOW_COPY_AND_ASSIGN(PageClickTracker); | 71 DISALLOW_COPY_AND_ASSIGN(PageClickTracker); |
| 72 }; | 72 }; |
| 73 | 73 |
| 74 #endif // CHROME_RENDERER_PAGE_CLICK_TRACKER_H_ | 74 #endif // COMPONENTS_AUTOFILL_RENDERER_PAGE_CLICK_TRACKER_H_ |
| OLD | NEW |