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

Unified Diff: chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.h

Issue 1931043002: Remove requestAutocomplete (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 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/ui/cocoa/autofill/autofill_dialog_cocoa.h
diff --git a/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.h b/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.h
deleted file mode 100644
index 1a0f21ba28a26564625ff9ed769afa3785e9d628..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.h
+++ /dev/null
@@ -1,82 +0,0 @@
-// Copyright (c) 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DIALOG_COCOA_H_
-#define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DIALOG_COCOA_H_
-
-#include <memory>
-
-#include "base/mac/scoped_nsobject.h"
-#include "base/memory/weak_ptr.h"
-#include "chrome/browser/ui/autofill/autofill_dialog_types.h"
-#include "chrome/browser/ui/autofill/autofill_dialog_view.h"
-#include "chrome/browser/ui/cocoa/constrained_window/constrained_window_mac.h"
-#include "ui/gfx/geometry/size.h"
-
-namespace content {
-class NavigationController;
-}
-
-namespace autofill {
-class AutofillDialogViewDelegate;
-class AutofillDialogViewTesterCocoa;
-}
-
-@class AutofillDialogWindowController;
-
-namespace autofill {
-
-class AutofillDialogCocoa : public AutofillDialogView,
- public ConstrainedWindowMacDelegate {
- public:
- explicit AutofillDialogCocoa(AutofillDialogViewDelegate* delegate);
- ~AutofillDialogCocoa() override;
-
- // AutofillDialogView implementation:
- void Show() override;
- void Hide() override;
- void UpdatesStarted() override;
- void UpdatesFinished() override;
- void UpdateButtonStrip() override;
- void UpdateDetailArea() override;
- void UpdateForErrors() override;
- void UpdateNotificationArea() override;
- void UpdateSection(DialogSection section) override;
- void UpdateErrorBubble() override;
- void FillSection(DialogSection section,
- ServerFieldType originating_type) override;
- void GetUserInput(DialogSection section, FieldValueMap* output) override;
- base::string16 GetCvc() override;
- bool SaveDetailsLocally() override;
- void ModelChanged() override;
- void ValidateSection(DialogSection section) override;
-
- // ConstrainedWindowMacDelegate implementation:
- void OnConstrainedWindowClosed(ConstrainedWindowMac* window) override;
-
- AutofillDialogViewDelegate* delegate() { return delegate_; }
-
- // Posts a close request on the current message loop.
- void PerformClose();
-
- private:
- friend class AutofillDialogViewTesterCocoa;
-
- // Closes the sheet and ends the modal loop. Triggers cleanup sequence.
- void CloseNow();
-
- std::unique_ptr<ConstrainedWindowMac> constrained_window_;
- base::scoped_nsobject<AutofillDialogWindowController> sheet_delegate_;
-
- // The delegate |this| queries for logic and state.
- AutofillDialogViewDelegate* delegate_;
-
- // WeakPtrFactory for deferred close.
- base::WeakPtrFactory<AutofillDialogCocoa> close_weak_ptr_factory_;
-
-};
-
-} // autofill
-
-#endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DIALOG_COCOA_H_

Powered by Google App Engine
This is Rietveld 408576698