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

Side by Side Diff: content/public/renderer/password_form_dom_manager.h

Issue 11000016: Move forms/ out of webkit/. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Mostly cosmetic fixup Created 8 years, 2 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
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
jam 2012/10/02 16:18:14 looks like svn history is lost?
blundell 2012/10/03 15:06:07 Fixed. Note that the history of password_form_dom_
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_PUBLIC_RENDERER_PASSWORD_FORM_DOM_MANAGER_H_
6 #define CONTENT_PUBLIC_RENDERER_PASSWORD_FORM_DOM_MANAGER_H_
7
8 #include <map>
9
10 #include "base/memory/scoped_ptr.h"
11 #include "content/common/content_export.h"
12 #include "content/public/common/password_form.h"
13 #include "content/public/common/password_form_fill_data.h"
14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPasswordFormData.h "
jam 2012/10/02 16:18:14 please forward declare as much as possible
blundell 2012/10/03 15:06:07 Done.
15
16 namespace content {
17
18 class PasswordFormDomManager {
19 public:
20 // Create a PasswordForm from DOM form. Webkit doesn't allow storing
21 // custom metadata to DOM nodes, so we have to do this every time an event
22 // happens with a given form and compare against previously Create'd forms
23 // to identify..which sucks.
24 CONTENT_EXPORT static scoped_ptr<PasswordForm> CreatePasswordForm(
25 const WebKit::WebFormElement& form);
jam 2012/10/02 16:18:14 the content api, like the webkit api, doesn't use
blundell 2012/10/03 15:06:07 Done. Also gave the file what seems like a more ap
26
27 private:
28 DISALLOW_IMPLICIT_CONSTRUCTORS(PasswordFormDomManager);
29 };
30
31 } // namespace content
32
33 #endif // CONTENT_PUBLIC_RENDERER_PASSWORD_FORM_DOM_MANAGER_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698