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

Side by Side Diff: chrome/renderer/autofill/autofill_agent.cc

Issue 6864001: Move RenderProcess to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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
« no previous file with comments | « chrome/renderer/DEPS ('k') | chrome/renderer/chrome_content_renderer_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "chrome/renderer/autofill/autofill_agent.h" 5 #include "chrome/renderer/autofill/autofill_agent.h"
6 6
7 #include "base/message_loop.h"
7 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
8 #include "chrome/common/autofill_messages.h" 9 #include "chrome/common/autofill_messages.h"
9 #include "chrome/common/chrome_constants.h" 10 #include "chrome/common/chrome_constants.h"
10 #include "chrome/renderer/autofill/password_autofill_manager.h" 11 #include "chrome/renderer/autofill/password_autofill_manager.h"
11 #include "content/renderer/render_view.h" 12 #include "content/renderer/render_view.h"
12 #include "grit/generated_resources.h" 13 #include "grit/generated_resources.h"
13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h"
14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFormControlElement .h" 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFormControlElement .h"
15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h"
16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputElement.h" 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputElement.h"
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 // WebFormControlElementToFormField does not scrape the DOM for the field 395 // WebFormControlElementToFormField does not scrape the DOM for the field
395 // label, so find the label here. 396 // label, so find the label here.
396 // TODO(jhawkins): Add form and field identities so we can use the cached form 397 // TODO(jhawkins): Add form and field identities so we can use the cached form
397 // data in FormManager. 398 // data in FormManager.
398 field->label = FormManager::LabelForElement(element); 399 field->label = FormManager::LabelForElement(element);
399 400
400 return true; 401 return true;
401 } 402 }
402 403
403 } // namespace autofill 404 } // namespace autofill
OLDNEW
« no previous file with comments | « chrome/renderer/DEPS ('k') | chrome/renderer/chrome_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698