Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / ui / cocoa / autofill / autofill_dialog_cocoa.mm
index 89d3d9f..f6ab006 100644 (file)
@@ -22,8 +22,8 @@ AutofillDialogView* AutofillDialogView::Create(
 }
 
 AutofillDialogCocoa::AutofillDialogCocoa(AutofillDialogViewDelegate* delegate)
-    : close_weak_ptr_factory_(this),
-      delegate_(delegate) {
+    : delegate_(delegate),
+      close_weak_ptr_factory_(this) {
 }
 
 AutofillDialogCocoa::~AutofillDialogCocoa() {
@@ -108,18 +108,13 @@ base::string16 AutofillDialogCocoa::GetCvc() {
   return base::SysNSStringToUTF16([sheet_delegate_ getCvc]);
 }
 
-bool AutofillDialogCocoa::HitTestInput(ServerFieldType type,
-                                       const gfx::Point& screen_point) {
-  // TODO(dbeam): implement.
-  return false;
-}
-
 bool AutofillDialogCocoa::SaveDetailsLocally() {
   return [sheet_delegate_ saveDetailsLocally];
 }
 
-const content::NavigationController* AutofillDialogCocoa::ShowSignIn() {
-  return [sheet_delegate_ showSignIn];
+const content::NavigationController* AutofillDialogCocoa::ShowSignIn(
+    const GURL& url) {
+  return [sheet_delegate_ showSignIn:url];
 }
 
 void AutofillDialogCocoa::HideSignIn() {