Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(493)

Side by Side Diff: components/autofill/renderer/page_click_tracker.cc

Issue 12434004: Move remaining Autofill code to //components/autofill. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix long lines Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 "chrome/renderer/page_click_tracker.h" 5 #include "components/autofill/renderer/page_click_tracker.h"
6 6
7 #include "chrome/renderer/autofill/form_autofill_util.h" 7 #include "components/autofill/renderer/form_autofill_util.h"
8 #include "chrome/renderer/page_click_listener.h" 8 #include "components/autofill/renderer/page_click_listener.h"
9 #include "content/public/renderer/render_view.h" 9 #include "content/public/renderer/render_view.h"
10 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h" 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h"
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDOMMouseEvent.h"
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" 12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h"
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDOMMouseEvent.h"
13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h"
14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputElement.h" 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputElement.h"
15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h"
16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h"
17 17
18 using WebKit::WebDOMEvent; 18 using WebKit::WebDOMEvent;
19 using WebKit::WebDOMMouseEvent; 19 using WebKit::WebDOMMouseEvent;
20 using WebKit::WebElement; 20 using WebKit::WebElement;
21 using WebKit::WebFormControlElement; 21 using WebKit::WebFormControlElement;
22 using WebKit::WebFrame; 22 using WebKit::WebFrame;
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 if (!DidSelectedTextFieldLoseFocus(newly_clicked_node)) 151 if (!DidSelectedTextFieldLoseFocus(newly_clicked_node))
152 return; 152 return;
153 153
154 ObserverListBase<PageClickListener>::Iterator it(listeners_); 154 ObserverListBase<PageClickListener>::Iterator it(listeners_);
155 PageClickListener* listener; 155 PageClickListener* listener;
156 while ((listener = it.GetNext()) != NULL) { 156 while ((listener = it.GetNext()) != NULL) {
157 if (listener->InputElementLostFocus()) 157 if (listener->InputElementLostFocus())
158 break; 158 break;
159 } 159 }
160 } 160 }
OLDNEW
« no previous file with comments | « components/autofill/renderer/page_click_tracker.h ('k') | components/autofill/renderer/password_autofill_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698