summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autofill/autofill_manager_delegate.h
diff options
context:
space:
mode:
authorblundell@chromium.org <blundell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-05 01:29:14 +0000
committerblundell@chromium.org <blundell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-05 01:29:14 +0000
commit1ecbe866c38fb6c781d337393b7ff62d0c662f4e (patch)
tree37ddf68241e68df9035f2c612388369f1539fe4d /chrome/browser/autofill/autofill_manager_delegate.h
parent456cface8888f0e39742243f25295d55c8922744 (diff)
downloadchromium_src-1ecbe866c38fb6c781d337393b7ff62d0c662f4e.zip
chromium_src-1ecbe866c38fb6c781d337393b7ff62d0c662f4e.tar.gz
chromium_src-1ecbe866c38fb6c781d337393b7ff62d0c662f4e.tar.bz2
Move forms/ out of webkit/.
The motivation for this CL is to move PasswordForm and friends (which are totally unrelated to WebKit) out of webkit/ and into a target that platforms that do not use WebKit (such as iOS) can logically depend on. As such, this CL does three things: 1. Separates the WebKit-related code in webkit/forms from the non-WebKit-related code. Concretely, this means having the WebKit::WebFormElement->PasswordForm conversion function in its own file. 2. Moves the core, non-WebKit-related forms code to chrome/common and content/public/common depending on where its usage points are. 3. Moves the above-mentioned conversion function to content/public/renderer. It cannot stay in webkit/ as it (now) has a dependency on content/, and as it is used only in chrome/renderer and content/renderer, this is a good place for it. The rest of this CL is churn due to namespace, file location, and GYP target changes. BUG= Review URL: https://chromiumcodereview.appspot.com/11000016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160280 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autofill/autofill_manager_delegate.h')
-rw-r--r--chrome/browser/autofill/autofill_manager_delegate.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/chrome/browser/autofill/autofill_manager_delegate.h b/chrome/browser/autofill/autofill_manager_delegate.h
index dda8bfe..4e23556 100644
--- a/chrome/browser/autofill/autofill_manager_delegate.h
+++ b/chrome/browser/autofill/autofill_manager_delegate.h
@@ -11,18 +11,13 @@ class PasswordGenerator;
namespace content {
class BrowserContext;
+struct PasswordForm;
}
namespace gfx {
class Rect;
}
-namespace webkit {
-namespace forms {
-struct PasswordForm;
-}
-}
-
class InfoBarService;
class PrefServiceBase;
class Profile;
@@ -73,7 +68,7 @@ class AutofillManagerDelegate {
// specified form with the given bounds.
virtual void ShowPasswordGenerationBubble(
const gfx::Rect& bounds,
- const webkit::forms::PasswordForm& form,
+ const content::PasswordForm& form,
autofill::PasswordGenerator* generator) = 0;
};