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

Unified Diff: chrome/browser/autofill/autofill_external_delegate.h

Issue 10825324: Start of New Autofill UI for Windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/autofill/autofill_external_delegate.h
diff --git a/chrome/browser/autofill/autofill_external_delegate.h b/chrome/browser/autofill/autofill_external_delegate.h
index 10f467ef367b346e506a3e7ecb33c5ab1f36dfa4..3d0de26a21a0b57bc80fe8b4d28ce0e4fc1a7093 100644
--- a/chrome/browser/autofill/autofill_external_delegate.h
+++ b/chrome/browser/autofill/autofill_external_delegate.h
@@ -17,6 +17,10 @@
class AutofillManager;
+namespace content {
+class WebContents;
+}
+
namespace gfx {
class Rect;
}
@@ -133,6 +137,9 @@ class AutofillExternalDelegate {
// Return the profile that this autofill delegate is currently working with.
Profile* profile() { return tab_contents_->profile(); }
+ // Return the web_contents assoicated with this delegate.
+ content::WebContents* web_contents() { return tab_contents_->web_contents(); }
+
private:
// Fills the form with the Autofill data corresponding to |unique_id|.
// If |is_preview| is true then this is just a preview to show the user what

Powered by Google App Engine
This is Rietveld 408576698